Interface MicroserviceRepository
-
- All Known Implementing Classes:
CurrentMicroserviceRepository
,LegacyMicroserviceRepository
public interface MicroserviceRepository
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description com.cumulocity.rest.representation.application.ApplicationRepresentation
getCurrentApplication()
Iterable<com.cumulocity.rest.representation.application.ApplicationUserRepresentation>
getSubscriptions()
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 Detail
-
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
-
-