Interface MicroserviceRepository

All Known Implementing Classes:
CurrentMicroserviceRepository, LegacyMicroserviceRepository

public interface MicroserviceRepository
  • 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 Use register(MicroserviceMetadataRepresentation) method instead.
      Parameters:
      applicationName - application name
      metadata - 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. Use getSubscriptions() method instead.
      Parameters:
      applicationId - application identifier
      Returns:
      collection of application users