diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2fc1917708e58e1c62166e76c2f77bd8cde0f15a..e06026e071d45459a45198a0487825f3de40dc42 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,13 +1,18 @@ variables: - OSDU_GCP_APPLICATION_NAME: os-notification - OSDU_GCP_CLOUD_RUN_PARAMETERS: "--min-instances=1" + OSDU_GCP_APPLICATION_NAME: notification OSDU_GCP_VENDOR: gcp OSDU_GCP_SERVICE: notification OSDU_GCP_REGISTER_BASE_URL: https://os-register-attcrcktoa-uc.a.run.app/api/register/v1 - OSDU_GCP_ENV_VARS: APP_PROJECT=$OSDU_GCP_PROJECT,APP_ENTITLEMENTS=$OSDU_GCP_ENTITLEMENTS_V2_URL,APP_REGISTER=$OSDU_GCP_REGISTER_BASE_URL,APP_GOOGLEAUDIENCE=$GOOGLE_AUDIENCE,PARTITION_API=$OSDU_GCP_PARTITION_API,GOOGLE_AUDIENCES=$GOOGLE_AUDIENCE OSDU_GCP_ENVIRONMENT: dev_gke OSDU_GCP_LOG_LEVEL: INFO OSDU_GCP_HELM_PACKAGE_CHARTS: "devops/gcp/deploy devops/gcp/configmap" + OSDU_GCP_HELM_DEPLOYMENT_DIR: "devops/gcp/deploy" + OSDU_GCP_HELM_CONFIG_DIR: "devops/gcp/configmap" + OSDU_GCP_HELM_NAMESPACE: "default" + OSDU_GCP_HELM_CONFIG_SERVICE_VARS: " --set data.log_level=$OSDU_GCP_LOG_LEVEL --set data.app_project=$OSDU_GCP_PROJECT --set data.app_googleaudience=$GOOGLE_AUDIENCE --set data.google_audiences=$GOOGLE_AUDIENCE --set data.app_register=$OSDU_GCP_REGISTER_BASE_URL" + OSDU_GCP_HELM_DEPLOYMENT_SERVICE_VARS: "--set data.image=$CI_REGISTRY_IMAGE/osdu-gcp:$CI_COMMIT_SHORT_SHA --set data.serviceAccountName=workload-identity-notification --set data.app_name=$OSDU_GCP_SERVICE" + OSDU_GCP_HELM_CONFIG_SERVICE: "notification-config" + OSDU_GCP_HELM_DEPLOYMENT_SERVICE: "notification-deploy" AWS_BUILD_SUBDIR: provider/notification-aws/build-aws AWS_TEST_SUBDIR: testing/notification-test-aws @@ -47,7 +52,7 @@ include: - project: "osdu/platform/ci-cd-pipelines" ref: "master" - file: "cloud-providers/osdu-gcp-cloudrun.yml" + file: "cloud-providers/osdu-gcp-gke.yml" - project: "osdu/platform/ci-cd-pipelines" file: "cloud-providers/aws.yml" @@ -59,4 +64,3 @@ osdu-gcp-test: variables: ENVIRONMENT: $OSDU_GCP_ENVIRONMENT REGISTER_BASE_URL: $OSDU_GCP_REGISTER_BASE_URL - allow_failure: true diff --git a/NOTICE b/NOTICE index 983d5b78e79b5ba8fb089cf987abb0e961c33bb2..007ccfa2d7466afe953926121c665f69f8288ee7 100644 --- a/NOTICE +++ b/NOTICE @@ -82,8 +82,8 @@ The following software have components provided under the terms of this license: - Gson (from https://repo1.maven.org/maven2/com/google/code/gson/gson) - Guava InternalFutureFailureAccess and InternalFutures (from https://repo1.maven.org/maven2/com/google/guava/failureaccess) - Guava InternalFutureFailureAccess and InternalFutures (from https://repo1.maven.org/maven2/com/google/guava/failureaccess) -- Guava: Google Core Libraries for Java (from https://github.com/google/guava) -- Guava: Google Core Libraries for Java (from https://github.com/google/guava) +- Guava: Google Core Libraries for Java (from https://repo1.maven.org/maven2/com/google/guava/guava) +- Guava: Google Core Libraries for Java (from https://repo1.maven.org/maven2/com/google/guava/guava) - HPPC Collections (from https://repo1.maven.org/maven2/com/carrotsearch/hppc) - HTTP functionality for the Reactor Netty library (from https://github.com/reactor/reactor-netty) - Hibernate Validator Engine (from https://repo1.maven.org/maven2/org/hibernate/validator/hibernate-validator) @@ -169,7 +169,6 @@ The following software have components provided under the terms of this license: - Microsoft Azure Netty HTTP Client Library (from https://github.com/Azure/azure-sdk-for-java) - Microsoft Azure SDK for SQL API of Azure Cosmos DB Service (from https://github.com/Azure/azure-sdk-for-java) - Mockito (from http://www.mockito.org) -- Mockito (from http://www.mockito.org) - Netty/Buffer (from https://repo1.maven.org/maven2/io/netty/netty-buffer) - Netty/Buffer (from https://repo1.maven.org/maven2/io/netty/netty-buffer) - Netty/Codec (from https://repo1.maven.org/maven2/io/netty/netty-codec) @@ -295,13 +294,14 @@ The following software have components provided under the terms of this license: - jose4j (from https://bitbucket.org/b_c/jose4j/) - lang-mustache (from https://github.com/elastic/elasticsearch) - lettuce (from https://github.com/lettuce-io/lettuce-core/wiki) -- logging-interceptor (from https://github.com/square/okhttp) - micrometer-core (from https://github.com/micrometer-metrics/micrometer) - micrometer-registry-azure-monitor (from https://github.com/micrometer-metrics/micrometer) +- mockito-core (from http://mockito.org) - nio-multipart-parser (from ) - nio-stream-storage (from https://github.com/synchronoss/nio-stream-storage) - okhttp (from https://github.com/square/okhttp) - okhttp (from https://github.com/square/okhttp) +- okhttp-logging-interceptor (from https://square.github.io/okhttp/) - okhttp-urlconnection (from https://github.com/square/okhttp) - okhttp-urlconnection (from https://github.com/square/okhttp) - org.apiguardian:apiguardian-api (from https://github.com/apiguardian-team/apiguardian) @@ -319,14 +319,14 @@ The following software have components provided under the terms of this license: - proto-google-common-protos (from https://github.com/googleapis/java-iam/proto-google-common-protos) - proto-google-iam-v1 (from https://github.com/googleapis/java-iam/proto-google-iam-v1) - rank-eval (from https://github.com/elastic/elasticsearch) +- resilience4j (from https://github.com/resilience4j/resilience4j) - resilience4j (from https://resilience4j.readme.io) - resilience4j (from https://resilience4j.readme.io) - resilience4j (from https://resilience4j.readme.io) - resilience4j (from https://github.com/resilience4j/resilience4j) -- resilience4j (from https://github.com/resilience4j/resilience4j) - resilience4j (from https://resilience4j.readme.io) -- resilience4j (from https://github.com/resilience4j/resilience4j) - resilience4j (from https://resilience4j.readme.io) +- resilience4j (from https://github.com/resilience4j/resilience4j) - rest (from https://github.com/elastic/elasticsearch) - rest-high-level (from https://github.com/elastic/elasticsearch) - rxjava (from https://github.com/ReactiveX/RxJava) @@ -390,7 +390,7 @@ The following software have components provided under the terms of this license: - Lucene Common Analyzers (from https://repo1.maven.org/maven2/org/apache/lucene/lucene-analyzers-common) - Lucene Core (from https://repo1.maven.org/maven2/org/apache/lucene/lucene-core) - Reflections (from http://github.com/ronmamo/reflections) -- Stax2 API (from http://woodstox.codehaus.org/StAX2) +- Stax2 API (from http://github.com/FasterXML/stax2-api) - ThreeTen backport (from https://www.threeten.org/threetenbp) ======================================================================== @@ -602,7 +602,7 @@ ImageMagick ======================================================================== The following software have components provided under the terms of this license: -- Stax2 API (from http://woodstox.codehaus.org/StAX2) +- Stax2 API (from http://github.com/FasterXML/stax2-api) - Woodstox (from https://github.com/FasterXML/woodstox) ======================================================================== @@ -687,7 +687,6 @@ The following software have components provided under the terms of this license: - Microsoft Azure common module for Storage (from https://github.com/Azure/azure-sdk-for-java) - Microsoft Azure internal Avro module for Storage (from https://github.com/Azure/azure-sdk-for-java) - Mockito (from http://www.mockito.org) -- Mockito (from http://www.mockito.org) - Netty/Codec/HTTP (from https://repo1.maven.org/maven2/io/netty/netty-codec-http) - Netty/Codec/HTTP (from https://repo1.maven.org/maven2/io/netty/netty-codec-http) - Netty/Common (from https://repo1.maven.org/maven2/io/netty/netty-common) @@ -702,6 +701,7 @@ The following software have components provided under the terms of this license: - java jwt (from https://github.com/auth0/java-jwt) - java jwt (from https://github.com/auth0/java-jwt) - micrometer-core (from https://github.com/micrometer-metrics/micrometer) +- mockito-core (from http://mockito.org) - mockito-junit-jupiter (from https://github.com/mockito/mockito) - msal4j (from https://github.com/AzureAD/microsoft-authentication-library-for-java) - msal4j-persistence-extension (from https://github.com/AzureAD/microsoft-authentication-extensions-for-java) @@ -775,8 +775,8 @@ public-domain The following software have components provided under the terms of this license: - Asynchronous Http Client (from https://repo1.maven.org/maven2/org/asynchttpclient/async-http-client) -- Guava: Google Core Libraries for Java (from https://github.com/google/guava) -- Guava: Google Core Libraries for Java (from https://github.com/google/guava) +- Guava: Google Core Libraries for Java (from https://repo1.maven.org/maven2/com/google/guava/guava) +- Guava: Google Core Libraries for Java (from https://repo1.maven.org/maven2/com/google/guava/guava) - HdrHistogram (from http://hdrhistogram.github.io/HdrHistogram/) - Joda-Time (from https://www.joda.org/joda-time/) - LatencyUtils (from http://latencyutils.github.io/LatencyUtils/) @@ -806,5 +806,3 @@ The following software have components provided under the terms of this license: - JUnit Platform Commons (from https://junit.org/junit5/) - JUnit Platform Engine API (from https://junit.org/junit5/) - Spongy Castle (from http://rtyley.github.io/spongycastle/) - -