Class ProductManagerInstance
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.productmanager.server.ProductManagerInstance
ProductManagerInstance 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
remoteServerName, remoteServerURLFields inherited from class org.odpi.openmetadata.commonservices.multitenant.AuditableServerServiceInstance
localServerUserIdFields inherited from class org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstance
invalidParameterHandler, securityVerifier, serverName, serviceName -
Constructor Summary
ConstructorsConstructorDescriptionProductManagerInstance(String serverName, AuditLog auditLog, String localServerUserId, String localServerSecretsStoreProvider, String localServerSecretsStoreLocation, String localServerSecretsStoreCollection, int maxPageSize, String remoteServerName, String remoteServerURL) Set up the Product Manager OMVS instance -
Method Summary
Modifier and TypeMethodDescriptionReturn the collection handler.Return the connected asset client.getConnectorContext(String userId) Return a connector context for the calling user.Return the product manager 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
-
ProductManagerInstance
public ProductManagerInstance(String serverName, AuditLog auditLog, String localServerUserId, String localServerSecretsStoreProvider, String localServerSecretsStoreLocation, String localServerSecretsStoreCollection, int maxPageSize, String remoteServerName, String remoteServerURL) throws InvalidParameterException Set up the Product Manager OMVS instance- Parameters:
serverName- name of this serverauditLog- logging destinationlocalServerUserId- userId used for server initiated actionslocalServerSecretsStoreProvider- class name of the secrets store connector for bearer tokenlocalServerSecretsStoreLocation- location of the secrets storelocalServerSecretsStoreCollection- collection within the secrets storemaxPageSize- maximum page sizeremoteServerName- remote server nameremoteServerURL- remote server URL- Throws:
InvalidParameterException- problem with server name or platform URL
-
-
Method Details
-
getConnectorContext
Return a connector context for the calling user. This is the object that the Open Integration Framework's Bitol mappers and generators work through; it gives them the same clients that an integration connector has.- Parameters:
userId- calling user- Returns:
- connector context
-
getCollectionHandler
Return the collection handler. This handler is from the Open Metadata Framework (OMF) and is for accessing and maintaining collections, including digital products and their families.- Returns:
- handler
-
getProductManagerHandler
Return the product manager handler. This handler is from the Open Metadata Framework (OMF) and builds digital products and their subscription types.- Returns:
- handler
-
getConnectedAssetClient
Return the connected asset client. This client is from the Open Connector Framework (OCF) and is used to create connectors to the assets catalogued in open metadata - in particular the integration daemons that distribute Bitol documents.- Returns:
- client
-