Interface MicroserviceRepository
- All Known Implementing Classes:
CurrentMicroserviceRepository
,LegacyMicroserviceRepository
public interface MicroserviceRepository
-
Method Summary
Modifier and TypeMethodDescriptioncom.cumulocity.rest.representation.application.ApplicationRepresentation
Iterable<com.cumulocity.rest.representation.application.ApplicationUserRepresentation>
Iterable<com.cumulocity.rest.representation.application.ApplicationUserRepresentation>
getSubscriptions
(String applicationId) Deprecated.com.cumulocity.rest.representation.application.ApplicationRepresentation
register
(MicroserviceMetadataRepresentation metadata) com.cumulocity.rest.representation.application.ApplicationRepresentation
register
(String applicationName, MicroserviceMetadataRepresentation metadata) Deprecated.
-
Method Details
-
register
com.cumulocity.rest.representation.application.ApplicationRepresentation register(MicroserviceMetadataRepresentation metadata) -
register
@Deprecated com.cumulocity.rest.representation.application.ApplicationRepresentation register(String applicationName, MicroserviceMetadataRepresentation metadata) Deprecated.Method is Deprecated and will be removed in the future Useregister(MicroserviceMetadataRepresentation)
method instead.- Parameters:
applicationName
- application namemetadata
- microservice metadata- Returns:
- application representation
-
getCurrentApplication
com.cumulocity.rest.representation.application.ApplicationRepresentation getCurrentApplication() -
getSubscriptions
Iterable<com.cumulocity.rest.representation.application.ApplicationUserRepresentation> getSubscriptions() -
getSubscriptions
@Deprecated Iterable<com.cumulocity.rest.representation.application.ApplicationUserRepresentation> getSubscriptions(String applicationId) Deprecated.Method is Deprecated and will be removed in the future. UsegetSubscriptions()
method instead.- Parameters:
applicationId
- application identifier- Returns:
- collection of application users
-