diff --git a/NOTICE b/NOTICE index f0356fbe264c01b2446f36bc9d662c2a4bf1a6d9..ab7d6b6fc00e53dd23c1e2d42ecb96541d9d4447 100644 --- a/NOTICE +++ b/NOTICE @@ -42,6 +42,7 @@ The following software have components provided under the terms of this license: - Maven Monitor (from https://repo1.maven.org/maven2/org/apache/maven/maven-monitor) - Maven Plugin Descriptor Model (from https://repo1.maven.org/maven2/org/apache/maven/maven-plugin-descriptor) - Maven Plugin Parameter Documenter API (from https://repo1.maven.org/maven2/org/apache/maven/maven-plugin-parameter-documenter) +- Microsoft Application Insights Java Agent (from https://github.com/Microsoft/ApplicationInsights-Java) - Microsoft Application Insights Java SDK Core (from https://github.com/Microsoft/ApplicationInsights-Java) - Microsoft Application Insights Java SDK Spring Boot starter (from https://github.com/Microsoft/ApplicationInsights-Java) - Microsoft Application Insights Java SDK Web Module (from https://github.com/Microsoft/ApplicationInsights-Java) @@ -506,6 +507,7 @@ The following software have components provided under the terms of this license: - Maven Repository Metadata Model (from https://repo1.maven.org/maven2/org/apache/maven/maven-repository-metadata) - Maven Settings (from https://repo1.maven.org/maven2/org/apache/maven/maven-settings) - Metrics Core (from https://repo1.maven.org/maven2/io/dropwizard/metrics/metrics-core) +- Microsoft Application Insights Java Agent (from https://github.com/Microsoft/ApplicationInsights-Java) - Microsoft Application Insights Java SDK Core (from https://github.com/Microsoft/ApplicationInsights-Java) - Microsoft Application Insights Java SDK Spring Boot starter (from https://github.com/Microsoft/ApplicationInsights-Java) - Microsoft Application Insights Java SDK Web Module (from https://github.com/Microsoft/ApplicationInsights-Java) @@ -737,6 +739,7 @@ The following software have components provided under the terms of this license: - Jakarta Activation API (from https://github.com/eclipse-ee4j/jaf, https://repo1.maven.org/maven2/jakarta/activation/jakarta.activation-api) - Jakarta Annotations API (from https://projects.eclipse.org/projects/ee4j.ca) - Jakarta XML Binding API (from https://repo1.maven.org/maven2/jakarta/xml/bind/jakarta.xml.bind-api, https://repo1.maven.org/maven2/org/jboss/spec/javax/xml/bind/jboss-jaxb-api_2.3_spec) +- Microsoft Application Insights Java Agent (from https://github.com/Microsoft/ApplicationInsights-Java) - Microsoft Application Insights Java SDK Core (from https://github.com/Microsoft/ApplicationInsights-Java) - Microsoft Application Insights Java SDK Spring Boot starter (from https://github.com/Microsoft/ApplicationInsights-Java) - Microsoft Application Insights Java SDK Web Module (from https://github.com/Microsoft/ApplicationInsights-Java) @@ -760,6 +763,7 @@ Beerware ======================================================================== The following software have components provided under the terms of this license: +- Microsoft Application Insights Java Agent (from https://github.com/Microsoft/ApplicationInsights-Java) - Microsoft Application Insights Java SDK Core (from https://github.com/Microsoft/ApplicationInsights-Java) - Microsoft Application Insights Java SDK Spring Boot starter (from https://github.com/Microsoft/ApplicationInsights-Java) - Microsoft Application Insights Java SDK Web Module (from https://github.com/Microsoft/ApplicationInsights-Java) @@ -785,6 +789,7 @@ CC-BY-4.0 ======================================================================== The following software have components provided under the terms of this license: +- Microsoft Application Insights Java Agent (from https://github.com/Microsoft/ApplicationInsights-Java) - Microsoft Application Insights Java SDK Core (from https://github.com/Microsoft/ApplicationInsights-Java) - Microsoft Application Insights Java SDK Spring Boot starter (from https://github.com/Microsoft/ApplicationInsights-Java) - Microsoft Application Insights Java SDK Web Module (from https://github.com/Microsoft/ApplicationInsights-Java) @@ -978,8 +983,6 @@ The following software have components provided under the terms of this license: ======================================================================== JSON ======================================================================== -The following software have components provided under the terms of this license: - - JSON in Java (from https://github.com/douglascrockford/JSON-java) ======================================================================== @@ -1053,6 +1056,7 @@ The following software have components provided under the terms of this license: - Jakarta XML Binding API (from https://repo1.maven.org/maven2/jakarta/xml/bind/jakarta.xml.bind-api, https://repo1.maven.org/maven2/org/jboss/spec/javax/xml/bind/jboss-jaxb-api_2.3_spec) - Java Client Runtime for AutoRest (from https://github.com/Azure/autorest-clientruntime-for-java) - Java JWT (from http://www.jwt.io, https://github.com/auth0/java-jwt) +- Microsoft Application Insights Java Agent (from https://github.com/Microsoft/ApplicationInsights-Java) - Microsoft Application Insights Java SDK Core (from https://github.com/Microsoft/ApplicationInsights-Java) - Microsoft Application Insights Java SDK Spring Boot starter (from https://github.com/Microsoft/ApplicationInsights-Java) - Microsoft Application Insights Java SDK Web Module (from https://github.com/Microsoft/ApplicationInsights-Java) @@ -1207,6 +1211,7 @@ The following software have components provided under the terms of this license: - Bouncy Castle Provider (from http://www.bouncycastle.org/java.html, https://www.bouncycastle.org/java.html) - Guava: Google Core Libraries for Java (from http://code.google.com/p/guava-libraries, https://github.com/google/guava, https://repo1.maven.org/maven2/com/google/guava/guava) - HdrHistogram (from http://hdrhistogram.github.io/HdrHistogram/) +- JSON in Java (from https://github.com/douglascrockford/JSON-java) - JTidy (from http://jtidy.sourceforge.net) - Joda-Time (from http://joda-time.sourceforge.net, http://www.joda.org/joda-time/, https://www.joda.org/joda-time/) - LatencyUtils (from http://latencyutils.github.io/LatencyUtils/) diff --git a/devops/gcp/configmap/README.md b/devops/gcp/configmap/README.md index fd2b4ff27bfc5007f6891e39fe4255f753fb4a4e..c65858ff5213d650b858a89587c715e8d76a9ff8 100644 --- a/devops/gcp/configmap/README.md +++ b/devops/gcp/configmap/README.md @@ -120,7 +120,7 @@ cat ~/.config/gcloud/application_default_credentials.json | grep client_id |------|-------------|------|---------|---------| **partitionName** | name of the partition | string | partition | yes **dataPartitionId** | ID of data partition | string | - | yes -**dataPartitionIdList** | List of data partitions | array of strings | [] | no +**dataPartitionIdList** | List of data partitions - if not empty multipartition is enabled | array of strings | [] | no **datafierSa** | datafier service account | string | datafier | yes ### Bootstrap on-prem variables @@ -137,7 +137,6 @@ cat ~/.config/gcloud/application_default_credentials.json | grep client_id **configmap** | configmap to be used | string | partition-config | yes **appName** | name of the app | string | partition | yes **onPremEnabled** | whether on-prem is enabled | boolean | false | yes -**multiPartitionEnabled** | whether multipartition is enabled | boolean | false | yes ### Install the helm chart diff --git a/devops/gcp/configmap/templates/configmap-bootstrap.yml b/devops/gcp/configmap/templates/configmap-bootstrap.yml index 7da45e0682cfd4239884ac1078e090acd97dc4fd..fba1927b09c1013093e5368de972ff1eee733ca4 100644 --- a/devops/gcp/configmap/templates/configmap-bootstrap.yml +++ b/devops/gcp/configmap/templates/configmap-bootstrap.yml @@ -24,9 +24,4 @@ data: SERVICE_ACCOUNT: {{ printf "%s@%s.iam.gserviceaccount.com" .Values.data.datafierSa .Values.data.projectId | quote }} AUDIENCES: "{{ .Values.data.googleAudiences }}" {{- end }} - {{- if .Values.conf.multiPartitionEnabled }} DATA_PARTITION_ID_LIST: {{ join "," .Values.data.dataPartitionIdList | quote }} - MULTI_PARTITON_ENABLED: "{{ .Values.conf.multiPartitionEnabled }}" - {{- else }} - MULTI_PARTITON_ENABLED: "{{ .Values.conf.multiPartitionEnabled }}" - {{- end }} diff --git a/devops/gcp/configmap/values.yaml b/devops/gcp/configmap/values.yaml index cd4e0b86c095d39e7db60df1ac1e7c45908e20b0..0268164a1eaec425d4cb2d1261a4f00de295bd60 100644 --- a/devops/gcp/configmap/values.yaml +++ b/devops/gcp/configmap/values.yaml @@ -21,4 +21,3 @@ conf: configmap: "partition-config" appName: "partition" onPremEnabled: false - multiPartitionEnabled: false diff --git a/provider/partition-gcp/bootstrap/bootstrap_partition.sh b/provider/partition-gcp/bootstrap/bootstrap_partition.sh index 8a471136da8ca5844f5de970b8650c5606faaf2e..b5f6d85d7f260f2f3e4bfea71f42fe05294e022b 100644 --- a/provider/partition-gcp/bootstrap/bootstrap_partition.sh +++ b/provider/partition-gcp/bootstrap/bootstrap_partition.sh @@ -101,11 +101,11 @@ bootstrap_gcp() { fi } -if [[ "${ENVIRONMENT}" == "anthos" && "${MULTI_PARTITON_ENABLED}" == "false" ]]; then +if [[ "${ENVIRONMENT}" == "anthos" && "${DATA_PARTITION_ID_LIST}" == "" ]]; then bootstrap_anthos "${DATA_PARTITION_ID}" "${DATA_PARTITION_ID^^}" -elif [[ "${ENVIRONMENT}" == "gcp" && "${MULTI_PARTITON_ENABLED}" == "false" ]]; then +elif [[ "${ENVIRONMENT}" == "gcp" && "${DATA_PARTITION_ID_LIST}" == "" ]]; then bootstrap_gcp "${DATA_PARTITION_ID}" "${DATA_PARTITION_ID^^}" -elif [[ "${ENVIRONMENT}" == "gcp" && "${MULTI_PARTITON_ENABLED}" == "true" ]]; then +elif [[ "${ENVIRONMENT}" == "gcp" && "${DATA_PARTITION_ID_LIST}" != "" ]]; then IFS=',' read -ra PARTITIONS <<< "${DATA_PARTITION_ID_LIST}" PARTITIONS=("${DATA_PARTITION_ID}" "${PARTITIONS[@]}")