-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8053 from mandy-chessell/oak2024
Fix to engine host and new Automated Curation OMVS
- Loading branch information
Showing
39 changed files
with
4,204 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 52 additions & 0 deletions
52
...va/org/odpi/openmetadata/accessservices/governanceserver/client/OpenGovernanceClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
/* SPDX-License-Identifier: Apache-2.0 */ | ||
/* Copyright Contributors to the ODPi Egeria project. */ | ||
package org.odpi.openmetadata.accessservices.governanceserver.client; | ||
|
||
import org.odpi.openmetadata.adminservices.configuration.registration.AccessServiceDescription; | ||
import org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException; | ||
import org.odpi.openmetadata.frameworkservices.gaf.client.OpenGovernanceClientBase; | ||
|
||
/** | ||
* OpenGovernanceClient provides an interface to the services that build, monitor and trigger governance actions. | ||
* This is part of the Governance Action Framework (GAF). | ||
*/ | ||
public class OpenGovernanceClient extends OpenGovernanceClientBase | ||
{ | ||
private final static String serviceURLMarker = AccessServiceDescription.GOVERNANCE_SERVER_OMAS.getAccessServiceURLMarker(); | ||
|
||
/** | ||
* Create a new client with no authentication embedded in the HTTP request. | ||
* | ||
* @param serverName name of the server to connect to | ||
* @param serverPlatformURLRoot the network address of the server running the OMAS REST services | ||
* | ||
* @throws InvalidParameterException there is a problem creating the client-side components to issue any | ||
* REST API calls. | ||
*/ | ||
public OpenGovernanceClient(String serverName, | ||
String serverPlatformURLRoot) throws InvalidParameterException | ||
{ | ||
super(serviceURLMarker, serverName, serverPlatformURLRoot); | ||
} | ||
|
||
|
||
/** | ||
* Create a new client that passes userId and password in each HTTP request. This is the | ||
* userId/password of the calling server. The end user's userId is sent on each request. | ||
* | ||
* @param serverName name of the server to connect to | ||
* @param serverPlatformURLRoot the network address of the server running the OMAS REST services | ||
* @param serverUserId caller's userId embedded in all HTTP requests | ||
* @param serverPassword caller's password embedded in all HTTP requests | ||
* | ||
* @throws InvalidParameterException there is a problem creating the client-side components to issue any | ||
* REST API calls. | ||
*/ | ||
public OpenGovernanceClient(String serverName, | ||
String serverPlatformURLRoot, | ||
String serverUserId, | ||
String serverPassword) throws InvalidParameterException | ||
{ | ||
super(serviceURLMarker, serverName, serverPlatformURLRoot, serverUserId, serverPassword); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.