public class EventBrokerRESTServices extends Object
| Constructor and Description |
|---|
EventBrokerRESTServices()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
GUIDResponse |
createEventType(String serverName,
String userId,
String eventBrokerGUID,
String eventBrokerName,
String topicGUID,
EventTypeProperties eventTypeProperties)
Create a new metadata element to represent a event type.
|
GUIDResponse |
createEventTypeFromTemplate(String serverName,
String userId,
String eventBrokerGUID,
String eventBrokerName,
String templateGUID,
String topicGUID,
TemplateProperties templateProperties)
Create a new metadata element to represent a event type using an existing metadata element as a template.
|
GUIDResponse |
createTopic(String serverName,
String userId,
String eventBrokerGUID,
String eventBrokerName,
TopicProperties topicProperties)
Create a new metadata element to represent a topic.
|
GUIDResponse |
createTopicFromTemplate(String serverName,
String userId,
String eventBrokerGUID,
String eventBrokerName,
String templateGUID,
TemplateProperties templateProperties)
Create a new metadata element to represent a topic using an existing metadata element as a template.
|
EventTypesResponse |
findEventTypes(String serverName,
String userId,
String searchString,
int startFrom,
int pageSize)
Retrieve the list of event type metadata elements that contain the search string.
|
TopicsResponse |
findTopics(String serverName,
String userId,
String searchString,
int startFrom,
int pageSize)
Retrieve the list of topic metadata elements that contain the search string.
|
EventTypeResponse |
getEventTypeByGUID(String serverName,
String userId,
String guid)
Retrieve the event type metadata element with the supplied unique identifier.
|
EventTypesResponse |
getEventTypesByName(String serverName,
String userId,
String name,
int startFrom,
int pageSize)
Retrieve the list of event type metadata elements with a matching qualified or display name.
|
EventTypesResponse |
getEventTypesForEventSet(String serverName,
String userId,
String topicGUID,
int startFrom,
int pageSize)
Return the list of event types associated with a EventType Set.
|
EventTypesResponse |
getEventTypesForTopic(String serverName,
String userId,
String topicGUID,
int startFrom,
int pageSize)
Return the list of schemas associated with a topic.
|
TopicResponse |
getTopicByGUID(String serverName,
String userId,
String guid)
Retrieve the topic metadata element with the supplied unique identifier.
|
TopicsResponse |
getTopicsByName(String serverName,
String userId,
String name,
int startFrom,
int pageSize)
Retrieve the list of topic metadata elements with a matching qualified or display name.
|
TopicsResponse |
getTopicsForEventBroker(String serverName,
String userId,
String eventBrokerGUID,
String eventBrokerName,
int startFrom,
int pageSize)
Retrieve the list of topics created by this caller.
|
VoidResponse |
publishTopic(String serverName,
String userId,
String topicGUID,
NullRequestBody nullRequestBody)
Update the zones for the topic asset so that it becomes visible to consumers.
|
VoidResponse |
removeEventType(String serverName,
String userId,
String eventBrokerGUID,
String eventBrokerName,
String eventTypeGUID,
String qualifiedName,
NullRequestBody nullRequestBody)
Remove the metadata element representing a event type.
|
VoidResponse |
removeTopic(String serverName,
String userId,
String eventBrokerGUID,
String eventBrokerName,
String topicGUID,
String qualifiedName,
NullRequestBody nullRequestBody)
Remove the metadata element representing a topic.
|
VoidResponse |
updateEventType(String serverName,
String userId,
String eventBrokerGUID,
String eventBrokerName,
String eventTypeGUID,
boolean isMergeUpdate,
EventTypeProperties eventTypeProperties)
Update the metadata element representing a event type.
|
VoidResponse |
updateTopic(String serverName,
String userId,
String eventBrokerGUID,
String eventBrokerName,
String topicGUID,
boolean isMergeUpdate,
TopicProperties topicProperties)
Update the metadata element representing a topic.
|
VoidResponse |
withdrawTopic(String serverName,
String userId,
String topicGUID,
NullRequestBody nullRequestBody)
Update the zones for the topic asset so that it is no longer visible to consumers.
|
public GUIDResponse createTopic(String serverName, String userId, String eventBrokerGUID, String eventBrokerName, TopicProperties topicProperties)
serverName - name of the service to route the request to.userId - calling usereventBrokerGUID - unique identifier of software server capability representing the DBMSeventBrokerName - unique name of software server capability representing the DBMStopicProperties - properties to storepublic GUIDResponse createTopicFromTemplate(String serverName, String userId, String eventBrokerGUID, String eventBrokerName, String templateGUID, TemplateProperties templateProperties)
serverName - name of the service to route the request to.userId - calling usereventBrokerGUID - unique identifier of software server capability representing the DBMSeventBrokerName - unique name of software server capability representing the DBMStemplateGUID - unique identifier of the metadata element to copytemplateProperties - properties that override the templatepublic VoidResponse updateTopic(String serverName, String userId, String eventBrokerGUID, String eventBrokerName, String topicGUID, boolean isMergeUpdate, TopicProperties topicProperties)
serverName - name of the service to route the request to.userId - calling usereventBrokerGUID - unique identifier of software server capability representing the DBMSeventBrokerName - unique name of software server capability representing the DBMStopicGUID - unique identifier of the metadata element to updateisMergeUpdate - should the new properties be merged with the existing properties of overlay them?topicProperties - new properties for this elementpublic VoidResponse publishTopic(String serverName, String userId, String topicGUID, NullRequestBody nullRequestBody)
serverName - name of the service to route the request to.userId - calling usertopicGUID - unique identifier of the metadata element to publishnullRequestBody - empty request bodypublic VoidResponse withdrawTopic(String serverName, String userId, String topicGUID, NullRequestBody nullRequestBody)
serverName - name of the service to route the request to.userId - calling usertopicGUID - unique identifier of the metadata element to withdrawnullRequestBody - empty request bodypublic VoidResponse removeTopic(String serverName, String userId, String eventBrokerGUID, String eventBrokerName, String topicGUID, String qualifiedName, NullRequestBody nullRequestBody)
serverName - name of the service to route the request to.userId - calling usereventBrokerGUID - unique identifier of software server capability representing the DBMSeventBrokerName - unique name of software server capability representing the DBMStopicGUID - unique identifier of the metadata element to removequalifiedName - unique name of the metadata element to removenullRequestBody - empty request bodypublic TopicsResponse findTopics(String serverName, String userId, String searchString, int startFrom, int pageSize)
serverName - name of the service to route the request to.userId - calling usersearchString - string to find in the propertiesstartFrom - paging start pointpageSize - maximum results that can be returnedpublic TopicsResponse getTopicsByName(String serverName, String userId, String name, int startFrom, int pageSize)
serverName - name of the service to route the request to.userId - calling username - name to search forstartFrom - paging start pointpageSize - maximum results that can be returnedpublic TopicsResponse getTopicsForEventBroker(String serverName, String userId, String eventBrokerGUID, String eventBrokerName, int startFrom, int pageSize)
serverName - name of the service to route the request to.userId - calling usereventBrokerGUID - unique identifier of software server capability representing the DBMSeventBrokerName - unique name of software server capability representing the DBMSstartFrom - paging start pointpageSize - maximum results that can be returnedpublic TopicResponse getTopicByGUID(String serverName, String userId, String guid)
serverName - name of the service to route the request to.userId - calling userguid - unique identifier of the requested metadata elementpublic GUIDResponse createEventType(String serverName, String userId, String eventBrokerGUID, String eventBrokerName, String topicGUID, EventTypeProperties eventTypeProperties)
serverName - name of the service to route the request to.userId - calling usereventBrokerGUID - unique identifier of software server capability representing the DBMSeventBrokerName - unique name of software server capability representing the DBMStopicGUID - unique identifier of the topic where the schema is locatedeventTypeProperties - properties about the event typepublic GUIDResponse createEventTypeFromTemplate(String serverName, String userId, String eventBrokerGUID, String eventBrokerName, String templateGUID, String topicGUID, TemplateProperties templateProperties)
serverName - name of the service to route the request to.userId - calling usereventBrokerGUID - unique identifier of software server capability representing the DBMSeventBrokerName - unique name of software server capability representing the DBMStemplateGUID - unique identifier of the metadata element to copytopicGUID - unique identifier of the topic where the schema is locatedtemplateProperties - properties that override the templatepublic VoidResponse updateEventType(String serverName, String userId, String eventBrokerGUID, String eventBrokerName, String eventTypeGUID, boolean isMergeUpdate, EventTypeProperties eventTypeProperties)
serverName - name of the service to route the request to.userId - calling usereventBrokerGUID - unique identifier of software server capability representing the DBMSeventBrokerName - unique name of software server capability representing the DBMSeventTypeGUID - unique identifier of the metadata element to updateisMergeUpdate - are unspecified properties unchanged (true) or removed?eventTypeProperties - new properties for the metadata elementpublic VoidResponse removeEventType(String serverName, String userId, String eventBrokerGUID, String eventBrokerName, String eventTypeGUID, String qualifiedName, NullRequestBody nullRequestBody)
serverName - name of the service to route the request to.userId - calling usereventBrokerGUID - unique identifier of software server capability representing the DBMSeventBrokerName - unique name of software server capability representing the DBMSeventTypeGUID - unique identifier of the metadata element to removequalifiedName - unique name of the metadata element to removenullRequestBody - empty request bodypublic EventTypesResponse findEventTypes(String serverName, String userId, String searchString, int startFrom, int pageSize)
serverName - name of the service to route the request to.userId - calling usersearchString - string to find in the propertiesstartFrom - paging start pointpageSize - maximum results that can be returnedpublic EventTypesResponse getEventTypesForEventSet(String serverName, String userId, String topicGUID, int startFrom, int pageSize)
serverName - name of the service to route the request to.userId - calling usertopicGUID - unique identifier of the topic to querystartFrom - paging start pointpageSize - maximum results that can be returnedpublic EventTypesResponse getEventTypesForTopic(String serverName, String userId, String topicGUID, int startFrom, int pageSize)
serverName - name of the service to route the request to.userId - calling usertopicGUID - unique identifier of the topic to querystartFrom - paging start pointpageSize - maximum results that can be returnedpublic EventTypesResponse getEventTypesByName(String serverName, String userId, String name, int startFrom, int pageSize)
serverName - name of the service to route the request to.userId - calling username - name to search forstartFrom - paging start pointpageSize - maximum results that can be returnedpublic EventTypeResponse getEventTypeByGUID(String serverName, String userId, String guid)
serverName - name of the service to route the request to.userId - calling userguid - unique identifier of the requested metadata elementCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.