Class SchemaMakerInstanceHandler
java.lang.Object
org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstanceHandler
org.odpi.openmetadata.commonservices.multitenant.AuditableServerServiceInstanceHandler
org.odpi.openmetadata.commonservices.multitenant.OMVSServiceInstanceHandler
org.odpi.openmetadata.viewservices.schemamaker.server.SchemaMakerInstanceHandler
SchemaMakerInstanceHandler retrieves information from the instance map for the
view service instances. The instance map is thread-safe. Instances are added
and removed by the SchemaMakerAdmin class.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstanceHandler
platformInstanceMap, serviceName
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSchemaAttributeHandler
(String userId, String serverName, String viewServiceURLMarker, String serviceOperationName) This method returns an Open Metadata Store client.getSchemaTypeHandler
(String userId, String serverName, String viewServiceURLMarker, String serviceOperationName) This method returns an Open Metadata Store client.Methods inherited from class org.odpi.openmetadata.commonservices.multitenant.OMVSServiceInstanceHandler
getEndsWithRegex, getExceptionHandler, getMiddleRegex, getSearchString, getStartsWithRegex
Methods inherited from class org.odpi.openmetadata.commonservices.multitenant.AuditableServerServiceInstanceHandler
getAuditLog
Methods inherited from class org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstanceHandler
getServerSecurityVerifier, getServerServiceInstance, getServiceName, isServerActive, removeServerServiceInstance
-
Constructor Details
-
SchemaMakerInstanceHandler
public SchemaMakerInstanceHandler()Default constructor registers the view service
-
-
Method Details
-
getSchemaTypeHandler
public SchemaTypeHandler getSchemaTypeHandler(String userId, String serverName, String viewServiceURLMarker, String serviceOperationName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException This method returns an Open Metadata Store client.- Parameters:
serverName
- name of the server that the request is foruserId
- local server useridviewServiceURLMarker
- optional view service URL marker (overrides accessServiceURLMarker)serviceOperationName
- service operation - usually the top level rest call- Returns:
- client
- Throws:
InvalidParameterException
- unknown server/serviceUserNotAuthorizedException
- User not authorized to call this servicePropertyServerException
- internal error
-
getSchemaAttributeHandler
public SchemaAttributeHandler getSchemaAttributeHandler(String userId, String serverName, String viewServiceURLMarker, String serviceOperationName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException This method returns an Open Metadata Store client.- Parameters:
serverName
- name of the server that the request is foruserId
- local server useridviewServiceURLMarker
- optional view service URL marker (overrides accessServiceURLMarker)serviceOperationName
- service operation - usually the top level rest call- Returns:
- client
- Throws:
InvalidParameterException
- unknown server/serviceUserNotAuthorizedException
- User not authorized to call this servicePropertyServerException
- internal error
-