Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion conf/local-e2e-docker-private-config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"service_instances": 1,
"storage_mock": false,
"core_attest_url": "http://core:8088/attest",
"core_api_token": "OPLCLAjLRWcVlCDl9+BbwR38gzxYdiWFa751ynWLuI7JU4iA=",
Expand Down
1 change: 0 additions & 1 deletion conf/local-e2e-private-config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"service_instances": 1,
"storage_mock": true,
"core_attest_url": "http://localhost:8088/attest",
"core_api_token": "OPLCLAjLRWcVlCDl9+BbwR38gzxYdiWFa751ynWLuI7JU4iA=",
Expand Down
1 change: 0 additions & 1 deletion scripts/aws/EUID_CloudFormation.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ Resources:
- '", "operator_key": "'
- Ref: APIToken
- '"'
- ', "service_instances": 6'
- ', "enclave_cpu_count": 6'
- ', "enclave_memory_mb": 24576'
- ', "environment": "'
Expand Down
3 changes: 1 addition & 2 deletions scripts/aws/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ UID2 Operator application reads configuration from [AWS Secrets Manager](https:/
```
{
"api_token": "<your-operator-key>",
"service_instances": "6",
"enclave_cpu_count": "6",
"enclave_memory_mb": "24000",
"clients_metadata_path": "https://core-integ.uidapi.com/clients/refresh",
Expand All @@ -55,7 +54,7 @@ UID2 Operator application reads configuration from [AWS Secrets Manager](https:/
```
Important Notes:
- above fields are all required
- service_instances/enclave_cpu_count/enclave_memory_mb are currently not customizable, modification to these fields will be ignored
- enclave_cpu_count/enclave_memory_mb are currently not customizable, modification to these fields will be ignored
- `core-integ` is integration test endpoint; use `core-prod` when ready for production usage
- you might need to replicate secret after creation to use it in other regions

Expand Down
1 change: 0 additions & 1 deletion scripts/aws/UID_CloudFormation.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ Resources:
- '", "operator_key": "'
- Ref: APIToken
- '"'
- ', "service_instances": 6'
- ', "enclave_cpu_count": 6'
- ', "enclave_memory_mb": 24576'
- ', "environment": "'
Expand Down
1 change: 0 additions & 1 deletion scripts/aws/conf/default-config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"service_verbose": true,
"service_instances": 4,
"core_s3_bucket": null,
"core_attest_url": null,
"core_api_token": null,
Expand Down
1 change: 0 additions & 1 deletion scripts/aws/conf/euid-prod-config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"service_instances": 4,
"sites_metadata_path": "https://core.prod.euid.eu/sites/refresh",
"clients_metadata_path": "https://core.prod.euid.eu/clients/refresh",
"keysets_metadata_path": "https://core.prod.euid.eu/key/keyset/refresh",
Expand Down
1 change: 0 additions & 1 deletion scripts/aws/conf/uid2-prod-config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"service_instances": 4,
"sites_metadata_path": "https://core-prod.uidapi.com/sites/refresh",
"clients_metadata_path": "https://core-prod.uidapi.com/clients/refresh",
"keysets_metadata_path": "https://core-prod.uidapi.com/key/keyset/refresh",
Expand Down
1 change: 0 additions & 1 deletion scripts/azure-cc/conf/default-config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"service_verbose": true,
"service_instances": 3,
"core_s3_bucket": null,
"core_attest_url": null,
"core_api_token": null,
Expand Down
1 change: 0 additions & 1 deletion scripts/gcp-oidc/conf/default-config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"service_verbose": true,
"service_instances": 12,
"core_s3_bucket": null,
"core_attest_url": null,
"core_api_token": null,
Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/uid2/operator/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ public Main(Vertx vertx, JsonObject config) throws Exception {
svcInstances = Runtime.getRuntime().availableProcessors();
}
requestedServiceInstances = svcInstances;
LOGGER.info("Service instances requested: " + requestedServiceInstances);
}

private KeyManager getKeyManager() {
Expand Down
Loading