-
Notifications
You must be signed in to change notification settings - Fork 0
feature(document-archiving): deploy to core QA. PIN-7642 #389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 8 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
b7dc2a8
feature(document-archiving): deploy to QA, missing version numbers
marco-vit-pagopa ccff56f
Merge branch 'main' into feature/PIN-7642_prepare_qa_deploy
marco-vit-pagopa 46855ba
fix: do not change migration version; correction to last merge
marco-vit-pagopa 07ad8f8
fix: move feature flags definitions in the right container
marco-vit-pagopa 35980c0
Merge branch 'main' into feature/PIN-7642_prepare_qa_deploy
marco-vit-pagopa c369003
fix: Remove duplicated env entry, duplicated by merge
marco-vit-pagopa 8cf4b6e
feature: redirect B.f.F. to signed documents bucket
marco-vit-pagopa 96e7460
feature: stop process document generation to activate documents-gener…
marco-vit-pagopa b3a4a83
set FEATURE_FLAG_USE_SIGNED_DOCUMENT into QA env
marco-vit-pagopa 5d409b7
fix: remove unused batching related variables from QA env of document…
marco-vit-pagopa a32e732
Merge branch 'main' into feature/PIN-7642_prepare_qa_deploy
marco-vit-pagopa ef03d77
fix: PIN-8650 add new env variables for signed documents bucket
marco-vit-pagopa c20ce12
Merge branch 'main' into feature/PIN-7642_prepare_qa_deploy
marco-vit-pagopa 6ea5105
Merge branch 'main' into feature/PIN-7642_prepare_qa_deploy
marco-vit-pagopa a7b2333
fix(document-archiving,PIN-7642): add FEATURE_FLAG_USE_SIGNED_DOCUMEN…
marco-vit-pagopa 3e3d6be
Merge branch 'main' into feature/PIN-7642_prepare_qa_deploy
marco-vit-pagopa 075197c
Merge branch 'main' into feature/PIN-7642_prepare_qa_deploy
marco-vit-pagopa 17d5937
fix(document-archiving,PIN-7642): fix some env var names: DELEGATION_…
marco-vit-pagopa 3ffa706
feature(document-archiving,PIN-7642): disable signed documents downlo…
marco-vit-pagopa 61f3603
Merge branch 'main' into feature/PIN-7642_prepare_qa_deploy
marco-vit-pagopa 11a4f1e
update image numbers
marco-vit-pagopa f31332d
fix: re-add m2m-event-cleaner job accidentally removed during merge
marco-vit-pagopa 4a3521e
Merge branch 'main' into feature/PIN-7642_prepare_qa_deploy
marco-vit-pagopa 5a8fdd2
Upgrade frontend to RC2
marco-vit-pagopa 2865aa9
Merge branch 'main' into feature/PIN-7642_prepare_qa_deploy
marco-vit-pagopa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
marco-vit-pagopa marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
marco-vit-pagopa marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
marco-vit-pagopa marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
marco-vit-pagopa marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| apiVersion: v1 | ||
| kind: ConfigMap | ||
| metadata: | ||
| name: common-safe-storage | ||
| namespace: qa | ||
| data: | ||
| BASE_URL: "http://vpce-0f17b997ad7e109cd-qh68uzeo.vpce-svc-075ebde4859d4c631.eu-south-1.vpce.amazonaws.com:8080" | ||
| DOC_TYPE: "INTEROP_LEGAL_FACTS" | ||
| DOC_STATUS: "SAVED" | ||
| LIVE_REQUESTS_DYNAMO_TABLE_NAME: "interop-safe-storage-signature-tracking-qa" |
marco-vit-pagopa marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| name: interop-be-audit-signer | ||
| techStack: nodejs | ||
|
|
||
| serviceAccount: | ||
| roleArn: "arn:aws:iam::{{.Values.local.awsAccountId}}:role/interop-be-audit-signer-{{.Values.local.env}}-es1" | ||
|
|
||
| service: | ||
| create: false | ||
|
|
||
| configmap: | ||
| SERVICE_NAME: "audit-signer" | ||
| SQS_MAX_NUMBER_OF_MSGS: "5" | ||
| SQS_LONG_POLL_WAIT_TIME_SECONDS: "20" | ||
| SQS_VISIBILITY_TIMEOUT_SECONDS: "20" | ||
| S3_BUCKET: "interop-generated-jwt-details-{{.Values.local.env}}-es1" | ||
| SQS_URL: "https://sqs.eu-south-1.amazonaws.com/{{.Values.local.awsAccountId}}/interop-jwt-details-new-s3-object-{{.Values.namespace}}" | ||
| SAFE_STORAGE_CLIENT_ID: "interop-{{.Values.namespace}}-audit-signer" | ||
|
|
||
| deployment: | ||
| envFromConfigmaps: | ||
| SAFE_STORAGE_BASE_URL: "common-safe-storage.BASE_URL" | ||
| SAFE_STORAGE_DOC_TYPE: "common-safe-storage.DOC_TYPE" | ||
| SAFE_STORAGE_DOC_STATUS: "common-safe-storage.DOC_STATUS" | ||
| SIGNATURE_REFERENCES_TABLE_NAME: "common-safe-storage.LIVE_REQUESTS_DYNAMO_TABLE_NAME" | ||
|
|
||
| envFromSecrets: | ||
| SAFE_STORAGE_API_KEY: "safe-storage-signing-credentials.password" | ||
marco-vit-pagopa marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| envFromFieldRef: | ||
| AWS_ROLE_SESSION_NAME: "metadata.name" | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| name: interop-be-documents-generator | ||
| techStack: nodejs | ||
|
|
||
| serviceAccount: | ||
| roleArn: "arn:aws:iam::{{.Values.local.awsAccountId}}:role/interop-be-documents-generator-{{.Values.local.env}}-es1" | ||
|
|
||
| service: | ||
| create: false | ||
|
|
||
| configmap: | ||
| KAFKA_GROUP_ID: "{{.Values.local.env}}-documents-generator" | ||
| TOPIC_STARTING_OFFSET: "earliest" | ||
| AVERAGE_KAFKA_MESSAGE_SIZE_IN_BYTES: "5000" | ||
| MESSAGES_TO_READ_PER_BATCH: "500" | ||
| MAX_WAIT_KAFKA_BATCH_MILLIS: "5000" | ||
| S3_BUCKET: "interop-application-documents-{{.Values.local.env}}-es1" | ||
| DELEGATION_DOCUMENT_PATH: "{{.Values.namespace}}/generated-documents-unsigned/delegation" | ||
| AGREEMENT_DOCUMENT_PATH: "{{.Values.namespace}}/generated-documents-unsigned/agreement" | ||
| RISK_ANALYSIS_DOCUMENT_PATH: "{{.Values.namespace}}/generated-documents-unsigned/risk-analysis" | ||
| INTERNAL_JWT_KID: "{{.Values.local.interop_be_commons.RSA_KEYS_IDENTIFIERS}}" | ||
| INTERNAL_JWT_SUBJECT: "{{.Values.namespace}}.interop-documents-generator" | ||
| INTERNAL_JWT_ISSUER: "{{.Values.namespace}}.interop.pagopa.it" | ||
| INTERNAL_JWT_AUDIENCE: "{{.Values.namespace}}.interop.pagopa.it/internal" | ||
| INTERNAL_JWT_SECONDS_DURATION: "3600" | ||
|
|
||
| deployment: | ||
| envFromConfigmaps: | ||
| KAFKA_BROKERS: "common-kafka.KAFKA_BROKERS" | ||
| DELEGATION_TOPIC: "common-kafka.DELEGATION_TOPIC" | ||
| CATALOG_TOPIC: "common-kafka.CATALOG_TOPIC" | ||
| AGREEMENT_TOPIC: "common-kafka.AGREEMENT_TOPIC" | ||
| PURPOSE_TOPIC: "common-kafka.PURPOSE_TOPIC" | ||
| AUTHORIZATION_TOPIC: "common-kafka.AUTHORIZATION_TOPIC" | ||
| READMODEL_SQL_DB_HOST: "common-read-model-sql.DB_HOST_RO" | ||
| READMODEL_SQL_DB_PORT: "common-read-model-sql.DB_PORT" | ||
| READMODEL_SQL_DB_NAME: "common-read-model-sql.DB_NAME" | ||
| READMODEL_SQL_DB_USE_SSL: "common-read-model-sql.DB_USE_SSL" | ||
| READMODEL_SQL_DB_SCHEMA_AGREEMENT: "common-read-model-sql.DB_SCHEMA_AGREEMENT" | ||
| READMODEL_SQL_DB_SCHEMA_ATTRIBUTE: "common-read-model-sql.DB_SCHEMA_ATTRIBUTE" | ||
| READMODEL_SQL_DB_SCHEMA_CATALOG: "common-read-model-sql.DB_SCHEMA_CATALOG" | ||
| READMODEL_SQL_DB_SCHEMA_CLIENT_JWK_KEY: "common-read-model-sql.DB_SCHEMA_CLIENT_JWK_KEY" | ||
| READMODEL_SQL_DB_SCHEMA_CLIENT: "common-read-model-sql.DB_SCHEMA_CLIENT" | ||
| READMODEL_SQL_DB_SCHEMA_DELEGATION: "common-read-model-sql.DB_SCHEMA_DELEGATION" | ||
| READMODEL_SQL_DB_SCHEMA_ESERVICE_TEMPLATE: "common-read-model-sql.DB_SCHEMA_ESERVICE_TEMPLATE" | ||
| READMODEL_SQL_DB_SCHEMA_PRODUCER_JWK_KEY: "common-read-model-sql.DB_SCHEMA_PRODUCER_JWK_KEY" | ||
| READMODEL_SQL_DB_SCHEMA_PRODUCER_KEYCHAIN: "common-read-model-sql.DB_SCHEMA_PRODUCER_KEYCHAIN" | ||
| READMODEL_SQL_DB_SCHEMA_PURPOSE: "common-read-model-sql.DB_SCHEMA_PURPOSE" | ||
| READMODEL_SQL_DB_SCHEMA_PURPOSE_TEMPLATE: "common-read-model-sql.DB_SCHEMA_PURPOSE_TEMPLATE" | ||
| READMODEL_SQL_DB_SCHEMA_TENANT: "common-read-model-sql.DB_SCHEMA_TENANT" | ||
| AGREEMENT_PROCESS_URL: "common-services-urls.AGREEMENT_PROCESS_URL" | ||
| DELEGATION_PROCESS_URL: "common-services-urls.DELEGATION_PROCESS_URL" | ||
| PURPOSE_PROCESS_URL: "common-services-urls.PURPOSE_PROCESS_URL" | ||
| envFromSecrets: | ||
| READMODEL_SQL_DB_USERNAME: "platform-data-documents-generator-user.username" | ||
| READMODEL_SQL_DB_PASSWORD: "platform-data-documents-generator-user.password" | ||
| envFromFieldRef: | ||
| AWS_ROLE_SESSION_NAME: "metadata.name" | ||
| KAFKA_CLIENT_ID: "metadata.name" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| name: interop-be-documents-signer | ||
| techStack: nodejs | ||
|
|
||
| serviceAccount: | ||
| roleArn: "arn:aws:iam::{{.Values.local.awsAccountId}}:role/interop-be-documents-signer-{{.Values.local.env}}-es1" | ||
|
|
||
| service: | ||
| create: false | ||
|
|
||
| configmap: | ||
| SERVICE_NAME: "documents-signer" | ||
| SAFE_STORAGE_CLIENT_ID: "interop-{{.Values.namespace}}-documents-signer" | ||
| KAFKA_GROUP_ID: "{{.Values.local.env}}-documents-signer" | ||
| TOPIC_STARTING_OFFSET: "earliest" | ||
| AVERAGE_KAFKA_MESSAGE_SIZE_IN_BYTES: "5000" | ||
| MESSAGES_TO_READ_PER_BATCH: "500" | ||
| MAX_WAIT_KAFKA_BATCH_MILLIS: "5000" | ||
| S3_BUCKET: "interop-application-documents-{{.Values.local.env}}-es1" | ||
|
|
||
| deployment: | ||
| envFromConfigmaps: | ||
| KAFKA_BROKERS: "common-kafka.KAFKA_BROKERS" | ||
| DELEGATION_TOPIC: "common-kafka.DELEGATION_TOPIC" | ||
| CATALOG_TOPIC: "common-kafka.CATALOG_TOPIC" | ||
| AGREEMENT_TOPIC: "common-kafka.AGREEMENT_TOPIC" | ||
| PURPOSE_TOPIC: "common-kafka.PURPOSE_TOPIC" | ||
| AUTHORIZATION_TOPIC: "common-kafka.AUTHORIZATION_TOPIC" | ||
| SAFE_STORAGE_BASE_URL: "common-safe-storage.BASE_URL" | ||
| SAFE_STORAGE_DOC_TYPE: "common-safe-storage.DOC_TYPE" | ||
| SAFE_STORAGE_DOC_STATUS: "common-safe-storage.DOC_STATUS" | ||
| SIGNATURE_REFERENCES_TABLE_NAME: "common-safe-storage.LIVE_REQUESTS_DYNAMO_TABLE_NAME" | ||
|
|
||
| envFromSecrets: | ||
| SAFE_STORAGE_API_KEY: "safe-storage-signing-credentials.password" | ||
marco-vit-pagopa marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| envFromFieldRef: | ||
| AWS_ROLE_SESSION_NAME: "metadata.name" | ||
| KAFKA_CLIENT_ID: "metadata.name" | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| name: interop-be-events-signer | ||
| techStack: nodejs | ||
|
|
||
| serviceAccount: | ||
| roleArn: "arn:aws:iam::{{.Values.local.awsAccountId}}:role/interop-be-events-signer-{{.Values.local.env}}-es1" | ||
|
|
||
| service: | ||
| create: false | ||
|
|
||
| configmap: | ||
| SERVICE_NAME: "events-signer" | ||
| KAFKA_GROUP_ID: "{{.Values.local.env}}-events-signer" | ||
| AVERAGE_KAFKA_MESSAGE_SIZE_IN_BYTES: "5000" | ||
| MESSAGES_TO_READ_PER_BATCH: "500" | ||
| MAX_WAIT_KAFKA_BATCH_MILLIS: "5000" | ||
| TOPIC_STARTING_OFFSET: "earliest" | ||
| SAFE_STORAGE_CLIENT_ID: "interop-{{.Values.namespace}}-events-signer" | ||
| S3_BUCKET: "interop-domain-events-{{.Values.local.env}}-es1" | ||
|
|
||
| deployment: | ||
| envFromConfigmaps: | ||
| AGREEMENT_TOPIC: "common-kafka.AGREEMENT_TOPIC" | ||
| AUTHORIZATION_TOPIC: "common-kafka.AUTHORIZATION_TOPIC" | ||
| CATALOG_TOPIC: "common-kafka.CATALOG_TOPIC" | ||
| DELEGATION_TOPIC: "common-kafka.DELEGATION_TOPIC" | ||
| PURPOSE_TOPIC: "common-kafka.PURPOSE_TOPIC" | ||
| KAFKA_BROKERS: "common-kafka.KAFKA_BROKERS" | ||
| SAFE_STORAGE_BASE_URL: "common-safe-storage.BASE_URL" | ||
| SAFE_STORAGE_DOC_TYPE: "common-safe-storage.DOC_TYPE" | ||
| SAFE_STORAGE_DOC_STATUS: "common-safe-storage.DOC_STATUS" | ||
| SIGNATURE_REFERENCES_TABLE_NAME: "common-safe-storage.LIVE_REQUESTS_DYNAMO_TABLE_NAME" | ||
|
|
||
| envFromSecrets: | ||
| SAFE_STORAGE_API_KEY: "safe-storage-signing-credentials.password" | ||
marco-vit-pagopa marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| envFromFieldRef: | ||
| AWS_ROLE_SESSION_NAME: "metadata.name" | ||
| KAFKA_CLIENT_ID: "metadata.name" | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| name: interop-be-signed-objects-persister | ||
| techStack: nodejs | ||
|
|
||
| serviceAccount: | ||
| roleArn: "arn:aws:iam::{{.Values.local.awsAccountId}}:role/interop-be-signed-objects-persister-{{.Values.local.env}}-es1" | ||
|
|
||
| service: | ||
| create: false | ||
|
|
||
| configmap: | ||
| SERVICE_NAME: "signed-objects-persister" | ||
| SQS_MAX_NUMBER_OF_MSGS: "5" | ||
| SQS_LONG_POLL_WAIT_TIME_SECONDS: "20" | ||
| SQS_VISIBILITY_TIMEOUT_SECONDS: "20" | ||
| S3_BUCKET_SIGNED_DOCUMENTS: "interop-signed-application-documents-{{.Values.local.env}}-es1" | ||
| S3_BUCKET_EVENTS: "interop-signed-domain-events-{{.Values.local.env}}-es1" | ||
| S3_BUCKET_AUDIT: "interop-signed-jwt-audit-{{.Values.local.env}}-es1" | ||
| SQS_URL: "https://sqs.eu-south-1.amazonaws.com/{{.Values.local.awsAccountId}}/interop-safe-storage-completed-tasks-{{.Values.namespace}}" | ||
| SAFE_STORAGE_CLIENT_ID: "interop-{{.Values.namespace}}-signed-objects-persister" | ||
| INTERNAL_JWT_KID: "{{.Values.local.interop_be_commons.RSA_KEYS_IDENTIFIERS}}" | ||
| INTERNAL_JWT_SUBJECT: "{{.Values.namespace}}.interop-signed-objects-persister" | ||
| INTERNAL_JWT_ISSUER: "{{.Values.namespace}}.interop.pagopa.it" | ||
| INTERNAL_JWT_AUDIENCE: "{{.Values.namespace}}.interop.pagopa.it/internal" | ||
| INTERNAL_JWT_SECONDS_DURATION: "3600" | ||
|
|
||
| deployment: | ||
| envFromConfigmaps: | ||
| SAFE_STORAGE_BASE_URL: "common-safe-storage.BASE_URL" | ||
| SAFE_STORAGE_DOC_TYPE: "common-safe-storage.DOC_TYPE" | ||
| SAFE_STORAGE_DOC_STATUS: "common-safe-storage.DOC_STATUS" | ||
| SIGNATURE_REFERENCES_TABLE_NAME: "common-safe-storage.LIVE_REQUESTS_DYNAMO_TABLE_NAME" | ||
| AGREEMENT_PROCESS_URL: "common-services-urls.AGREEMENT_PROCESS_URL" | ||
| DELEGATION_PROCESS_URL: "common-services-urls.DELEGATION_PROCESS_URL" | ||
| PURPOSE_PROCESS_URL: "common-services-urls.PURPOSE_PROCESS_URL" | ||
|
|
||
| envFromSecrets: | ||
| SAFE_STORAGE_API_KEY: "safe-storage-signing-credentials.password" | ||
marco-vit-pagopa marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| envFromFieldRef: | ||
| AWS_ROLE_SESSION_NAME: "metadata.name" | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.