Skip to content

GA26Q1.A

Latest

Choose a tag to compare

@mmancini95 mmancini95 released this 02 Mar 17:07
7d9cc6a
chore/qa-12893 allineamento main branch (#932)

* QA-12314 feat: adeguate interfacce client v3

* QA-12314 chore: add package interceptor/dpop

* QA-12314 feat(DigestValidationInterceptor): add check header "Digest"

* QA-12314 feat(IntegrityValidationInterceptor): add check header "Digest" and "Agid-JWT-Signature"

* QA-12314 refactor(AbstractDPoPClient): add getApiClient

* QA-12314 chore: renaming and move package

* QA-12314 chore(DigestValidationInterceptor): delete

* QA-12314 fix(producer-keychains.feature): Scenario [CREATE_PRODUCER_KEYCHAINS_KEY_1]

* QA-12314 fix(IntegrityValidationInterceptor): add log in catch

* QA-12314 feat(ClientTokenConfigurator): add IM2MV3UsersClient

* QA-12314 feat: aggiunta DPoP M2MV3UsersClient

* QA-12314 feat(InteropCucumberSpringIntegration): aggiunta M2MV3UsersClient

* QA-12314 fix: rimossi parameters dal claim htu

* QA-12314 fix: adeguato AbstractDPoPClient

* QA-12314 feat: aggiornato auth ClientTokenConfigurator

* QA-12314 fix: rimossi parameters dal claim htu

* QA-12314 feat(InteropCucumberSpringIntegration): aggiunta associazione utente producer keychain

* QA-12314 fix: polling

* QA-12314 fix: modifica id

* QA-12314 feat: aggiunta polling risposta

* QA-12314 fix: rimosse classi non utili

* QA-12314 feat: update nrt v2 e introdotta nrt v3

* QA-12314 feat(Auth): add equals

* QA-12314 feat(M2MAuthSteps): conditional auth in authenticateM2MUser

* QA-12314 refactor(DpopRestTemplate): delete prefatch in setAuth

* QA-12314 refactor(DPoPAccessTokenSupplier): add TokenState

* QA-12314 chore(probing.feature): 5k eservice in Scenario [LOAD]

* QA-12314 chore(application-qa.properties): new token

* QA-12314 feat(ProbingLoadTest): add runner class

* QA-12314 fix(ClientTokenConfigurator): handle exception

* QA-12314 fix(ProbingLoadTest): ExcludeTags

* QA-12314 chore(probing.feature): 2.5K eservice in Scenario [LOAD]

* QA-12314 fix(agreements.feature): Scenario [M2M_AGREEMENTS_LIST_2]

* QA-12314 fix(agreements.feature): Scenari 401

* QA-12314 fix(eservices.feature): Scenari 401

* QA-12314 fix(e-service-templates.feature): Scenari 401

* QA-12314 fix(documents.feature): Scenari 401

* QA-12314 feat(DpopHeaderPolicy): add header policies

* QA-12314 feat(Auth): add DpopHeaderPolicy

* QA-12314 chore(InteropRestTemplateConfiguration): code lint

* QA-12314 refactor(DpopRestTemplate): setAuth

* QA-12314 refactor(DPoPTokenInterceptor): handle DpopHeaderPolicy in intercept

* QA-12314 refactor(DPoPAuthInterceptor): handle DpopHeaderPolicy in intercept

* QA-12314 feat(SharedStepsContext): add Auth

* QA-12314 refactor(M2MAuthSteps): update SharedStepContext Auth in authenticateM2MUser

* QA-12314 refactor(M2MAuthSteps): setExpiredM2MAuth

* QA-12314 chore(probing.feature): 1k totalEservices in Scenario [LOAD]

* QA-12314 chore(probing.feature): totalEservices in Scenario [LOAD]

* QA-12314 fix: adeguato [INTEROP-EST-M2M-UNSUSPEND_05]

Adeguati i risultati di [INTEROP-EST-M2M-UNSUSPEND_05] a quelli restituiti (chiesta conferma qui https://pagopa.atlassian.net/browse/PIN-7827?focusedCommentId=295444 )

* fix(NotificationClientImpl): adeguato a DTOs generati dalla nuova v. di OpenAPI Generator

* QA-12314 fix(M2MV3UsersClient): modifica scope

* QA-12314 refactor(producer-keychains.feature): merge scenarios into existing scenario outlines

* QA-12314 fix(producer-keychains.feature): status 404

* QA-12314 feat(M2MAuthSteps): add steps to remove Authorization and DPoP headers

* QA-12314 feat: cover invalid token and missing auth/DPoP headers

* QA-12764 refactor: token DSL

* QA-12764 chore(ClientSteps): move ClientSteps in m2m/client

* QA-12764 feat: Scenario [M2M_CLIENTS_PURPOSES_CATALOG]

* QA-12764 fix(ClientResolver): resolveClientId

* QA-12764 fix(ClientSteps): getClientPurposesWithPaginationAndFilters

* QA-12764 fix(M2MClientsClientImpl): getClientPurposes

* QA-12764 feat(clients.feature): add [M2M_CLIENTS_PURPOSES_CATALOG_2], [M2M_CLIENTS_PURPOSES_CATALOG_3]

* QA-12764 feat(HotfixTest): add runner class

* QA-12764 chore(pom.xml): bff and m2m inputSpec

* QA-11072 refactor(probing.feature): use new status code method

* QA-12764 chore(pom.xml): bff and m2m inputSpec

* QA-11072 refactor(PurposesSteps): use nullableBoolean

* QA-11072 fix(IEserviceTemplateClient): getDocumentWithHttpInfo

* QA-11072 fix(InteropCucumberSpringIntegration): import Mapper interface

* QA-11072 fix(ResolvableToken): delete ResolvableToken in enums package

* QA-11072 fix(StepParser): import ResolvableToken

* QA-11072 refactor(PurposeTemplateResolver): use AbstractResolver

* QA-11072 fix(ResolvableToken): delete ResolvableToken in enums package

* QA-11072 fix(StepParser): import ResolvableToken

* QA-11072 refactor(PurposeTemplateResolver): use AbstractResolver

* QA-11072 fix(InteropCucumberSpringIntegration): import Mapper interface

# Conflicts:
#	interop-qa-tests/src/test/java/it/pagopa/pn/interop/cucumber/steps/config/InteropCucumberSpringIntegration.java

* QA-12764 feat(ResolvableToken): add in utility/enums

* QA-11072 refactor(PurposesSteps): use nullableBoolean

* QA-12764 refactor: add resolveEserviceId in AbstractResolver

* QA-12764 chore(pom.xml): bff and m2m inputSpec

* QA-12764 fix(InteropCucumberSpringIntegration): Mapper -> MapperImpl

* QA-12764 fix(InteropCucumberSpringIntegration): Mapper -> MapperImpl

* QA-12314 fix(purposes.feature): Scenario [M2M_PURPOSES_LIST_2]

* QA-12314 fix(purposes.feature): Scenario [M2M_PURPOSES_VERSIONS_4]

* QA-12314 fix(purposes.feature): Scenario [M2M_PURPOSES_VERSIONS_7]

* QA-12314 fix(purposes.feature): Scenario [M2M_PURPOSES_ACTIVATE_4]

* QA-12314 fix(purposes.feature): Scenario [M2M_PURPOSES_SUSPEND_4]

* QA-12314 fix(purposes.feature): Scenario [M2MG_PURPOSES_37]

* QA-12314 fix(purposes.feature): Scenario [M2MG_PURPOSES_46]

* QA-12314 fix(purposes.feature): Scenario [M2MG_PURPOSES_55]

* QA-12314 fix(purposes.feature): Scenario [M2M_PURPOSES_AGREEMENT_2]

* QA-12314 fix(purposes.feature): Scenario [M2M_PURPOSES_DOCUMENT_2]

* QA-12314 fix(clients.feature): Scenario [M2M_CLIENTS_PURPOSES_2]

* QA-12314 fix(attributes.feature): Scenario [M2MG_CERTIFIEDATTRIBUTES_3]

* QA-12314 fix(attributes.feature): Scenario [M2MG_CERTIFIEDATTRIBUTES_8]

* QA-12314 fix(attributes.feature): Scenario [M2MG_DECLAREDATTRIBUTES_3]

* QA-12314 fix(attributes.feature): Scenario [M2MG_VERIFIEDATTRIBUTES_3]

* QA-12314 fix(attributes.feature): Scenario [M2MG_VERIFIEDATTRIBUTES_8]

* QA-12314 fix(attributes.feature): Scenario [M2MG_VERIFIEDATTRIBUTES_10]

* QA-12314 refactor: align step names for Authentication and DPoP header removal

* QA-12314 feat: add createProducerKeychainKey method

* QA-12314 refactor(producer-keychains): drop EC algorithm, use RSA only for key generation

* QA-12823 feat([TC_INCARICATO_91]): controllo ulteriore su prima finalità

* fix([INTEROP-EST-070]): response status atteso

Come d'accordo si modifica il risultato atteso https://pagopaspa.slack.com/archives/C069AP16WG7/p1771920535119219?thread_ts=1771863085.164299&cid=C069AP16WG7

* fix: edit dello scenario MANDATE_TEMP_ACCEPTATION_FAILED_WRONG_NONCE con correzione del codice d'errore atteso (422 anziché 500).
Edit dello step incaricato di ricreare tale scenario, con il wrongNonce che viene settato in fase di creazione dei dati CIE (anziché editato a posteriori)

* QA-12314 refactor(producer-keychains): drop EC algorithm, use RSA only for key generation

* fix: aggiunta attesa attiva test

Le due ops. di cancellazione in [PURPOSE_TEMPLATE_RISK_ANALYSIS_ANSWER_DELETE_ANNOTATION_DOCUMENT_ALREADY_DELETED] avvenivano in rapida successione, provocando errore 500

* QA-12314 fix(users.feature):400 instead of 401 for invalid token and missing auth/DPoP headers

* QA-12314 fix(purposes.feature): Scenario [M2M_PURPOSES_LIST_2]

* QA-12314 fix(purposes.feature): Scenario [M2M_PURPOSES_VERSIONS_4]

* QA-12314 fix(purposes.feature): Scenario [M2M_PURPOSES_VERSIONS_7]

* QA-12314 fix(purposes.feature): Scenario [M2M_PURPOSES_ACTIVATE_4]

* QA-12314 fix(purposes.feature): Scenario [M2M_PURPOSES_SUSPEND_4]

* QA-12314 fix(purposes.feature): Scenario [M2MG_PURPOSES_37]

* QA-12314 fix(purposes.feature): Scenario [M2MG_PURPOSES_46]

* QA-12314 fix(purposes.feature): Scenario [M2MG_PURPOSES_55]

* QA-12314 fix(purposes.feature): Scenario [M2M_PURPOSES_AGREEMENT_2]

* QA-12314 fix(purposes.feature): Scenario [M2M_PURPOSES_DOCUMENT_2]

* QA-12314 fix(clients.feature): Scenario [M2M_CLIENTS_PURPOSES_2]

* QA-12314 fix(attributes.feature): Scenario [M2MG_CERTIFIEDATTRIBUTES_3]

* QA-12314 fix(attributes.feature): Scenario [M2MG_CERTIFIEDATTRIBUTES_8]

* QA-12314 fix(attributes.feature): Scenario [M2MG_DECLAREDATTRIBUTES_3]

* QA-12314 fix(attributes.feature): Scenario [M2MG_VERIFIEDATTRIBUTES_3]

* QA-12314 fix(attributes.feature): Scenario [M2MG_VERIFIEDATTRIBUTES_8]

* QA-12314 fix(attributes.feature): Scenario [M2MG_VERIFIEDATTRIBUTES_10]

* QA-12314 refactor: align step names for Authentication and DPoP header removal

* QA-12314 feat: add createProducerKeychainKey method

* QA-12314 refactor(producer-keychains): drop EC algorithm, use RSA only for key generation

* QA-12314 refactor(producer-keychains): drop EC algorithm, use RSA only for key generation

* QA-12314 feat(producer-keychains): cover invalid token and missing auth/DPoP headers

* QA-12314 fix:401 for invalid token

* QA-12314 fix:swap parameters order

* QA-12314 fix(M2MV3ProducerKeychainsClient) :update IllegalStateException message

* QA-12858 fix([DESCRIPTOR_IMPORT_3]): update risk analysis

E' stata aggiornata la versione della risk analysis usandone una creata a partire da un e-service in modalità receive, sfruttando il test [DESCRIPTOR_EXPORT_4]

* QA-12858 feat([DESCRIPTOR_IMPORT_3_B]): test per r. analysis obsoleta

* fix: edit di alcuni scenari della suite DelegheTemporaneeTest.
1) metodo della generazione QR code rivisto e irrobustito
2) metodo per mettere il thread in pausa rivisto (ora si può scegliere quanti minuti aspettare, a seconda di cosa si vuole far scadere)

* fix: inversione del setting di taxId e lollipop user id nello scenario che si propone di testare il 403 in caso di valori non coincidenti. Il taxId veniva cachato e poteva portare a KO inattesi, il lollipop user id invece no

* QA-12314 fix: concluso allineamento con develop

* QA-12314 fix: aggiunto FileDownloadMultipartConverterV3

La sua assenza impediva l'esecuzione di test relativi a quelle APIs V3 che restituiscono un oggetto di tipo FileDownloadMultipart

* fix: fix al valore dei millisecondi da aspettare per la scadenza delega;
Miglioramento leggibilità scenari;
Creazione del metodo rejectPermanentMandateIfPresent (simile a userRejectIfPresentMandateOfAnotherUser presente in RicezioneNotificheWebDelegheSteps, ma con la differenza che non fa l'assert sulla mancanza di errori richiamando la reject...questo perchè l'esecuzione parallela di più scenari potrebbe portare a 404 inattesi)

* fix: replace dello step di RicezioneNotificheWebDelegheSteps con quello di DelegheTemporaneeSteps...rimozione refuso

* fix: gestione dell'ipotetico errore 404 invocando rejectPermanentMandateIfPresent

* fix: prevenzione logInjection

* QA-11072 probing: update params

* QA-11072 probing: update params

* QA-12314 feat(PatchOperationsAssistant): adattato anche a API v3

* QA-12314 fix: rimosso M2MFalseNegativeTest.java

Rimossa classe e tag obsoleti

* QA-17466 - feature (correzione timeline): clean code base

* QA-11072 probing: update params

* QA-12314 feat(purposes.feature): add Scenario [M2M_PATCH_DRAFT_PURPOSE_1.2]

* QA-12314 fix(purposes.feature): delete Example 7 in Scenario [M2M_PATCH_DRAFT_PURPOSE_1.1]

* QA-11072 chore(application-qa.properties): update token

* QA-12764 chore: update tag @hotfix21500 in @hotfix-2.15

* fix: visualizzazione notifica con delega temporanea tramite appIO (in precedenza solo tramite API bff)

* QA-12764 chore: rename HotfixTest.java in HotfixTest_2_15.java

* fix: revert di modifica sul metodo "sanitizeLog" (suggerimento errato, o meglio, superfluo del Git Lint)

* QA-11072 feat(AbstractResolver): add resolveOrParse overload

* QA-12885 feat: 400 -> 409 per test specifici

* QA-12885 fix: rimosso commento superfluo

* QA-12314 feat: check status code per api set

* fix: leggere migliorie per leggibilità

* fix: leggere migliorie per leggibilità

* QA-12314 fix(producer-keychains.feature): Scenario [M2M_V3_DELETE_PRODUCER_KEYCHAINS_USERS_ASSOCIATION_1]

* QA-12314 fix(IntegrityValidationInterceptor): gestione array

* QA-11072 chore(pom.xml): add probing execution

* QA-12314 feat: 204 -> 200 DELETE endpoints

* QA-12314 feat(M2MV3DeltaTest): add runner class

* QA-12314 fix(producer-keychains.feature): adeguamenti alle fix rilasciate per V3

* QA-12314 fix(producer-keychains.feature): adeguamenti alle fix rilasciate per V3

* QA-12314 feat: aggiunto ApiSet a ApiProfile

* QA-12314 feat: 204 -> 200 POST endpoints

* feat: aggiornata versione api-cruscotto-assistenza-pn-service-desk-v1.yaml nel pom.xml

* revert: ripristinate modifiche effettuate in RestTemplateConfiguration

* QA-12314 fix(producer-keychains.feature): adeguamenti alle fix rilasciate per V3

* QA-12314 fix: post merge e cast client

* QA-12314 fix: config test v3

* revert: ripristinate modifiche in application.properties

* fix: rimossa annotazione di test non utilizzata

* QA-12314 fix: patch framework per v2

* QA-12314 feat: config con RIGHT_FIT

* QA-12314 fix: patch framework per v3

* QA-12314 feat(SetApiProfilePropsPlugin): add cucumber plugin

* chore: aumento durata del token da 2h a 4h

* QA-12314 feat: commento ticket aperto

* fix(e-service-template.feature): Scenario [INTEROP-EST-208]

* fix(DelegationCreateStep): authAndConsumerDelegation

* QA-12314 fix: patch test framework

* QA-12314 feat: aggiunto in run v3 anche il delta

* QA-12314 fix([TC_INCARICATO_47])

Internamente veniva erroneamente usato il ruolo "admin" per inoltrare la richiesta di delega da parte del delegante

* feat(pre-esiti): definiti nuovi scenari di test relativi alla feature di pre-esiti.

* feat(CodeQL): puliti log in B2bUtils rimuovendo il secret

---------

Co-authored-by: Vincenzo Massaro <vincenzo.massaro@alten.it>
Co-authored-by: gveldorale <giuseppe.veldorale@alten.it>
Co-authored-by: 99niccoloCacace <niccolo.cacace@alten.it>
Co-authored-by: Matteo Sperati <matteo.sperati@dgsspa.com>
Co-authored-by: speratimatteo <131249792+speratimatteo@users.noreply.github.com>
Co-authored-by: Tullio Ranieri <ranieritullio@gmail.com>
Co-authored-by: Francesco Sinopoli <120647628+francescosinopoli@users.noreply.github.com>
Co-authored-by: tulli086 <65277536+tulli086@users.noreply.github.com>
Co-authored-by: Emanuele Scozzafava <manu71@gmail.com>