public interface RESTService extends AbstractXMLService
for more details.
Modifier and Type | Method and Description |
---|---|
java.util.List<javax.xml.registry.infomodel.RegistryEntry> |
filterNewResourcesToClone(java.util.List<javax.xml.registry.infomodel.RegistryEntry> nativeServiceResources)
Determines the new resources from specified nativeServiceResources by investigating the current
existing resources on the virtual service.
|
java.lang.String |
getDocument()
Get the document of the REST service (e.g. the swagger document from repository)
|
java.lang.String |
getNativeServiceURL()
Get the Access URL of the (native) service
|
java.util.Collection<Resource> |
getResourcesToRetain(java.util.List<javax.xml.registry.infomodel.RegistryEntry> nativeServiceResources)
Determines the resources of the virtual service which could be retained during update, depending on the
native service resources which should be set.
|
java.util.Map<java.lang.String,java.lang.String> |
getSchemaImports()
Get map of schema imports
|
void |
setSchemaImports(java.util.Map<java.lang.String,java.lang.String> schemaImports)
Define the schema imports for the REST service
|
void |
setServiceInfo(CentraSiteAssetOptions options,
java.lang.String serviceName,
java.lang.String version,
java.lang.String description)
Set data to the service asset, name, description ...
|
checkRouteToEndpoint, fileAccessUrl, generateWSDL20, getAllEndpointsWithSandbox, getAllMatchingResourcesPaths, getAllMethods, getCallbacks, getComponentParameters, getComponentSlot, getCustomURL, getEndPoints, getEndpointsWithSandbox, getEndpointUri, getEndPointURIs, getExamples, getHeaderParameters, getImporterDocuments, getLinkObjects, getNamespace, getParameters, getRequestContentTypes, getRequestPayloads, getResource, getResources, getResponseContentTypes, getResponsePayloads, getRestCompositeObjects, getRESTServers, getSchemas, getSecuritySchemes, getSelectedResources, getTopLevelResource, getUnsupportedHttpMethods, getVirtualTypeName, isDeleteAllowed, isTopLevelResource, schemaAccessUrl, setCallbacks, setComponentParameters, setComponentSlot, setCustomURL, setEndpointsWithSandbox, setEndpointUri, setEndPointURIs, setExamples, setHeaderParameters, setImporterDocuments, setLinkObjects, setNamespace, setParameters, setRequestContentTypes, setRequestPayloads, setResources, setResponseContentTypes, setResponsePayloads, setRESTServers, setRESTServersAsMap, setSchemas, setSecuritySchemes
getAPIStatusInGateway, getOperations, getOperationsMap, getServiceBindings, isRuntimeAllowed
getConsumedAssets, getConsumers, getDescription, getDescription, getDisplayVersion, getInitialVirtualAssetName, getLastModifiedTimeStamp, getLCMAssignment, getLocalName, getMandatoryAttributeProfiles, getName, getName, getNameSpace, getNextVersion, getNextVersions, getOrganization, getOwner, getPendingApprovals, getPreviousVersion, getPreviousVersions, getRegistryObject, getRelationShipValueMap, getRequestedUser, getSubscribers, getSystemVersion, getTitle, getType, getUserVersion, getVisiblePrimaryProfiles, getVisibleProfile, isDeployedOn, isLatestVersionObject, isPropagatePermissions, isPropagateProfilePermissions, removeConsumedAssets, removeConsumers, setDescription, setDescription, setDisplayVersion, setLCMState, setLocalName, setName, setName, setNameSpace, setOrganization, setOwner, setPropagatePermissions, setPropagateProfilePermissions, setRelationShipValueMap, setUserVersion
delete, getAttributeLink, getAttributeValue, getAttributeValue, getAttributeValue, getId, isModified, isPredefined, isReadOnly, save, setAttributeValue, setAttributeValue, setAttributeValue
java.util.Collection<Resource> getResourcesToRetain(java.util.List<javax.xml.registry.infomodel.RegistryEntry> nativeServiceResources) throws CLLException
nativeServiceResources
- resources of the native service to be newly set to the virtual serviceCLLException
java.util.List<javax.xml.registry.infomodel.RegistryEntry> filterNewResourcesToClone(java.util.List<javax.xml.registry.infomodel.RegistryEntry> nativeServiceResources) throws CLLException
nativeServiceResources
- resources of the native service to be newly set to the virtual serviceCLLException
void setSchemaImports(java.util.Map<java.lang.String,java.lang.String> schemaImports)
schemaImports
- schema import map in the shape: key=resourceName, value=schemaImportPathjava.util.Map<java.lang.String,java.lang.String> getSchemaImports()
java.lang.String getDocument() throws CLLException
CLLException
java.lang.String getNativeServiceURL() throws CLLException
CLLException
void setServiceInfo(CentraSiteAssetOptions options, java.lang.String serviceName, java.lang.String version, java.lang.String description) throws CLLException
options
- options with user selected values (output also)serviceName
- the service name from input fileversion
- the version name from input filedescription
- the description name from input fileCLLException