diff --git a/provider/indexer-gc/docs/anthos/README.md b/provider/indexer-gc/docs/anthos/README.md index 70276024394e1452e3380c89cefc0e2603ea66df..9800216a3e1cdb6ccc86f5537f108206e179dfd2 100644 --- a/provider/indexer-gc/docs/anthos/README.md +++ b/provider/indexer-gc/docs/anthos/README.md @@ -49,7 +49,7 @@ Note that properties can be set in Partition as `sensitive` in that case in prop This variable should be present in environment of service that need that variable. Example: -``` +```json "elasticsearch.port": { "sensitive": false, <- value not sensitive "value": "9243" <- will be used as is. @@ -60,6 +60,17 @@ Example: } ``` +## Indexer account configuration +Google cloud OSDU platform doesn't use a single Tenant account which provides access to all groups for each service, +instead, separate accounts should be used. But the Indexer should have access to all data groups, no matter when they were created. +To achieve that add an Indexer account to the partition configuration: +```json + "indexer.service.account": { + "sensitive": false, + "value": "indexer@service.local" + } +``` +Related issue: https://community.opengroup.org/osdu/platform/system/storage/-/issues/153 ## Elasticsearch configuration diff --git a/provider/indexer-gc/docs/gc/README.md b/provider/indexer-gc/docs/gc/README.md index 4fbcefb066ae0e3c91dca47eed5a39f69ff77dc5..8edb09a7137f11a0a93a89ffab304faa2a81e472 100644 --- a/provider/indexer-gc/docs/gc/README.md +++ b/provider/indexer-gc/docs/gc/README.md @@ -63,7 +63,7 @@ It is possible, but not necessary to adjust consumer throughput via Partition se <https://community.opengroup.org/osdu/platform/system/lib/cloud/gcp/oqm/-/blob/master/src/main/java/org/opengroup/osdu/core/gcp/oqm/driver/pubsub/config/PsThroughputConfiguration.java> -``` +```json "max.sub.parallel.streams": { "sensitive": false, "value": 2 @@ -85,7 +85,7 @@ This variable should be present in environment of service that need that variabl Example: -``` +```json "elasticsearch.port": { "sensitive": false, <- value not sensitive "value": "9243" <- will be used as is. @@ -98,6 +98,18 @@ Example: There is no hardcode in services, all behaviour defined by sensitivity of property. +## Indexer account configuration +Google cloud OSDU platform doesn't use a single Tenant account which provides access to all groups for each service, +instead, separate accounts should be used. But the Indexer should have access to all data groups, no matter when they were created. +To achieve that add an Indexer account to the partition configuration: +```json + "indexer.service.account": { + "sensitive": false, + "value": "indexer@service.local" + } +``` +Related issue: https://community.opengroup.org/osdu/platform/system/storage/-/issues/153 + ## Elasticsearch configuration **prefix:** `elasticsearch`