Class ConformanceTestServerConfigurationClient
java.lang.Object
org.odpi.openmetadata.adminservices.client.OMAGServerConfigurationClient
org.odpi.openmetadata.adminservices.client.CohortMemberConfigurationClient
org.odpi.openmetadata.adminservices.client.ConformanceTestServerConfigurationClient
ConformanceTestServerConfigurationClient provides the configuration services needed by
The Conformance Test Server. This configuration focuses on setting up test workbenches.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.adminservices.client.OMAGServerConfigurationClient
invalidParameterHandler, nullRequestBody, restClient, serverName, serverPlatformRootURL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidRequest that the conformance suite services are deactivated in this server.voidRequest that the repository conformance suite tests are deactivated in this server.voidRequest that the repository conformance suite tests are deactivated in this server.voidenablePlatformConformanceSuiteWorkbench(String platformURL) Request that the conformance suite services are activated in this server to test the support of the platform services running in the platform at tutPlatformRootURL.voidenableRepositoryConformanceSuiteWorkbench(RepositoryConformanceWorkbenchConfig repositoryConformanceWorkbenchConfig) Request that the conformance suite services are activated in this server to test the support of the repository services running in the server named tutRepositoryServerName.Methods inherited from class org.odpi.openmetadata.adminservices.client.CohortMemberConfigurationClient
addCohortRegistration, addCohortRegistration, addStartUpOpenMetadataArchiveFile, addStartUpOpenMetadataArchiveList, clearCohortRegistration, clearLocalRepository, clearOpenMetadataArchives, getCohortTopicName, getDedicatedCohortTopicNames, getLocalMetadataCollectionId, getLocalMetadataCollectionName, overrideCohortTopicName, overrideInstancesCohortTopicName, overrideRegistrationCohortTopicName, overrideTypesCohortTopicName, resetRemoteCohortURL, setCohortConfig, setLocalMetadataCollectionId, setLocalMetadataCollectionName, setLocalRepositoryConfigMethods inherited from class org.odpi.openmetadata.adminservices.client.OMAGServerConfigurationClient
addAuditLogDestination, addConsoleAuditLogDestination, addEventTopicAuditLogDestination, addEventTopicAuditLogDestination, addFileAuditLogDestination, addFileAuditLogDestination, addJDBCAuditLogDestination, addSLF4JAuditLogDestination, clearAuditLogDestination, clearAuditLogDestinations, clearOMAGServerConfig, clearServerSecurityConnection, deployOMAGServerConfig, getBasicServerProperties, getOMAGServerConfig, getOMAGServerInstanceConfig, getServerSecurityConnection, getServerTypeClassification, setAuditLogDestinations, setBasicServerProperties, setDefaultAuditLog, setEventBus, setMaxPageSize, setOMAGServerConfig, setOrganizationName, setServerDescription, setServerSecurityConnection, setServerType, setServerURLRoot, setServerUserId, updateAuditLogDestination
-
Constructor Details
-
ConformanceTestServerConfigurationClient
public ConformanceTestServerConfigurationClient(String serverName, String serverPlatformRootURL, String secretStoreProvider, String secretStoreLocation, String secretStoreCollection, AuditLog auditLog) throws InvalidParameterException Create a new client with no authentication embedded in the HTTP request.- Parameters:
serverName- name of the server to connect toserverPlatformRootURL- the network address of the server running the admin servicessecretStoreProvider- class name of the secrets storesecretStoreLocation- location (networkAddress) of the secrets storesecretStoreCollection- name of the collection of secrets to use to connect to the remote serverauditLog- destination for log messages.- Throws:
InvalidParameterException- there is a problem creating the client-side components to issue any REST API calls.
-
-
Method Details
-
enableRepositoryConformanceSuiteWorkbench
public void enableRepositoryConformanceSuiteWorkbench(RepositoryConformanceWorkbenchConfig repositoryConformanceWorkbenchConfig) throws UserNotAuthorizedException, InvalidParameterException, OMAGConfigurationErrorException Request that the conformance suite services are activated in this server to test the support of the repository services running in the server named tutRepositoryServerName.- Parameters:
repositoryConformanceWorkbenchConfig- configuration for the repository conformance workbench.- Throws:
UserNotAuthorizedException- the supplied userId is not authorized to issue this command.InvalidParameterException- invalid parameter.OMAGConfigurationErrorException- unusual state in the admin server.
-
enablePlatformConformanceSuiteWorkbench
public void enablePlatformConformanceSuiteWorkbench(String platformURL) throws UserNotAuthorizedException, InvalidParameterException, OMAGConfigurationErrorException Request that the conformance suite services are activated in this server to test the support of the platform services running in the platform at tutPlatformRootURL.- Parameters:
platformURL- url of the OMAG platform to test.- Throws:
UserNotAuthorizedException- the supplied userId is not authorized to issue this command.InvalidParameterException- invalid parameter.OMAGConfigurationErrorException- unusual state in the admin server.
-
disableRepositoryConformanceSuiteServices
public void disableRepositoryConformanceSuiteServices() throws UserNotAuthorizedException, InvalidParameterException, OMAGConfigurationErrorExceptionRequest that the repository conformance suite tests are deactivated in this server.- Throws:
UserNotAuthorizedException- the supplied userId is not authorized to issue this command.InvalidParameterException- invalid parameter.OMAGConfigurationErrorException- unusual state in the admin server.
-
disablePlatformConformanceSuiteServices
public void disablePlatformConformanceSuiteServices() throws UserNotAuthorizedException, InvalidParameterException, OMAGConfigurationErrorExceptionRequest that the repository conformance suite tests are deactivated in this server.- Throws:
UserNotAuthorizedException- the supplied userId is not authorized to issue this command.InvalidParameterException- invalid parameter.OMAGConfigurationErrorException- unusual state in the admin server.
-
disableAllConformanceSuiteWorkbenches
public void disableAllConformanceSuiteWorkbenches() throws UserNotAuthorizedException, InvalidParameterException, OMAGConfigurationErrorExceptionRequest that the conformance suite services are deactivated in this server.- Throws:
UserNotAuthorizedException- the supplied userId is not authorized to issue this command.InvalidParameterException- invalid parameter.OMAGConfigurationErrorException- unusual state in the admin server.
-