-
Notifications
You must be signed in to change notification settings - Fork 261
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 #7317 from mandy-chessell/code2023
Add supplementary properties
- Loading branch information
Showing
35 changed files
with
1,608 additions
and
273 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
53 changes: 53 additions & 0 deletions
53
...va/org/odpi/openmetadata/accessservices/assetconsumer/client/OpenMetadataStoreClient.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,53 @@ | ||
/* SPDX-License-Identifier: Apache 2.0 */ | ||
/* Copyright Contributors to the ODPi Egeria project. */ | ||
package org.odpi.openmetadata.accessservices.assetconsumer.client; | ||
|
||
import org.odpi.openmetadata.commonservices.gaf.client.OpenMetadataStoreClientBase; | ||
import org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException; | ||
|
||
/** | ||
* OpenMetadataStoreClientBase provides an interface to the open metadata store. This is part of the Governance Action Framework (GAF) | ||
* and provides a comprehensive interface for working with all types of metadata, subject to the user's (and this OMAS's) security permissions. | ||
* the interface supports search, maintenance of metadata elements, classifications and relationships plus the ability to raise incident reports | ||
* and todos along with the ability to work with metadata valid values and translations. | ||
*/ | ||
public class OpenMetadataStoreClient extends OpenMetadataStoreClientBase | ||
{ | ||
private final static String serviceURLMarker = "asset-consumer"; | ||
|
||
/** | ||
* 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 servers | ||
* | ||
* @throws InvalidParameterException there is a problem creating the client-side components to issue any | ||
* REST API calls. | ||
*/ | ||
public OpenMetadataStoreClient(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 servers | ||
* @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 OpenMetadataStoreClient(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
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.