Class ValidMetadataInstance
java.lang.Object
org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstance
org.odpi.openmetadata.commonservices.multitenant.AuditableServerServiceInstance
org.odpi.openmetadata.commonservices.multitenant.OMVSServiceInstance
org.odpi.openmetadata.viewservices.validmetadata.server.ValidMetadataInstance
ValidMetadataInstance caches references to the objects it needs for a specific server.
It is also responsible for registering itself in the instance map.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.commonservices.multitenant.OMVSServiceInstance
localServerUserPassword, remoteServerName, remoteServerURLFields inherited from class org.odpi.openmetadata.commonservices.multitenant.AuditableServerServiceInstance
auditLog, localServerUserIdFields inherited from class org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstance
invalidParameterHandler, maxPageSize, securityVerifier, serverName, serviceName -
Constructor Summary
ConstructorsConstructorDescriptionValidMetadataInstance(String serverName, AuditLog auditLog, String localServerUserId, String localServerUserPassword, int maxPageSize, String remoteServerName, String remoteServerURL, List<ViewServiceConfig> activeViewServices) Set up theValid Metadata OMVS instance -
Method Summary
Modifier and TypeMethodDescriptiongetOpenMetadataStoreClient(String urlMarker, String methodName) Return the open metadata store client.getSpecificationPropertyHandler(String urlMarker, String methodName) Return the valid metadata value handler.getValidMetadataValueHandler(String urlMarker, String methodName) Return the valid metadata value handler.Methods inherited from class org.odpi.openmetadata.commonservices.multitenant.OMVSServiceInstance
getRemoteServerName, getRemoteServerURLMethods inherited from class org.odpi.openmetadata.commonservices.multitenant.AuditableServerServiceInstance
getAuditLogMethods inherited from class org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstance
getInvalidParameterHandler, getServerName, getServiceInstanceStatus, getServiceName, setMaxPageSize, setSecurityVerifier, setServerName, setServiceInstanceStatus, shutdown
-
Constructor Details
-
ValidMetadataInstance
public ValidMetadataInstance(String serverName, AuditLog auditLog, String localServerUserId, String localServerUserPassword, int maxPageSize, String remoteServerName, String remoteServerURL, List<ViewServiceConfig> activeViewServices) Set up theValid Metadata OMVS instance- Parameters:
serverName- name of this serverauditLog- logging destinationlocalServerUserId- user id to use on OMRS calls where there is no end user, or as part of an HTTP authentication mechanism with serverUserPassword.localServerUserPassword- password to use as part of an HTTP authentication mechanism.maxPageSize- maximum page sizeremoteServerName- remote server nameremoteServerURL- remote server URLactiveViewServices- list of view services active in this server
-
-
Method Details
-
getValidMetadataValueHandler
public ValidMetadataValueHandler getValidMetadataValueHandler(String urlMarker, String methodName) throws InvalidParameterException, PropertyServerException Return the valid metadata value handler.- Parameters:
urlMarker- calling view servicemethodName- calling operation- Returns:
- client
- Throws:
InvalidParameterException- bad client initializationPropertyServerException- bad client handler class
-
getSpecificationPropertyHandler
public SpecificationPropertyHandler getSpecificationPropertyHandler(String urlMarker, String methodName) throws InvalidParameterException, PropertyServerException Return the valid metadata value handler.- Parameters:
urlMarker- calling view servicemethodName- calling operation- Returns:
- client
- Throws:
InvalidParameterException- bad client initializationPropertyServerException- bad client handler class
-
getOpenMetadataStoreClient
public OpenMetadataClient getOpenMetadataStoreClient(String urlMarker, String methodName) throws InvalidParameterException, PropertyServerException Return the open metadata store client. This client is from the Open Metadata Framework (OMF) and is for accessing and maintaining all types of metadata.- Parameters:
urlMarker- calling view servicemethodName- calling operation- Returns:
- client
- Throws:
InvalidParameterExceptionPropertyServerException
-