Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/gradle/nettyVersion-4.1.111.Final
Browse files Browse the repository at this point in the history
  • Loading branch information
mandy-chessell authored Jun 15, 2024
2 parents 608b325 + 8f51205 commit 2ee6201
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 14 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/merge-v5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,25 +84,26 @@ jobs:
- name: Set Release version env variable
run: |
echo "VERSION=$(./gradlew properties --no-daemon --console=plain -q | grep '^version:' | awk '{printf $2}')" >> $GITHUB_ENV
# Publish container images(egeria) to quay.io and docker.io
# Publish container images(egeria-platform) to quay.io and docker.io
- name: Copy the distribution content to be used in docker copy command
run: |
cp -f container.application.properties ./open-metadata-distribution/omag-server-platform/build/unpacked/egeria-platform-${{ env.VERSION }}-distribution.tar.gz/assembly/platform/application.properties
mkdir -p ./open-metadata-distribution/omag-server-platform/build/unpacked/egeria-platform-5.0-distribution.tar.gz/assembly/platform/data/servers
cp -r ./open-metadata-distribution/omag-server-platform/build/unpacked/egeria-platform-${{ env.VERSION }}-distribution.tar.gz/assembly/opt/sample-configs/*-* ./open-metadata-distribution/omag-server-platform/build/unpacked/egeria-platform-${{ env.VERSION }}-distribution.tar.gz/assembly/platform/data/servers
- name: Build and push(egeria) to quay.io and docker.io (tag latest only for main!)
if: ${{ github.ref == 'refs/heads/main'}}
uses: docker/build-push-action@v5
with:
push: true
tags: odpi/egeria:${{ env.VERSION }}, odpi/egeria:latest, quay.io/odpi/egeria:${{ env.VERSION }}, quay.io/odpi/egeria:latest
tags: odpi/egeria-platform:${{ env.VERSION }}, odpi/egeria-platform:latest, quay.io/odpi/egeria-platform:${{ env.VERSION }}, quay.io/odpi/egeria-platform:latest
context: ./open-metadata-distribution/omag-server-platform/build/unpacked/egeria-platform-${{ env.VERSION }}-distribution.tar.gz
platforms: linux/amd64,linux/arm64
- name: Build and push(egeria) to quay.io and docker.io (no tag latest)
- name: Build and push(egeria-platform) to quay.io and docker.io (no tag latest)
if: ${{ github.ref != 'refs/heads/main'}}
uses: docker/build-push-action@v5
with:
push: true
tags: odpi/egeria:${{ env.VERSION }}, quay.io/odpi/egeria:${{ env.VERSION }}
tags: odpi/egeria-platform:${{ env.VERSION }}, quay.io/odpi/egeria-platform:${{ env.VERSION }}
context: ./open-metadata-distribution/omag-server-platform/build/unpacked/egeria-platform-${{ env.VERSION }}-distribution.tar.gz
platforms: linux/amd64,linux/arm64
# Publish container images(egeria-configure) to quay.io and docker.io
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/release-v5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,17 @@ jobs:
- name: Set Release version env variable
run: |
echo "VERSION=$(./gradlew properties --no-daemon --console=plain -q | grep '^version:' | awk '{printf $2}')" >> $GITHUB_ENV
# Publish container images(egeria) to quay.io and docker.io
# Publish container images(egeria-platform) to quay.io and docker.io
- name: Copy the distribution content to be used in docker copy command
run: |
cp -f container.application.properties ./open-metadata-distribution/omag-server-platform/build/unpacked/egeria-platform-${{ env.VERSION }}-distribution.tar.gz/assembly/platform/application.properties
mkdir -p ./open-metadata-distribution/omag-server-platform/build/unpacked/egeria-platform-5.0-distribution.tar.gz/assembly/platform/data/servers
cp -r ./open-metadata-distribution/omag-server-platform/build/unpacked/egeria-platform-${{ env.VERSION }}-distribution.tar.gz/assembly/opt/sample-configs/*-* ./open-metadata-distribution/omag-server-platform/build/unpacked/egeria-platform-${{ env.VERSION }}-distribution.tar.gz/assembly/platform/data/servers
- name: Build and push(egeria) to quay.io and docker.io
- name: Build and push(egeria-platform) to quay.io and docker.io
uses: docker/build-push-action@v5
with:
push: true
tags: odpi/egeria:${{ env.VERSION }}, odpi/egeria:stable, quay.io/odpi/egeria:${{ env.VERSION }}, quay.io/odpi/egeria:stable
tags: odpi/egeria-platform:${{ env.VERSION }}, odpi/egeria-platform:stable, quay.io/odpi/egeria-platform:${{ env.VERSION }}, quay.io/odpi/egeria-platform:stable
context: ./open-metadata-distribution/omag-server-platform/build/unpacked/egeria-platform-${{ env.VERSION }}-distribution.tar.gz
platforms: linux/amd64,linux/arm64
# Publish container images(egeria-configure) to quay.io and docker.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public enum AccessServiceDescription implements Serializable
* Publish asset lineage.
*/
ASSET_LINEAGE_OMAS (203,
ComponentDevelopmentStatus.IN_DEVELOPMENT,
ComponentDevelopmentStatus.TECHNICAL_PREVIEW,
"Asset Lineage",
"Asset Lineage OMAS",
"asset-lineage",
Expand Down Expand Up @@ -106,7 +106,7 @@ public enum AccessServiceDescription implements Serializable
* Exchange process models and lineage with a data engine.
*/
DATA_ENGINE_OMAS (209,
ComponentDevelopmentStatus.IN_DEVELOPMENT,
ComponentDevelopmentStatus.DEPRECATED,
"Data Engine",
"Data Engine OMAS",
"data-engine",
Expand Down Expand Up @@ -158,7 +158,7 @@ public enum AccessServiceDescription implements Serializable
* Design of the digital services for an organization.
*/
DIGITAL_ARCHITECTURE_OMAS (215,
ComponentDevelopmentStatus.TECHNICAL_PREVIEW,
ComponentDevelopmentStatus.STABLE,
"Digital Architecture",
"Digital Architecture OMAS",
"digital-architecture",
Expand Down Expand Up @@ -223,7 +223,7 @@ public enum AccessServiceDescription implements Serializable
* Manage the governance program.
*/
GOVERNANCE_PROGRAM_OMAS (220,
ComponentDevelopmentStatus.TECHNICAL_PREVIEW,
ComponentDevelopmentStatus.STABLE,
"Governance Program",
"Governance Program OMAS",
"governance-program",
Expand All @@ -236,7 +236,7 @@ public enum AccessServiceDescription implements Serializable
* Manage governance related projects.
*/
PROJECT_MANAGEMENT_OMAS (221,
ComponentDevelopmentStatus.IN_DEVELOPMENT,
ComponentDevelopmentStatus.TECHNICAL_PREVIEW,
"Project Management",
"Project Management OMAS",
"project-management",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public enum GovernanceServicesDescription
* Store and query asset lineage.
*/
LINEAGE_WAREHOUSE_SERVICES(190,
ComponentDevelopmentStatus.IN_DEVELOPMENT,
ComponentDevelopmentStatus.TECHNICAL_PREVIEW,
"Lineage Warehouse Services",
"lineage-warehouse",
"Store and query asset lineage",
Expand All @@ -39,7 +39,7 @@ public enum GovernanceServicesDescription
* Integrate Data Engines that are not self-capable of integrating directly with the Data Engine OMAS.
*/
DATA_ENGINE_PROXY_SERVICES (192,
ComponentDevelopmentStatus.IN_DEVELOPMENT,
ComponentDevelopmentStatus.DEPRECATED,
"Data Engine Proxy Services",
"data-engine-proxy",
"Integrate Data Engines that are not self-capable of integrating directly with the Data Engine OMAS.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import org.odpi.openmetadata.accessservices.assetconsumer.rest.AssetSearchMatchesListResponse;
import org.odpi.openmetadata.commonservices.ffdc.rest.FilterRequestBody;
import org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.AssetsResponse;
import org.odpi.openmetadata.viewservices.assetcatalog.rest.AssetCatalogSupportedTypes;
import org.odpi.openmetadata.viewservices.assetcatalog.server.AssetCatalogRESTServices;
import org.springframework.web.bind.annotation.*;

Expand Down Expand Up @@ -38,6 +39,28 @@ public AssetCatalogResource()
}


/**
* Return the subtypes for asset.
*
* @param serverName name of the server to route the request to
* @return the supported types from Asset Consumer OMAS or
* PropertyServerException if a configuration on the backend
* InvalidParameterException if parameter validation fails
* UserNotAuthorizedException security access problem
*/
@GetMapping( path = "/assets/types")

@Operation(summary="getAssetTypes",
description="Return the subtypes for asset.",
externalDocs=@ExternalDocumentation(description="Assets",
url="https://egeria-project.org/concepts/asset/"))

public AssetCatalogSupportedTypes getAssetTypes(@PathVariable String serverName)
{
return restAPI.getSupportedTypes(serverName);
}


/**
* Return all the elements that are anchored to an asset plus relationships between these elements and to other elements.
*
Expand Down

0 comments on commit 2ee6201

Please sign in to comment.