Skip to content

Commit

Permalink
Merge branch 'main' into git7140
Browse files Browse the repository at this point in the history
  • Loading branch information
davidradl authored Nov 28, 2022
2 parents 42d9441 + d243f2d commit 833a91f
Show file tree
Hide file tree
Showing 200 changed files with 2,807 additions and 5,477 deletions.
2 changes: 1 addition & 1 deletion content-packs/CocoBusinessSystemsArchive.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content-packs/CocoClinicalTrialsTemplatesArchive.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"class":"OpenMetadataArchive","archiveProperties":{"class":"OpenMetadataArchiveProperties","archiveGUID":"74a786b2-d6d7-401d-b8c1-7d798f752c55","archiveName":"Coco Pharmaceuticals Clinical Trials Templates","archiveDescription":"Templates for new assets relating to a clinical trial.","archiveType":"CONTENT_PACK","originatorName":"Egeria Project","originatorLicense":"Apache 2.0","creationDate":1668588486684,"dependsOnArchives":["bce3b0a0-662a-4f87-b8dc-844078a11a6e"]}}
{"class":"OpenMetadataArchive","archiveProperties":{"class":"OpenMetadataArchiveProperties","archiveGUID":"74a786b2-d6d7-401d-b8c1-7d798f752c55","archiveName":"Coco Pharmaceuticals Clinical Trials Templates","archiveDescription":"Templates for new assets relating to a clinical trial.","archiveType":"CONTENT_PACK","originatorName":"Egeria Project","originatorLicense":"Apache 2.0","creationDate":1669229449553,"dependsOnArchives":["bce3b0a0-662a-4f87-b8dc-844078a11a6e"]}}
2 changes: 1 addition & 1 deletion content-packs/CocoComboArchive.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content-packs/CocoGovernanceEngineDefinitionsArchive.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content-packs/CocoGovernanceProgramArchive.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content-packs/CocoOrganizationArchive.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content-packs/CocoSustainabilityArchive.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content-packs/CocoTypesArchive.json

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions content-packs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,19 @@ They supply metadata to support the Coco Pharmaceuticals scenarios.
them and the load of their data into the data lake. This archive simulates the type of metadata expected from
an ETL tool suite. It is intended for **cocoMDS5** in the open metadata labs but can be used in any server.

* **Coco Pharmaceuticals Organizations** - provides the profiles, user identifies and team of the featured
personas of Coco Pharmaceuticals.

* **CocoClinicalTrialsTemplatesArchive** - provides the template assets used for onboarding weekly patient measurements during a clinical trial.

* **Governance Program Definitions** - provides the metadata to describe Coco Pharmaceuticals governance program.

* **CocoGovernanceEngineDefinitionsArchive** - provides the metadata to describe Coco Pharmaceuticals three governance engines:
`AssetGovernance`, `AssetDiscovery` and `AssetQuality`.

* **Coco Pharmaceuticals Sustainability Initiative** provides the base definitions for Coco Pharmaceutical's
sustainability initiative.

* **CocoTypesArchive** - provides additional types for Coco Pharmaceuticals. These are `BiopsyScope` Enum, `BiopsyReport` Entity, `BiopsySupportingEvidence` Relationship and
`ReviewedByClinicalTrials` Classification.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
/* Copyright Contributors to the ODPi Egeria project. */

/**
* The API package defines the Java interfaces supported by the Asset Consumer OMAS. These Java interfaces
* wrap the REST API calls to the server and the asynchronous event passing through Asset Consumer's Out Topic
* The API package defines the Java interfaces supported by the Asset Consumer OMAS.
*
* These Java interfaces wrap the REST API calls to the server and the asynchronous event passing through Asset Consumer OMAS's Out Topic.
*/
package org.odpi.openmetadata.accessservices.assetconsumer.api;
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/* SPDX-License-Identifier: Apache 2.0 */
/* Copyright Contributors to the ODPi Egeria project. */

/**
* These are the Java clients for the Asset Consumer OMAS.
*/
package org.odpi.openmetadata.accessservices.assetconsumer.client;
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@

/**
* This package provides the support for issuing REST API calls to the OMAG Server and processing common error responses
* (InvalidParameterException, UserNotAuthorizedException, PropertyServerException)
* from the calls. This leaves the Asset Consumer OMAS Clients to focus on marshalling requests and returning successful responses.
* (InvalidParameterException, UserNotAuthorizedException, PropertyServerException) from the calls.
*
* This leaves the Asset Consumer OMAS Clients to focus on marshalling requests and returning successful responses.
*/

package org.odpi.openmetadata.accessservices.assetconsumer.client.rest;
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/* SPDX-License-Identifier: Apache 2.0 */
/* Copyright Contributors to the ODPi Egeria project. */

/**
* Provides the implementation of the admin classes that are called during server start up and shut down.
*/
package org.odpi.openmetadata.accessservices.assetconsumer.admin;
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/* SPDX-License-Identifier: Apache 2.0 */
/* Copyright Contributors to the ODPi Egeria project. */

/**
* Provides the converters that take beans from the repository services (eg entities and relationships)
* and converts them into Asset Consumer OMAS beans to return to the caller.
*/
package org.odpi.openmetadata.accessservices.assetconsumer.converters;
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/* SPDX-License-Identifier: Apache 2.0 */
/* Copyright Contributors to the ODPi Egeria project. */

/**
* The implementation of the outbound events from the Asset Consumer OMAS.
*/
package org.odpi.openmetadata.accessservices.assetconsumer.outtopic;
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
/* Copyright Contributors to the ODPi Egeria project. */

/**
* This package contains the different interfaces of the asset manager. Each interface is
* focused on the exchange of groups of related metadata elements between a third party
* This package contains the different interfaces of the asset manager.
*
* Each interface is focused on the exchange of groups of related metadata elements between a third party
* asset manager and open metadata.
*
* <ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,6 @@
/* Copyright Contributors to the ODPi Egeria project. */

/**
* These are the client interfaces of the Asset Manager OMAS.
*
* <ul>
* <li>ExternalAssetManagerClient enables the caller to create the Software Server Capability that represents
* the source, or owner, of the metadata. These sources are typically metadata catalogs that
* are not sophisticated enough to join an open metadata cohort through the OMRS Repository Connector.</li>
*
* <li>AssetManagerEventClient enables the client to send and receive events from the Asset Manager OMAS.</li>
*
* <li>CollaborationExchangeClient enables the caller to describe comments, likes, ratings and tags.</li>
*
* <li>DataAssetExchangeClient enables the caller to describe data assets, schemas and connections.</li>
*
* <li>GlossaryExchangeClient enables the caller to describe glossaries, glossary categories, glossary terms
* and the relationships between them.</li>
*
* <li>GovernanceExchangeClient enables the caller to describe governance policies and rules.</li>
*
* <li>InfrastructureExchangeClient enables the caller to describe servers and related infrastructure.</li>
*
* <li>LineageExchangeClient support for creating lineage from processing engines.</li>
*
* <li>StewardshipExchangeClient enables the caller to describe classifications and issues found in assets.</li>
*
* <li>ValidValuesExchangeClient enables the caller to describe reference data.</li>
* </ul>
* These are the Java clients for the Asset Manager OMAS.
*/
package org.odpi.openmetadata.accessservices.assetmanager.client;
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
/* Copyright Contributors to the ODPi Egeria project. */

/**
* This package contains the internal class for issuing REST calls.
* This package provides the support for issuing REST API calls to the OMAG Server and processing common error responses
* (InvalidParameterException, UserNotAuthorizedException, PropertyServerException) from the calls.
*
* This leaves the Asset Manager OMAS Clients to focus on marshalling requests and returning successful responses.
*/

package org.odpi.openmetadata.accessservices.assetmanager.client.rest;
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
/* Copyright Contributors to the ODPi Egeria project. */

/**
* This package provides the definition of the Java API for the Asset Owner OMAS.
* The API package defines the Java interfaces supported by the Asset Owner OMAS.
*
* These Java interfaces wrap the REST API calls to the server and the asynchronous event passing through Asset Owner OMAS's Out Topic.
*/
package org.odpi.openmetadata.accessservices.assetowner.api;
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: Apache 2.0 */
/* Copyright Contributors to the ODPi Egeria project. */

/**
* This package contains stub headers for events when Asset Owner OMAS supported events.
* Definitions of the different types of events that the Asset Owner OMAS can publish.
*/
package org.odpi.openmetadata.accessservices.assetowner.events;
package org.odpi.openmetadata.accessservices.assetowner.events;
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/* SPDX-License-Identifier: Apache 2.0 */
/* Copyright Contributors to the ODPi Egeria project. */

/**
* The metadata elements describe the way that metadata is returned from the repository.
*/
package org.odpi.openmetadata.accessservices.assetowner.metadataelements;
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
/* Copyright Contributors to the ODPi Egeria project. */

/**
* This properties package provides the properties used to create different types of instances for an asset and its attachments.
* This package provides the properties used to create different types of instances for an asset and its attachments.
*
* They are used as request body structures on the REST APIs and are also embedded in the element beans when the instances are
* retrieved from the repository
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/* SPDX-License-Identifier: Apache 2.0 */
/* Copyright Contributors to the ODPi Egeria project. */

/**
* These are the Java clients for the Asset Owner OMAS.
*/
package org.odpi.openmetadata.accessservices.assetowner.client;
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/* SPDX-License-Identifier: Apache 2.0 */
/* Copyright Contributors to the ODPi Egeria project. */

/**
* This package provides the support for issuing REST API calls to the OMAG Server and processing common error responses
* (InvalidParameterException, UserNotAuthorizedException, PropertyServerException) from the calls.
*
* This leaves the Asset Owner OMAS Clients to focus on marshalling requests and returning successful responses.
*/

package org.odpi.openmetadata.accessservices.assetowner.client.rest;
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/* SPDX-License-Identifier: Apache 2.0 */
/* Copyright Contributors to the ODPi Egeria project. */

/**
* Provides the implementation of the admin classes that are called during server start up and shut down.
*/
package org.odpi.openmetadata.accessservices.assetowner.admin;
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/* SPDX-License-Identifier: Apache 2.0 */
/* Copyright Contributors to the ODPi Egeria project. */

/**
* Provides the converters that take beans from the repository services (eg entities and relationships)
* and converts them into Asset Owner OMAS beans to return to the caller.
*/
package org.odpi.openmetadata.accessservices.assetowner.converters;
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/* SPDX-License-Identifier: Apache 2.0 */
/* Copyright Contributors to the ODPi Egeria project. */

/**
* The implementation of the outbound events from the Asset Owner OMAS.
*/
package org.odpi.openmetadata.accessservices.assetowner.outtopic;
Original file line number Diff line number Diff line change
Expand Up @@ -1098,15 +1098,15 @@ public GUIDListResponse getFolderFiles(String serverName,
FolderElement,
FileElement> handler = instanceHandler.getFilesAndFoldersHandler(userId, serverName, methodName);

response.setGUIDs(handler.getFolderFiles(userId,
folderGUID,
folderGUIDParameterName,
startingFrom,
maxPageSize,
false,
false,
new Date(),
methodName));
response.setGUIDs(handler.getFolderFileGUIDs(userId,
folderGUID,
folderGUIDParameterName,
startingFrom,
maxPageSize,
false,
false,
new Date(),
methodName));
}
catch (Exception error)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ public FolderResponse getFolderByPathName(@PathVariable String se
* @param startingFrom starting point in the list
* @param maxPageSize maximum number of results
*
* @return list of folder unique identifiers (null means no nested folders) or
* @return list of folder unique identifiers (null value means no nested folders) or
* InvalidParameterException one of the parameters is null or invalid or
* PropertyServerException problem accessing property server or
* UserNotAuthorizedException security access problem.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
/* Copyright Contributors to the ODPi Egeria project. */

/**
* The Community Profile Open Metadata Access Service (OMAS) is used by tools and administrators to
* maintain information associated with individuals and communities. The client interfaces are each targeted
* at different use cases.
* The API package defines the Java interfaces supported by the Community Profile OMAS.
*
* The Community Profile OMAS is used by tools and administrators to maintain information associated with individuals and communities.
* The client interfaces are each targeted at different use cases.
*
* Not all client interfaces are implemented. The interface that begin "MyXXX" are expected to move to a new View service called My Profile OMVS.
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/* SPDX-License-Identifier: Apache 2.0 */
/* Copyright Contributors to the ODPi Egeria project. */

/**
* The metadata elements describe the way that metadata is returned from the repository.
*/
package org.odpi.openmetadata.accessservices.communityprofile.metadataelements;
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/* SPDX-License-Identifier: Apache 2.0 */
/* Copyright Contributors to the ODPi Egeria project. */

/**
* These beans describe the core properties that are passed to the server to create and update metadata.
*/
package org.odpi.openmetadata.accessservices.communityprofile.properties;
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/* SPDX-License-Identifier: Apache 2.0 */
/* Copyright Contributors to the ODPi Egeria project. */

/**
* This package provides the support for issuing REST API calls to the OMAG Server and processing common error responses
* (InvalidParameterException, UserNotAuthorizedException, PropertyServerException) from the calls.
*
* This leaves the Data Manager OMAS Clients to focus on marshalling requests and returning successful responses.
*/

package org.odpi.openmetadata.accessservices.communityprofile.client.rest;
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/* SPDX-License-Identifier: Apache 2.0 */
/* Copyright Contributors to the ODPi Egeria project. */

/**
* Provides the implementation of the admin classes that are called during server start up and shut down.
*/
package org.odpi.openmetadata.accessservices.communityprofile.admin;
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* EventBrokerInterface, ApplicationInterface and the APIManagerInterface.
*
* SchemaAttributes describe the data fields of the schema. If a schema attribute's type is simple (that is
* primitive, literal, enum or external, its details are passed with the schema attribute. Complex schema types (such as Maps,
* primitive, literal, enum or external) its details are passed with the schema attribute. Complex schema types (such as Maps,
* Choices) are constructed first and then their identifiers are attached to the schema attribute.
* SchemaTypes are used when creating complex schema structures that involve maps, choice and links to externally defined
* schemas that are, for example, part of a standard.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/* SPDX-License-Identifier: Apache 2.0 */
/* Copyright Contributors to the ODPi Egeria project. */

/**
* The API package defines the Java interfaces supported by the Data Manager OMAS.
*
* These Java interfaces wrap the REST API calls to the server and the asynchronous event passing through Data Manager OMAS's Out Topic.
*/
package org.odpi.openmetadata.accessservices.datamanager.api;
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/* SPDX-License-Identifier: Apache 2.0 */
/* Copyright Contributors to the ODPi Egeria project. */

/**
* The metadata elements describe the way that metadata is returned from the repository.
*/
package org.odpi.openmetadata.accessservices.datamanager.metadataelements;
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public ReferenceableProperties()


/**
* Copy/clone constructor. Retrieves values from the supplied template
* Copy/clone constructor. Retrieves the values from the supplied template
*
* @param template element to copy
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/* SPDX-License-Identifier: Apache 2.0 */
/* Copyright Contributors to the ODPi Egeria project. */

/**
* These beans describe the core properties that are passed to the server to create and update metadata.
*/
package org.odpi.openmetadata.accessservices.datamanager.properties;
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
/* SPDX-License-Identifier: Apache 2.0 */
/* Copyright Contributors to the ODPi Egeria project. */

/**
* This package defines the beans used to build the REST request and response payloads.
*
* REST APIs can pass parameters in their URLs (called path variables) as well has having a RequestBody bean
* for additional, more complex, or optional parameters. Responses are returned in response beans.
*
* The response beans encode the return type of the method as well as any exceptions and associated messages.
*/
/**
* This package defines the beans used to build the REST request and response payloads.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/* Copyright Contributors to the ODPi Egeria project. */

/**
* These are the client interfaces of the Data Manager OMAS.
* These are the Java clients for the Data Manager OMAS.
*
* <ul>
* <li>MetadataSourceClient enables the caller to create the Software Server Capability that represents
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
/* Copyright Contributors to the ODPi Egeria project. */

/**
* This package contains the internal class for issuing REST calls.
* This package provides the support for issuing REST API calls to the OMAG Server and processing common error responses
* (InvalidParameterException, UserNotAuthorizedException, PropertyServerException) from the calls.
*
* This leaves the Asset Manager OMAS Clients to focus on marshalling requests and returning successful responses.
*/

package org.odpi.openmetadata.accessservices.datamanager.client.rest;
Loading

0 comments on commit 833a91f

Please sign in to comment.