-
Notifications
You must be signed in to change notification settings - Fork 26
feat:[#IOPID-105] Add Opex dashboard #951
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
Open
pasqualedevita
wants to merge
73
commits into
master
Choose a base branch
from
opex-demo
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
73 commits
Select commit
Hold shift + click to select a range
634ce89
first commit
arcogabbo 2341397
add identity
ed12958
edit
arcogabbo f0d4950
fixed raw file
arcogabbo e831951
ready for prod v2.0
8e73885
try
565ee01
daje
9a222a9
add dummy
e505523
rerun
26bfea1
clean
ee85f3d
fix
6f034b0
try
db37d8d
try
07c1c92
fix
f57c3ab
fix payment-requests/{rptId}
e63da85
add api_auth
061507d
add api_cgn
663bfc3
try fix basePath
2f4a221
fix paths
a7d6ab1
remove base path
0e7009e
fix
6191340
add gitignore
9d5c2df
remove files
fb978e5
use latest terraform version
45905f1
try compact gh action
c24f17f
fix repo
0b42724
test
134fd80
fix
3b0a965
remove opex-branch
a554c9d
update action
7084439
tuning
c1c6d61
tuning
44b702d
Update .opex/api_auth/env/prod/config.yaml
pasqualedevita 9bb56fc
change branch master
c4eaa88
Update .opex/api_cgn/env/prod/config.yaml
pasqualedevita 404790a
Update .opex/api_backend/env/prod/config.yaml
pasqualedevita b40cd2b
add other apis
a68a0c7
fix
fa790ff
fix
edac6d9
fix
6a0044e
oo
85628bd
final
4e4b2c8
fix api spec
b90d3d4
trigger
5b1fcaa
fix pr identity
b17e8ee
try change
09aabb6
contr
8d3ac4c
rollback
021ab3c
fix dashboard id and name
236788b
Apply suggestions from code review
gquadrati c065fe1
Update .opex/api_eucovidcert/env/prod/config.yaml
gquadrati 4cf48bb
override eucovidcert endpoint threshold
gquadrati 75fe3e5
wip
gquadrati 17dba4d
wip
gquadrati fe44c3b
fix api_public openapi
gquadrati a950126
add acs endpoint to api_public openapi
gquadrati 65e97f8
move to iopquarantineerror + add ovrride
gquadrati 0f2a452
move threshold to 3s for acs endpoint
gquadrati 652f8d3
upgrade opex-dashboard
gquadrati 5eb2838
upgrade opex-dashboard
gquadrati 4de2855
fix api_bpd openapi
gquadrati d5f27eb
fix api_fims openapi
gquadrati 66f128a
fix api_mit_voucher openapi
gquadrati 9c36fa7
fix api_pagopa openapi
gquadrati 3e83d5d
fix api_parameters openapi
gquadrati c892b54
move to new action groups, set evaluation parameters
gquadrati cbf8e11
override defaults for payment APIs
gquadrati 53971db
tune api_public alerts
gquadrati f08909a
fix
gquadrati 12795f9
tune all api_public endpoints
gquadrati af14370
wip
gquadrati a259683
update opex-dashboard version
gquadrati 1b5da7e
fix api_public workflow
gquadrati 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,64 @@ | ||
| name: Opex Dashboard api_bonus | ||
|
|
||
| # Controls when the workflow will run | ||
| on: | ||
| workflow_dispatch: | ||
| push: | ||
| branches: | ||
| - master | ||
| paths: | ||
| - 'api_bonus.yaml' | ||
| - '.github/workflows/opex_api_bonus.yml' | ||
| - '.opex/api_bonus/**' | ||
| pull_request: | ||
| types: | ||
| - opened | ||
| - edited | ||
| - synchronize | ||
| - reopened | ||
| paths: | ||
| - 'api_bonus.yaml' | ||
| - '.github/workflows/opex_api_bonus.yml' | ||
| - '.opex/api_bonus/**' | ||
|
|
||
| env: | ||
| CLIENT_ID: 712582b4-1e38-4329-bfd2-5cd186e82529 | ||
| TENANT_ID: 7788edaf-0346-4068-9d79-c868aed15b3d | ||
| SUBSCRIPTION_ID: ec285037-c673-4f58-b594-d7c480da4e8b | ||
| API_NAME: api_bonus | ||
|
|
||
| permissions: | ||
| id-token: write | ||
| contents: read | ||
|
|
||
| # A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
| jobs: | ||
| build: | ||
| # The type of runner that the job will run on | ||
| runs-on: ubuntu-22.04 | ||
|
|
||
| strategy: | ||
| matrix: | ||
| environment: [prod] | ||
|
|
||
| # Steps represent a sequence of tasks that will be executed as part of the job | ||
| steps: | ||
| - name: Checkout | ||
| id: checkout | ||
| # from https://github.com/actions/checkout/commits/main | ||
| uses: actions/checkout@1f9a0c22da41e6ebfa534300ef656657ea2c6707 | ||
| with: | ||
| persist-credentials: false | ||
| fetch-depth: 0 | ||
|
|
||
| # from https://github.com/pagopa/opex-dashboard-azure-action/ | ||
| - uses: pagopa/opex-dashboard-azure-action@v1.1.2 | ||
| with: | ||
| environment: ${{ matrix.environment }} | ||
| api-name: ${{ env.API_NAME }} | ||
| config: .opex/${{ env.API_NAME }}/env/${{ matrix.environment }}/config.yaml | ||
| client-id: ${{ env.CLIENT_ID }} | ||
| tenant-id: ${{ env.TENANT_ID }} | ||
| subscription-id: ${{ env.SUBSCRIPTION_ID }} | ||
| # from https://github.com/pagopa/opex-dashboard-azure-action/pkgs/container/opex-dashboard-azure-action | ||
| docker-version: sha256:e4245954566cd3470e1b5527d33bb58ca132ce7493eac01be9e808fd25a11c8d |
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,64 @@ | ||
| name: Opex Dashboard api_bpd | ||
|
|
||
| # Controls when the workflow will run | ||
| on: | ||
| workflow_dispatch: | ||
| push: | ||
| branches: | ||
| - master | ||
| paths: | ||
| - 'api_bpd.yaml' | ||
| - '.github/workflows/opex_api_bpd.yml' | ||
| - '.opex/api_bpd/**' | ||
| pull_request: | ||
| types: | ||
| - opened | ||
| - edited | ||
| - synchronize | ||
| - reopened | ||
| paths: | ||
| - 'api_bpd.yaml' | ||
| - '.github/workflows/opex_api_bpd.yml' | ||
| - '.opex/api_bpd/**' | ||
|
|
||
| env: | ||
| CLIENT_ID: 712582b4-1e38-4329-bfd2-5cd186e82529 | ||
| TENANT_ID: 7788edaf-0346-4068-9d79-c868aed15b3d | ||
| SUBSCRIPTION_ID: ec285037-c673-4f58-b594-d7c480da4e8b | ||
| API_NAME: api_bpd | ||
|
|
||
| permissions: | ||
| id-token: write | ||
| contents: read | ||
|
|
||
| # A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
| jobs: | ||
| build: | ||
| # The type of runner that the job will run on | ||
| runs-on: ubuntu-22.04 | ||
|
|
||
| strategy: | ||
| matrix: | ||
| environment: [prod] | ||
|
|
||
| # Steps represent a sequence of tasks that will be executed as part of the job | ||
| steps: | ||
| - name: Checkout | ||
| id: checkout | ||
| # from https://github.com/actions/checkout/commits/main | ||
| uses: actions/checkout@1f9a0c22da41e6ebfa534300ef656657ea2c6707 | ||
| with: | ||
| persist-credentials: false | ||
| fetch-depth: 0 | ||
|
|
||
| # from https://github.com/pagopa/opex-dashboard-azure-action/ | ||
| - uses: pagopa/opex-dashboard-azure-action@v1.1.2 | ||
| with: | ||
| environment: ${{ matrix.environment }} | ||
| api-name: ${{ env.API_NAME }} | ||
| config: .opex/${{ env.API_NAME }}/env/${{ matrix.environment }}/config.yaml | ||
| client-id: ${{ env.CLIENT_ID }} | ||
| tenant-id: ${{ env.TENANT_ID }} | ||
| subscription-id: ${{ env.SUBSCRIPTION_ID }} | ||
| # from https://github.com/pagopa/opex-dashboard-azure-action/pkgs/container/opex-dashboard-azure-action | ||
| docker-version: sha256:e4245954566cd3470e1b5527d33bb58ca132ce7493eac01be9e808fd25a11c8d |
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,64 @@ | ||
| name: Opex Dashboard api_auth | ||
|
|
||
| # Controls when the workflow will run | ||
| on: | ||
| workflow_dispatch: | ||
| push: | ||
| branches: | ||
| - master | ||
| paths: | ||
| - "api_auth.yaml" | ||
| - ".github/workflows/opex_api_auth.yml" | ||
| - ".opex/api_auth/**" | ||
| pull_request: | ||
| types: | ||
| - opened | ||
| - edited | ||
| - synchronize | ||
| - reopened | ||
| paths: | ||
| - "api_auth.yaml" | ||
| - ".github/workflows/opex_api_auth.yml" | ||
| - ".opex/api_auth/**" | ||
|
|
||
| env: | ||
| CLIENT_ID: 712582b4-1e38-4329-bfd2-5cd186e82529 | ||
| TENANT_ID: 7788edaf-0346-4068-9d79-c868aed15b3d | ||
| SUBSCRIPTION_ID: ec285037-c673-4f58-b594-d7c480da4e8b | ||
| API_NAME: api_auth | ||
|
|
||
| permissions: | ||
| id-token: write | ||
| contents: read | ||
|
|
||
| # A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
| jobs: | ||
| build: | ||
| # The type of runner that the job will run on | ||
| runs-on: ubuntu-22.04 | ||
|
|
||
| strategy: | ||
| matrix: | ||
| environment: [prod] | ||
|
|
||
| # Steps represent a sequence of tasks that will be executed as part of the job | ||
| steps: | ||
| - name: Checkout | ||
| id: checkout | ||
| # from https://github.com/actions/checkout/commits/main | ||
| uses: actions/checkout@1f9a0c22da41e6ebfa534300ef656657ea2c6707 | ||
| with: | ||
| persist-credentials: false | ||
| fetch-depth: 0 | ||
|
|
||
| # from https://github.com/pagopa/opex-dashboard-azure-action/ | ||
| - uses: pagopa/opex-dashboard-azure-action@v1.1.2 | ||
| with: | ||
| environment: ${{ matrix.environment }} | ||
| api-name: ${{ env.API_NAME }} | ||
| config: .opex/${{ env.API_NAME }}/env/${{ matrix.environment }}/config.yaml | ||
| client-id: ${{ env.CLIENT_ID }} | ||
| tenant-id: ${{ env.TENANT_ID }} | ||
| subscription-id: ${{ env.SUBSCRIPTION_ID }} | ||
| # from https://github.com/pagopa/opex-dashboard-azure-action/pkgs/container/opex-dashboard-azure-action | ||
| docker-version: sha256:e4245954566cd3470e1b5527d33bb58ca132ce7493eac01be9e808fd25a11c8d | ||
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,64 @@ | ||
| name: Opex Dashboard api_backend | ||
|
|
||
| # Controls when the workflow will run | ||
| on: | ||
| workflow_dispatch: | ||
| push: | ||
| branches: | ||
| - master | ||
| paths: | ||
| - 'api_auth.yaml' | ||
| - '.github/workflows/opex_api_auth.yml' | ||
| - '.opex/api_auth/**' | ||
| pull_request: | ||
| types: | ||
| - opened | ||
| - edited | ||
| - synchronize | ||
| - reopened | ||
| paths: | ||
| - 'api_backend.yaml' | ||
| - '.github/workflows/opex_api_backend.yml' | ||
| - '.opex/api_backend/**' | ||
|
|
||
| env: | ||
| CLIENT_ID: 712582b4-1e38-4329-bfd2-5cd186e82529 | ||
| TENANT_ID: 7788edaf-0346-4068-9d79-c868aed15b3d | ||
| SUBSCRIPTION_ID: ec285037-c673-4f58-b594-d7c480da4e8b | ||
| API_NAME: api_backend | ||
|
|
||
| permissions: | ||
| id-token: write | ||
| contents: read | ||
|
|
||
| # A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
| jobs: | ||
| build: | ||
| # The type of runner that the job will run on | ||
| runs-on: ubuntu-22.04 | ||
|
|
||
| strategy: | ||
| matrix: | ||
| environment: [prod] | ||
|
|
||
| # Steps represent a sequence of tasks that will be executed as part of the job | ||
| steps: | ||
| - name: Checkout | ||
| id: checkout | ||
| # from https://github.com/actions/checkout/commits/main | ||
| uses: actions/checkout@1f9a0c22da41e6ebfa534300ef656657ea2c6707 | ||
| with: | ||
| persist-credentials: false | ||
| fetch-depth: 0 | ||
|
|
||
| # from https://github.com/pagopa/opex-dashboard-azure-action/ | ||
| - uses: pagopa/opex-dashboard-azure-action@v1.1.2 | ||
| with: | ||
| environment: ${{ matrix.environment }} | ||
| api-name: ${{ env.API_NAME }} | ||
| config: .opex/${{ env.API_NAME }}/env/${{ matrix.environment }}/config.yaml | ||
| client-id: ${{ env.CLIENT_ID }} | ||
| tenant-id: ${{ env.TENANT_ID }} | ||
| subscription-id: ${{ env.SUBSCRIPTION_ID }} | ||
| # from https://github.com/pagopa/opex-dashboard-azure-action/pkgs/container/opex-dashboard-azure-action | ||
| docker-version: sha256:e4245954566cd3470e1b5527d33bb58ca132ce7493eac01be9e808fd25a11c8d |
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,64 @@ | ||
| name: Opex Dashboard api_cgn | ||
|
|
||
| # Controls when the workflow will run | ||
| on: | ||
| workflow_dispatch: | ||
| push: | ||
| branches: | ||
| - master | ||
| paths: | ||
| - 'api_auth.yaml' | ||
| - '.github/workflows/opex_api_auth.yml' | ||
| - '.opex/api_auth/**' | ||
| pull_request: | ||
| types: | ||
| - opened | ||
| - edited | ||
| - synchronize | ||
| - reopened | ||
| paths: | ||
| - 'api_cgn.yaml' | ||
| - '.github/workflows/opex_api_cgn.yml' | ||
| - '.opex/api_cgn/**' | ||
|
|
||
| env: | ||
| CLIENT_ID: 712582b4-1e38-4329-bfd2-5cd186e82529 | ||
| TENANT_ID: 7788edaf-0346-4068-9d79-c868aed15b3d | ||
| SUBSCRIPTION_ID: ec285037-c673-4f58-b594-d7c480da4e8b | ||
| API_NAME: api_cgn | ||
|
|
||
| permissions: | ||
| id-token: write | ||
| contents: read | ||
|
|
||
| # A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
| jobs: | ||
| build: | ||
| # The type of runner that the job will run on | ||
| runs-on: ubuntu-22.04 | ||
|
|
||
| strategy: | ||
| matrix: | ||
| environment: [prod] | ||
|
|
||
| # Steps represent a sequence of tasks that will be executed as part of the job | ||
| steps: | ||
| - name: Checkout | ||
| id: checkout | ||
| # from https://github.com/actions/checkout/commits/main | ||
| uses: actions/checkout@1f9a0c22da41e6ebfa534300ef656657ea2c6707 | ||
| with: | ||
| persist-credentials: false | ||
| fetch-depth: 0 | ||
|
|
||
| # from https://github.com/pagopa/opex-dashboard-azure-action/ | ||
| - uses: pagopa/opex-dashboard-azure-action@v1.1.2 | ||
| with: | ||
| environment: ${{ matrix.environment }} | ||
| api-name: ${{ env.API_NAME }} | ||
| config: .opex/${{ env.API_NAME }}/env/${{ matrix.environment }}/config.yaml | ||
| client-id: ${{ env.CLIENT_ID }} | ||
| tenant-id: ${{ env.TENANT_ID }} | ||
| subscription-id: ${{ env.SUBSCRIPTION_ID }} | ||
| # from https://github.com/pagopa/opex-dashboard-azure-action/pkgs/container/opex-dashboard-azure-action | ||
| docker-version: sha256:e4245954566cd3470e1b5527d33bb58ca132ce7493eac01be9e808fd25a11c8d |
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,64 @@ | ||
| name: Opex Dashboard api_cgn_operator_search | ||
|
|
||
| # Controls when the workflow will run | ||
| on: | ||
| workflow_dispatch: | ||
| push: | ||
| branches: | ||
| - master | ||
| paths: | ||
| - 'api_auth.yaml' | ||
| - '.github/workflows/opex_api_auth.yml' | ||
| - '.opex/api_auth/**' | ||
| pull_request: | ||
| types: | ||
| - opened | ||
| - edited | ||
| - synchronize | ||
| - reopened | ||
| paths: | ||
| - 'api_cgn_operator_search.yaml' | ||
| - '.github/workflows/opex_api_cgn_operator_search.yml' | ||
| - '.opex/api_cgn_operator_search/**' | ||
|
|
||
| env: | ||
| CLIENT_ID: 712582b4-1e38-4329-bfd2-5cd186e82529 | ||
| TENANT_ID: 7788edaf-0346-4068-9d79-c868aed15b3d | ||
| SUBSCRIPTION_ID: ec285037-c673-4f58-b594-d7c480da4e8b | ||
| API_NAME: api_cgn_operator_search | ||
|
|
||
| permissions: | ||
| id-token: write | ||
| contents: read | ||
|
|
||
| # A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
| jobs: | ||
| build: | ||
| # The type of runner that the job will run on | ||
| runs-on: ubuntu-22.04 | ||
|
|
||
| strategy: | ||
| matrix: | ||
| environment: [prod] | ||
|
|
||
| # Steps represent a sequence of tasks that will be executed as part of the job | ||
| steps: | ||
| - name: Checkout | ||
| id: checkout | ||
| # from https://github.com/actions/checkout/commits/main | ||
| uses: actions/checkout@1f9a0c22da41e6ebfa534300ef656657ea2c6707 | ||
| with: | ||
| persist-credentials: false | ||
| fetch-depth: 0 | ||
|
|
||
| # from https://github.com/pagopa/opex-dashboard-azure-action/ | ||
| - uses: pagopa/opex-dashboard-azure-action@v1.1.2 | ||
| with: | ||
| environment: ${{ matrix.environment }} | ||
| api-name: ${{ env.API_NAME }} | ||
| config: .opex/${{ env.API_NAME }}/env/${{ matrix.environment }}/config.yaml | ||
| client-id: ${{ env.CLIENT_ID }} | ||
| tenant-id: ${{ env.TENANT_ID }} | ||
| subscription-id: ${{ env.SUBSCRIPTION_ID }} | ||
| # from https://github.com/pagopa/opex-dashboard-azure-action/pkgs/container/opex-dashboard-azure-action | ||
| docker-version: sha256:e4245954566cd3470e1b5527d33bb58ca132ce7493eac01be9e808fd25a11c8d |
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.