Interface ServiceRegistryRepositoryService
- All Known Implementing Classes:
ServiceRegistryRepositoryServiceImpl
public interface ServiceRegistryRepositoryService
-
Method Summary
Modifier and TypeMethodDescriptionconvertServiceDefinitionModelToJson
(String serviceDefinitionId) Returns theServiceDefinitionModel
as a JSON string.Starts creating a new deploymentQuery deploymentsQuery service definitionsvoid
deleteDeployment
(String deploymentId) Deletes the given deployment.getDeploymentResourceNames
(String deploymentId) Retrieves a list of deployment resources for the given deployment, ordered alphabetically.getResourceAsStream
(String deploymentId, String resourceName) Gives access to a deployment resource through a stream of bytes.getServiceDefinition
(String serviceDefinitionId) Returns theServiceDefinition
including all service information like additional Properties (e.g.getServiceDefinitionByKey
(String serviceDefinitionKey) Returns theServiceDefinition
including all service information like additional Properties (e.g.getServiceDefinitionByKeyAndTenantId
(String serviceDefinitionKey, String tenantId) Returns theServiceDefinition
including all service information like additional Properties (e.g.getServiceDefinitionModel
(String serviceDefinitionId) Returns theServiceDefinitionModel
including all service model info.getServiceDefinitionModelByKey
(String serviceDefinitionKey) Returns theServiceDefinitionModel
including all service model info, using the service definition key and resolving the key to the latest version.getServiceDefinitionModelByKeyAndTenantId
(String serviceDefinitionKey, String tenantId) Returns theServiceDefinitionModel
including all service model info, using the service definition key and resolving the key to the latest version.getServiceDefinitionModelByReferenceKeyAndTenantId
(String referenceKey, String tenantId) Returns theServiceDefinitionModel
including all service model info, using the reference key and resolving the key to the latest version.
-
Method Details
-
createDeployment
ServiceDeploymentBuilder createDeployment()Starts creating a new deployment -
getDeploymentResourceNames
Retrieves a list of deployment resources for the given deployment, ordered alphabetically.- Parameters:
deploymentId
- id of the deployment, cannot be null.
-
getResourceAsStream
Gives access to a deployment resource through a stream of bytes.- Parameters:
deploymentId
- id of the deployment, cannot be null.resourceName
- name of the resource, cannot be null.- Throws:
FlowableObjectNotFoundException
- when the resource doesn't exist in the given deployment or when no deployment exists for the given deploymentId.
-
getServiceDefinitionModel
Returns theServiceDefinitionModel
including all service model info. -
getServiceDefinitionModelByKey
Returns theServiceDefinitionModel
including all service model info, using the service definition key and resolving the key to the latest version. -
getServiceDefinitionModelByKeyAndTenantId
ServiceDefinitionModel getServiceDefinitionModelByKeyAndTenantId(String serviceDefinitionKey, String tenantId) Returns theServiceDefinitionModel
including all service model info, using the service definition key and resolving the key to the latest version. -
getServiceDefinitionModelByReferenceKeyAndTenantId
ServiceDefinitionModel getServiceDefinitionModelByReferenceKeyAndTenantId(String referenceKey, String tenantId) Returns theServiceDefinitionModel
including all service model info, using the reference key and resolving the key to the latest version. -
convertServiceDefinitionModelToJson
Returns theServiceDefinitionModel
as a JSON string. -
getServiceDefinition
Returns theServiceDefinition
including all service information like additional Properties (e.g. documentation). -
getServiceDefinitionByKey
Returns theServiceDefinition
including all service information like additional Properties (e.g. documentation). The latest version for the given key will be returned. -
getServiceDefinitionByKeyAndTenantId
ServiceDefinition getServiceDefinitionByKeyAndTenantId(String serviceDefinitionKey, String tenantId) Returns theServiceDefinition
including all service information like additional Properties (e.g. documentation). The latest version for the given key will be returned. -
createServiceDefinitionQuery
ServiceDefinitionQuery createServiceDefinitionQuery()Query service definitions -
deleteDeployment
Deletes the given deployment.- Parameters:
deploymentId
- id of the deployment, cannot be null.
-
createDeploymentQuery
ServiceDeploymentQuery createDeploymentQuery()Query deployments
-