use of com.redhat.service.smartevents.infra.models.bridges.BridgeDefinition in project sandbox by 5733d9e2be6485d52ffa08870cabdee0.
the class BridgeDAOTest method buildBridge.
private Bridge buildBridge(String id, String name) {
Bridge bridge = new Bridge();
bridge.setId(id);
bridge.setCustomerId(DEFAULT_CUSTOMER_ID);
bridge.setOrganisationId(TestConstants.DEFAULT_ORGANISATION_ID);
bridge.setOwner(TestConstants.DEFAULT_USER_NAME);
bridge.setName(name);
bridge.setStatus(ACCEPTED);
bridge.setSubmittedAt(ZonedDateTime.now());
bridge.setShardId(TestConstants.SHARD_ID);
bridge.setDefinition(new BridgeDefinition());
return bridge;
}
Aggregations