Class ValidMetadataInstanceHandler
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.validmetadata.server.ValidMetadataInstanceHandler
ValidMetadataInstanceHandler retrieves information from the instance map for the
view service instances. The instance map is thread-safe. Instances are added
and removed by the ValidMetadataAdmin class.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstanceHandler
platformInstanceMap, serviceName -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor registers the view service -
Method Summary
Modifier and TypeMethodDescriptiongetOpenMetadataStoreClient(String userId, String serverName, String urlMarker, String serviceOperationName) This method returns the object for the tenant to use to work with the Asset Owner API.getSpecificationPropertyHandler(String userId, String serverName, String urlMarker, String serviceOperationName) This method returns the handler.getValidMetadataValueHandler(String userId, String serverName, String urlMarker, String serviceOperationName) This method returns the handler.Methods inherited from class org.odpi.openmetadata.commonservices.multitenant.OMVSServiceInstanceHandler
getExceptionHandlerMethods inherited from class org.odpi.openmetadata.commonservices.multitenant.AuditableServerServiceInstanceHandler
getAuditLogMethods inherited from class org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstanceHandler
getServerSecurityVerifier, getServerServiceInstance, getServiceName, isServerActive, removeServerServiceInstance
-
Constructor Details
-
ValidMetadataInstanceHandler
public ValidMetadataInstanceHandler()Default constructor registers the view service
-
-
Method Details
-
getValidMetadataValueHandler
public ValidMetadataValueHandler getValidMetadataValueHandler(String userId, String serverName, String urlMarker, String serviceOperationName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException This method returns the handler.- Parameters:
serverName- name of the server that the request is foruserId- local server useridurlMarker- view service URL markerserviceOperationName- service operation - usually the top level rest call- Returns:
- client
- Throws:
InvalidParameterException- unknown server/serviceUserNotAuthorizedException- User not authorized to call this servicePropertyServerException- internal error
-
getSpecificationPropertyHandler
public SpecificationPropertyHandler getSpecificationPropertyHandler(String userId, String serverName, String urlMarker, String serviceOperationName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException This method returns the handler.- Parameters:
serverName- name of the server that the request is foruserId- local server useridurlMarker- view service URL markerserviceOperationName- service operation - usually the top level rest call- Returns:
- client
- Throws:
InvalidParameterException- unknown server/serviceUserNotAuthorizedException- User not authorized to call this servicePropertyServerException- internal error
-
getOpenMetadataStoreClient
public OpenMetadataClient getOpenMetadataStoreClient(String userId, String serverName, String urlMarker, String serviceOperationName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException This method returns the object for the tenant to use to work with the Asset Owner API.- Parameters:
serverName- name of the server that the request is forurlMarker- view service URL markeruserId- local server useridserviceOperationName- service operation - usually the top level rest call- Returns:
- client
- Throws:
InvalidParameterException- unknown server/serviceUserNotAuthorizedException- User not authorized to call this servicePropertyServerException- internal error
-