Skip to content
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.

Fix template #4

Closed
wants to merge 197 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
197 commits
Select commit Hold shift + click to select a range
d45dd9a
initial commit
jacopocarlini Sep 14, 2022
fa4bda8
Merge pull request #1 from pagopa/temp
jacopocarlini Sep 14, 2022
3f47ef1
README.md
jacopocarlini Sep 14, 2022
087ecf7
readme
jacopocarlini Sep 15, 2022
567fe5a
Merge remote-tracking branch 'origin/main'
jacopocarlini Sep 15, 2022
2f55093
fix
jacopocarlini Sep 15, 2022
2e2678f
fix deploy-pipelines.yml
jacopocarlini Sep 15, 2022
b7a80fc
fix
jacopocarlini Sep 15, 2022
a388bc8
fix
jacopocarlini Sep 15, 2022
5c8c860
fix
jacopocarlini Sep 16, 2022
2420327
fix
jacopocarlini Sep 20, 2022
bb437ad
int test
jacopocarlini Sep 21, 2022
bd47805
fix
jacopocarlini Sep 21, 2022
53bb849
fix
jacopocarlini Sep 21, 2022
8c5f3f1
integration test
jacopocarlini Sep 22, 2022
d913233
load test
jacopocarlini Sep 22, 2022
344de5e
int test
jacopocarlini Sep 23, 2022
585cd1a
fix
jacopocarlini Sep 23, 2022
057dcc2
fix
jacopocarlini Sep 23, 2022
9974ae5
fix deploy
jacopocarlini Sep 30, 2022
40cc79b
fix
jacopocarlini Oct 12, 2022
8b35d38
fix
jacopocarlini Oct 12, 2022
8259cbc
fix
jacopocarlini Oct 12, 2022
dde48fa
fix
jacopocarlini Oct 12, 2022
bf9e5bd
performance test
jacopocarlini Oct 12, 2022
a4dddf2
fix
jacopocarlini Oct 13, 2022
41dcb7e
fix scripts
jacopocarlini Oct 14, 2022
798d9cb
Update README.md
jacopocarlini Oct 18, 2022
c07c405
fix scripts
jacopocarlini Oct 25, 2022
763cab2
Merge remote-tracking branch 'origin/main'
jacopocarlini Oct 25, 2022
c1bf305
fix prop
jacopocarlini Oct 25, 2022
81f22bb
fix prop
jacopocarlini Oct 25, 2022
fa4cc32
release
jacopocarlini Oct 25, 2022
baeaab8
anchore
jacopocarlini Oct 25, 2022
569e48a
new script
jacopocarlini Nov 3, 2022
1130701
added pre-commit
jacopocarlini Nov 7, 2022
944cc1a
new pipeline
jacopocarlini Nov 11, 2022
8f34d76
new version template
jacopocarlini Nov 11, 2022
115210f
new scripts
jacopocarlini Nov 21, 2022
86652ab
[k6] new test types
jacopocarlini Nov 22, 2022
73891c3
small fix
jacopocarlini Nov 22, 2022
e591aef
fix
jacopocarlini Nov 22, 2022
fdc11ab
fix
jacopocarlini Nov 22, 2022
662f5c4
fix
jacopocarlini Nov 22, 2022
74ba6d1
fix
jacopocarlini Nov 23, 2022
71533d1
set -e
jacopocarlini Nov 23, 2022
29fe2ca
new perf type
jacopocarlini Nov 23, 2022
9aa1d05
fix
jacopocarlini Nov 23, 2022
4f6e290
new pipeline UAT
jacopocarlini Nov 28, 2022
ca896d1
subkey as variable
jacopocarlini Nov 28, 2022
38375fd
dashboard
jacopocarlini Dec 14, 2022
7729e45
fix
jacopocarlini Dec 23, 2022
a237ca4
formatting
jacopocarlini Dec 23, 2022
e43412a
action
jacopocarlini Dec 23, 2022
12809ad
code review
jacopocarlini Dec 23, 2022
d6e99c2
Update run_docker.sh
jacopocarlini Jan 4, 2023
a35cbd5
fix
jacopocarlini Jan 5, 2023
1e8264e
Merge remote-tracking branch 'origin/main'
jacopocarlini Jan 5, 2023
f2adba0
fix action
jacopocarlini Jan 5, 2023
6f08e1b
try
jacopocarlini Jan 5, 2023
31e3e1a
fix
jacopocarlini Jan 5, 2023
ad93e25
Fix actions
jacopocarlini Jan 11, 2023
acb5106
Fix actions
jacopocarlini Jan 11, 2023
a0b7885
Fix actions
jacopocarlini Jan 11, 2023
1cf4a33
new actions
jacopocarlini Jan 16, 2023
935e65d
fix
jacopocarlini Jan 16, 2023
feb6c1c
fix
jacopocarlini Jan 16, 2023
9c4625a
fix
jacopocarlini Jan 17, 2023
96a888e
fix action
jacopocarlini Jan 17, 2023
b5a5fdc
Update code_review.yml
jacopocarlini Jan 17, 2023
15c7b59
fix
jacopocarlini Jan 17, 2023
21f6876
Merge remote-tracking branch 'origin/main'
jacopocarlini Jan 17, 2023
cb44d0b
fix
jacopocarlini Jan 17, 2023
73c99c0
fix
jacopocarlini Jan 17, 2023
3d5ec99
fix
jacopocarlini Jan 26, 2023
2ff28dd
fix actions
jacopocarlini Jan 31, 2023
29da371
fix
jacopocarlini Jan 31, 2023
1695d9f
fix
jacopocarlini Feb 9, 2023
0681aff
fix
jacopocarlini Feb 9, 2023
21c15a6
forcing container removal
FedericoRuzzier Mar 2, 2023
1ea40df
Merge pull request #2 from pagopa/performance-test-container-removal
jacopocarlini Mar 2, 2023
f9ee81f
identity
jacopocarlini Mar 7, 2023
186af24
Merge remote-tracking branch 'origin/main'
jacopocarlini Mar 7, 2023
d4b2a1d
code review
jacopocarlini Mar 10, 2023
6120ca3
name
jacopocarlini Mar 13, 2023
5641546
fix script terraform
jacopocarlini Mar 13, 2023
14ff2d2
secrets
jacopocarlini Mar 13, 2023
3e0cf59
update
jacopocarlini Mar 22, 2023
23dc17c
update
jacopocarlini Mar 22, 2023
1da3a9f
update
jacopocarlini Mar 22, 2023
1ed29ca
integration test
jacopocarlini Mar 27, 2023
f5191b1
opex
jacopocarlini Mar 27, 2023
da113c8
opex
jacopocarlini Mar 27, 2023
5c47ddd
opex
jacopocarlini Mar 27, 2023
3933180
k8s
jacopocarlini Mar 27, 2023
3f79405
resource_type: api-management
jacopocarlini Mar 27, 2023
4dc50ea
🔖 chore(pom.xml): remove name tag and update description
jacopocarlini Mar 28, 2023
9ab575c
fix
jacopocarlini Mar 29, 2023
91b3019
fix
jacopocarlini Mar 30, 2023
bdb6bc5
🔥 chore(integration_test.yml): remove notify job
jacopocarlini Apr 12, 2023
658a0f2
header canary
jacopocarlini Apr 14, 2023
61f0e66
integration test
jacopocarlini May 4, 2023
3668eb8
fix
jacopocarlini May 4, 2023
ce3a13d
template
jacopocarlini Jun 7, 2023
6e44226
template fix deploy
jacopocarlini Jun 7, 2023
ae01cc5
upgrade
jacopocarlini Jun 7, 2023
499b988
0.0.0
jacopocarlini Jun 7, 2023
694d901
labels
jacopocarlini Jun 7, 2023
bdd285c
fix
jacopocarlini Jun 7, 2023
52ae723
fix script docker
jacopocarlini Jun 7, 2023
3b4f69a
policy
jacopocarlini Jun 7, 2023
8d85383
fix canary
jacopocarlini Jun 8, 2023
fb24d5a
fix
jacopocarlini Jun 8, 2023
8c95341
fix
jacopocarlini Jun 8, 2023
b5cf517
fix
jacopocarlini Jun 9, 2023
7fef44f
badge
jacopocarlini Jun 9, 2023
7a005c7
fix
jacopocarlini Jun 9, 2023
944ee41
for each
jacopocarlini Jun 9, 2023
a0479cf
fix prod
jacopocarlini Jun 12, 2023
d2a6707
fix
jacopocarlini Jun 12, 2023
037c010
require label removed
jacopocarlini Jun 13, 2023
dfd1948
notify
jacopocarlini Jun 13, 2023
30b6cd0
team
jacopocarlini Jun 13, 2023
e3c84c3
team
jacopocarlini Jun 13, 2023
03fc300
team
jacopocarlini Jun 13, 2023
b26d013
icon
jacopocarlini Jun 14, 2023
0eef335
fix
jacopocarlini Jun 14, 2023
e54e5fc
use intellij formatting
jacopocarlini Jun 26, 2023
1d908bf
Merge pull request #3 from pagopa/formatter
jacopocarlini Jun 27, 2023
e560a74
infra
jacopocarlini Jun 27, 2023
72a732d
fix
jacopocarlini Jun 28, 2023
2cab8a8
fix
jacopocarlini Jun 28, 2023
7f17893
Merge remote-tracking branch 'origin/main'
jacopocarlini Jun 28, 2023
a426516
fix
jacopocarlini Jun 28, 2023
f136dcd
new
jacopocarlini Jun 28, 2023
0774459
delete space
jacopocarlini Jun 28, 2023
f45ae32
generatre openapi
jacopocarlini Jun 28, 2023
2303163
fix bot
jacopocarlini Jun 30, 2023
27efcec
no docker
jacopocarlini Jun 30, 2023
74905ba
weu
jacopocarlini Jun 30, 2023
e97ed03
hostname
jacopocarlini Jun 30, 2023
ce037ce
fix check size
jacopocarlini Jul 24, 2023
577b29b
local
jacopocarlini Jul 24, 2023
d94f1db
local
jacopocarlini Jul 24, 2023
21d228b
readme
jacopocarlini Jul 24, 2023
5fcd25a
open telemetry agent
jacopocarlini Jul 25, 2023
009b2af
fix
jacopocarlini Jul 27, 2023
b03ea99
style
jacopocarlini Aug 8, 2023
37d7caf
chart
jacopocarlini Aug 9, 2023
630dd3f
bump GHA
jacopocarlini Sep 8, 2023
3b2fd17
deploy GHA
jacopocarlini Sep 8, 2023
cb10d25
deploy GHA
jacopocarlini Sep 8, 2023
8f75568
port
jacopocarlini Sep 8, 2023
513e899
logging
jacopocarlini Oct 3, 2023
416b422
logging
jacopocarlini Oct 11, 2023
d00073c
update GHA
jacopocarlini Oct 12, 2023
bbfc2bf
release and deploy
jacopocarlini Dec 13, 2023
d0ea760
skip
jacopocarlini Dec 19, 2023
7572289
template
jacopocarlini Jan 25, 2024
83a2fb1
template fix logging
jacopocarlini Jan 25, 2024
9bf9db7
new version
jacopocarlini Apr 23, 2024
31fb43e
typo
jacopocarlini May 7, 2024
35ad74c
added sops.sh
jacopocarlini May 7, 2024
0a2759a
template
jacopocarlini May 10, 2024
3216821
true
jacopocarlini May 10, 2024
4143985
fix
jacopocarlini May 10, 2024
a08d830
update gha
jacopocarlini May 10, 2024
f715954
fix
jacopocarlini May 10, 2024
8572c15
Pin dependencies
renovate-pagopa[bot] Nov 21, 2024
ab95a21
feat: new GHA and identity
jacopocarlini Nov 21, 2024
01dd3fb
.
jacopocarlini Nov 25, 2024
2bd560a
update
jacopocarlini Nov 25, 2024
4a2cc24
replace javax imports with jakarta
gioelemella Dec 2, 2024
3b3af33
updated README
gioelemella Dec 2, 2024
c4ac4dd
updated helm charts with default app env and fixed application insigh…
gioelemella Dec 2, 2024
9bfcf42
fixed cors configuration properties that caused application startup f…
gioelemella Dec 2, 2024
8c51ecc
removed junit unused dependency, replaced springdoc-openapi-ui with s…
gioelemella Dec 2, 2024
d054994
Merge remote-tracking branch 'origin/renovate/pin-dependencies'
jacopocarlini Dec 2, 2024
a2faa7e
fix tests
gioelemella Dec 2, 2024
a963d2b
Apply suggestions from code review
jacopocarlini Dec 2, 2024
5d5f117
Apply suggestions from code review
jacopocarlini Dec 2, 2024
265ad43
Update src/main/java/it/gov/pagopa/microservice/config/OpenApiConfig.…
jacopocarlini Dec 2, 2024
3795843
Update src/main/java/it/gov/pagopa/microservice/config/ResponseValida…
jacopocarlini Dec 2, 2024
2cd5974
Apply suggestions from code review
jacopocarlini Dec 2, 2024
2df2f84
Update src/main/java/it/gov/pagopa/microservice/config/ResponseValida…
jacopocarlini Dec 2, 2024
6cded1f
Update src/main/java/it/gov/pagopa/microservice/exception/ErrorHandle…
jacopocarlini Dec 2, 2024
79a62a6
Update src/main/java/it/gov/pagopa/microservice/exception/ErrorHandle…
jacopocarlini Dec 2, 2024
e9fa382
Update src/main/java/it/gov/pagopa/microservice/model/ProblemJson.java
jacopocarlini Dec 2, 2024
9956588
Update src/main/java/it/gov/pagopa/microservice/config/ResponseValida…
jacopocarlini Dec 2, 2024
8b80f83
Update src/main/java/it/gov/pagopa/microservice/exception/ErrorHandle…
jacopocarlini Dec 2, 2024
2c7f239
Update src/main/java/it/gov/pagopa/microservice/config/LoggingAspect.…
jacopocarlini Dec 2, 2024
dc03438
Update src/main/java/it/gov/pagopa/microservice/config/LoggingAspect.…
jacopocarlini Dec 2, 2024
1733162
formatter
jacopocarlini Dec 2, 2024
719de7e
formatter
jacopocarlini Dec 2, 2024
bc30d96
formatter
jacopocarlini Dec 2, 2024
f5262ab
style(CommonUtility.java): remove unnecessary semicolons and improve …
jacopocarlini Dec 18, 2024
752e3ce
Merge branch 'main' into fix-template
jacopocarlini Dec 18, 2024
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
52 changes: 0 additions & 52 deletions .devops/code-review-pipelines.yml

This file was deleted.

100 changes: 0 additions & 100 deletions .devops/deploy-pipelines.yml

This file was deleted.

51 changes: 51 additions & 0 deletions .devops/performance-test-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# azure-pipelines.yml
trigger: none

parameters:
- name: "ENVIRONMENT"
displayName: "Environment"
type: string
values:
- "dev"
- "uat"
default: "uat"
- name: "TEST_TYPE"
displayName: "Test type"
type: string
values:
- "load"
- "smoke"
- "soak"
- "spike"
- "stress"
- "constant"
- # TODO: add your values
default: "constant"
- name: "SCRIPT"
displayName: "Script name"
type: string
values:
- yourscriptname # TODO: add your script
variables:
${{ if eq(parameters['ENVIRONMENT'], 'dev') }}:
poolImage: 'pagopa-dev-loadtest-linux'
API_SUBSCRIPTION_KEY: $(DEV_API_SUBSCRIPTION_KEY)
${{ if eq(parameters['ENVIRONMENT'], 'uat') }}:
poolImage: 'pagopa-uat-loadtest-linux'
API_SUBSCRIPTION_KEY: $(UAT_API_SUBSCRIPTION_KEY)


pool:
name: $(poolImage)

steps:
- script: |
cd ./performance-test/src
docker pull grafana/k6
displayName: Pull k6 image

# TODO: add your env params
- script: |
cd ./performance-test
sh ./run_performance_test.sh ${{ parameters.ENVIRONMENT }} ${{ parameters.TEST_TYPE }} ${{ parameters.SCRIPT }} afmcalculatork6 $(API_SUBSCRIPTION_KEY)
displayName: Run k6 ${{ parameters.SCRIPT }} on ${{ parameters.ENVIRONMENT }}
36 changes: 36 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<!--- Please always add a PR description as if nobody knows anything about the context these changes come from. -->
<!--- Even if we are all from our internal team, we may not be on the same page. -->
<!--- Write this PR as you were contributing to a public OSS project, where nobody knows you and you have to earn their trust. -->
<!--- This will improve our projects in the long run! Thanks. -->

#### List of Changes

<!--- Describe your changes in detail -->

#### Motivation and Context

<!--- Why is this change required? What problem does it solve? -->

#### How Has This Been Tested?

<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, tests ran to see how -->
<!--- your change affects other areas of the code, etc. -->

#### Screenshots (if appropriate):

#### Types of changes

<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

#### Checklist:

<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->

- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
3 changes: 3 additions & 0 deletions .github/auto_assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
addAssignees: author

runOnDraft: true
25 changes: 25 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# release.yml

changelog:
exclude:
labels:
- ignore-for-release
- skip
authors:
- pagopa-github-bot
categories:
- title: Breaking Changes 🛠
labels:
- breaking-change
- major
- title: Exciting New Features 🎉
labels:
- enhancement
- minor
- title: Bug Fixing 🔥
labels:
- bug
- patch
- title: Other Changes
labels:
- "*"
57 changes: 57 additions & 0 deletions .github/rulesets_main.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"id": 2696772,
"name": "main",
"target": "branch",
"source_type": "Repository",
"source": "pagopa/pagopa-receipt-pdf-service",
"enforcement": "active",
"conditions": {
"ref_name": {
"exclude": [],
"include": [
"refs/heads/main"
]
}
},
"rules": [
{
"type": "deletion"
},
{
"type": "non_fast_forward"
},
{
"type": "pull_request",
"parameters": {
"required_approving_review_count": 1,
"dismiss_stale_reviews_on_push": false,
"require_code_owner_review": true,
"require_last_push_approval": false,
"required_review_thread_resolution": false,
"automatic_copilot_code_review_enabled": false
}
},
{
"type": "required_status_checks",
"parameters": {
"strict_required_status_checks_policy": false,
"do_not_enforce_on_create": false,
"required_status_checks": [
{
"context": "Check Required Labels",
"integration_id": 15368
},
{
"context": "Code Review",
"integration_id": 15368
},
{
"context": "SonarCloud Code Analysis",
"integration_id": 12526
}
]
}
}
],
"bypass_actors": []
}
54 changes: 54 additions & 0 deletions .github/workflows/anchore.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

# This workflow checks out code, builds an image, performs a container image
# vulnerability scan with Anchore's Grype tool, and integrates the results with GitHub Advanced Security
# code scanning feature. For more information on the Anchore scan action usage
# and parameters, see https://github.com/anchore/scan-action. For more
# information on Anchore's container image scanning tool Grype, see
# https://github.com/anchore/grype
name: Anchore Container Scan

on:
push:
branches: [ "main" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
schedule:
- cron: '00 07 * * *'

permissions:
contents: read

env:
DOCKERFILE: Dockerfile

jobs:
Anchore-Build-Scan:
permissions:
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3

- name: Build the Docker image
run: docker build . --file ${{ env.DOCKERFILE }} --tag localbuild/testimage:latest

- name: Run the Anchore scan action itself with GitHub Advanced Security code scanning integration enabled
uses: anchore/scan-action@3343887d815d7b07465f6fdcd395bd66508d486a # v3
with:
image: "localbuild/testimage:latest"
acs-report-enable: true
fail-build: true
severity-cutoff: "high"
- name: Upload Anchore Scan Report
uses: github/codeql-action/upload-sarif@e2b57b01d64b69ac273abfbea5d3ed15231e1706 # v2
if: always()
with:
sarif_file: results.sarif
Loading
Loading