-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit 7be7c2e Author: Giuliano Pintori <pintori@link.it> Date: Mon Jun 28 18:54:46 2021 +0200 Issue #345 Aggiunta ricerca esatta di una riconciliazione per la nuova coppia ( codDominio, idRiconciliazione ) anche nelle vecchie API. Corretti problemi di retrocompatibilita' con la nuova procedura di acquisizione. commit 07e0b7f Merge: a6c1b55 fb3ecc0 Author: Giuliano Pintori <pintori@link.it> Date: Mon Jun 28 09:36:07 2021 +0200 Merge branch '3.5.x' into feature/345_api_ragioneria_v3 commit a6c1b55 Author: Giuliano Pintori <pintori@link.it> Date: Mon Jun 28 09:34:11 2021 +0200 Issue #345 Aggiunta gestione degli incassi come batch. commit 65c19de Author: Giuliano Pintori <pintori@link.it> Date: Wed Jun 23 12:22:36 2021 +0200 Issue #345 Aggiunta versione V3 delle API-Ragioneria. Aggiunti test di verifica funzionalita' commit c8528e3 Author: Lorenzo Nardi <nardi@link.it> Date: Mon Jun 21 12:09:43 2021 +0200 Issue #345: Aggiunta possibilita di elaborazione asincrona della riconciliazione commit 92b2f0f Author: Lorenzo Nardi <nardi@link.it> Date: Mon Jun 21 09:18:11 2021 +0200 Aggiunto esempio riconciliazione altro intermediario commit 8bcc4f5 Author: Lorenzo Nardi <nardi@link.it> Date: Fri Jun 18 18:43:27 2021 +0200 Inserito esempio di ricerca riconciliazioni commit 807ad8c Author: Lorenzo Nardi <nardi@link.it> Date: Fri Jun 18 18:31:09 2021 +0200 Aggiornato openapi v3 ragioneria
- Loading branch information
Showing
121 changed files
with
9,376 additions
and
1,425 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
...t/src/test/java/test/api/ragioneria/v3/riconciliazioni/RagioneriaRiconciliazioniTest.java
This file contains 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,28 @@ | ||
package test.api.ragioneria.v3.riconciliazioni; | ||
|
||
import java.io.File; | ||
|
||
import org.junit.AfterClass; | ||
import org.junit.BeforeClass; | ||
import org.junit.runner.RunWith; | ||
|
||
import com.intuit.karate.FileUtils; | ||
import com.intuit.karate.junit4.Karate; | ||
import com.intuit.karate.netty.FeatureServer; | ||
|
||
@RunWith(Karate.class) | ||
public class RagioneriaRiconciliazioniTest { | ||
|
||
private static FeatureServer mockservice; | ||
|
||
@BeforeClass | ||
public static void beforeClass() { | ||
File file = FileUtils.getFileRelativeTo(RagioneriaRiconciliazioniTest.class, "../../../../../utils/mock-ente.feature"); | ||
mockservice = FeatureServer.start(file, 8888, false, null); | ||
} | ||
|
||
@AfterClass | ||
public static void afterClass() { | ||
mockservice.stop(); | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...-test/src/test/java/test/api/ragioneria/v3/riconciliazioni/get/msg/applicazione_auth.json
This file contains 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,19 @@ | ||
{ | ||
"principal": '#(idA2A)', | ||
"codificaAvvisi": { | ||
"codificaIuv": "34", | ||
"regExpIuv": ".*", | ||
"generazioneIuvInterna": false | ||
}, | ||
"domini": [ '#(idDominio)' ], | ||
"tipiPendenza": [ ], | ||
"apiPagamenti": true, | ||
"apiPendenze": true, | ||
"apiRagioneria": true, | ||
"acl": [ ], | ||
"servizioIntegrazione": { | ||
"url": '#(ente_api_url + "/v1")', | ||
"versioneApi": "REST v1" | ||
}, | ||
"abilitato": true | ||
} |
19 changes: 19 additions & 0 deletions
19
...c/test/java/test/api/ragioneria/v3/riconciliazioni/get/msg/applicazione_disabilitato.json
This file contains 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,19 @@ | ||
{ | ||
"principal": '#(idA2A)', | ||
"codificaAvvisi": { | ||
"codificaIuv": "34", | ||
"regExpIuv": ".*", | ||
"generazioneIuvInterna": false | ||
}, | ||
"domini": [ "*" ], | ||
"tipiPendenza": [ "*" ], | ||
"apiPagamenti": true, | ||
"apiPendenze": true, | ||
"apiRagioneria": true, | ||
"acl": [ ], | ||
"servizioIntegrazione": { | ||
"url": '#(ente_api_url + "/v1")', | ||
"versioneApi": "REST v1" | ||
}, | ||
"abilitato": false | ||
} |
19 changes: 19 additions & 0 deletions
19
...test/java/test/api/ragioneria/v3/riconciliazioni/get/msg/applicazione_nonAuthDominio.json
This file contains 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,19 @@ | ||
{ | ||
"principal": '#(idA2A)', | ||
"codificaAvvisi": { | ||
"codificaIuv": "34", | ||
"regExpIuv": ".*", | ||
"generazioneIuvInterna": false | ||
}, | ||
"domini": [ ], | ||
"tipiPendenza": ['*'], | ||
"apiPagamenti": true, | ||
"apiPendenze": true, | ||
"apiRagioneria": true, | ||
"acl": [ ], | ||
"servizioIntegrazione": { | ||
"url": '#(ente_api_url + "/v1")', | ||
"versioneApi": "REST v1" | ||
}, | ||
"abilitato": true | ||
} |
19 changes: 19 additions & 0 deletions
19
...est/java/test/api/ragioneria/v3/riconciliazioni/get/msg/applicazione_nonAuthServizio.json
This file contains 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,19 @@ | ||
{ | ||
"principal": '#(idA2A)', | ||
"codificaAvvisi": { | ||
"codificaIuv": "34", | ||
"regExpIuv": ".*", | ||
"generazioneIuvInterna": false | ||
}, | ||
"domini": ['*'], | ||
"tipiPendenza": ['*'], | ||
"apiPagamenti": true, | ||
"apiPendenze": true, | ||
"apiRagioneria": false, | ||
"acl": [ ], | ||
"servizioIntegrazione": { | ||
"url": '#(ente_api_url + "/v1")', | ||
"versioneApi": "REST v1" | ||
}, | ||
"abilitato": true | ||
} |
6 changes: 6 additions & 0 deletions
6
...ration-test/src/test/java/test/api/ragioneria/v3/riconciliazioni/get/msg/errore_auth.json
This file contains 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,6 @@ | ||
{ | ||
categoria: 'AUTORIZZAZIONE', | ||
codice: '#notnull', | ||
descrizione: 'Operazione non autorizzata', | ||
dettaglio: '#notnull' | ||
} |
77 changes: 77 additions & 0 deletions
77
...a/test/api/ragioneria/v3/riconciliazioni/get/msg/riconciliazione-cumulativa-response.json
This file contains 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,77 @@ | ||
{ | ||
"id":"#notnull", | ||
"idDominio":"#(idDominio)", | ||
"stato":"#notnull", | ||
"descrizioneStato":"##string", | ||
"importo":"#(importo)", | ||
"data": "#regex \\d\\d\\d\\d-\\d\\d-\\d\\d", | ||
"sct":"#notnull", | ||
"trn":"#notnull", | ||
"causale":"#(causale)", | ||
"riscossioni":[ | ||
{ | ||
"iuv":"#(iuv1)", | ||
"iur":"#notnull", | ||
"indice":1, | ||
"tipo":"ENTRATA", | ||
"importo":"#? isImportoConDueDecimali(_)", | ||
"data":"#regex \\d\\d\\d\\d-\\d\\d-\\d\\d", | ||
"vocePendenza": { | ||
"idDominio":"#(idDominio)", | ||
"idVocePendenza":"1", | ||
"descrizione": "##string", | ||
"datiAllegati": "##object", | ||
"descrizioneCausaleRPT": "##string", | ||
"contabilita": "##object", | ||
"pendenza": { | ||
"idA2A":"#string", | ||
"idPendenza":"#string", | ||
"idDominio":"#string", | ||
"idUnitaOperativa":"##string", | ||
"idTipoPendenza":"#string", | ||
"causale":"##string", | ||
"dataScadenza": "##regex \\d\\d\\d\\d-\\d\\d-\\d\\d", | ||
"annoRiferimento": "##number", | ||
"cartellaPagamento":"##string", | ||
"datiAllegati": "##object", | ||
"tassonomia":"##string", | ||
"direzione":"##string", | ||
"divisione":"##string", | ||
"soggettoPagatore":"#notnull" | ||
} | ||
} | ||
}, | ||
{ | ||
"iuv":"#(iuv2)", | ||
"iur":"#notnull", | ||
"indice":1, | ||
"tipo":"ENTRATA", | ||
"importo":"#? isImportoConDueDecimali(_)", | ||
"data":"#regex \\d\\d\\d\\d-\\d\\d-\\d\\d", | ||
"vocePendenza": { | ||
"idDominio":"#(idDominio)", | ||
"idVocePendenza":"1", | ||
"descrizione": "##string", | ||
"datiAllegati": "##object", | ||
"descrizioneCausaleRPT": "##string", | ||
"contabilita": "##object", | ||
"pendenza": { | ||
"idA2A":"#string", | ||
"idPendenza":"#string", | ||
"idDominio":"#string", | ||
"idUnitaOperativa":"##string", | ||
"idTipoPendenza":"#string", | ||
"causale":"##string", | ||
"dataScadenza": "##regex \\d\\d\\d\\d-\\d\\d-\\d\\d", | ||
"annoRiferimento": "##number", | ||
"cartellaPagamento":"##string", | ||
"datiAllegati": "##object", | ||
"tassonomia":"##string", | ||
"direzione":"##string", | ||
"divisione":"##string", | ||
"soggettoPagatore":"#notnull" | ||
} | ||
} | ||
} | ||
] | ||
} |
46 changes: 46 additions & 0 deletions
46
...java/test/api/ragioneria/v3/riconciliazioni/get/msg/riconciliazione-singola-response.json
This file contains 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,46 @@ | ||
{ | ||
"id":"#notnull", | ||
"idDominio":"#(idDominio)", | ||
"stato":"#notnull", | ||
"descrizioneStato":"##string", | ||
"importo":"#(importo)", | ||
"data": "#regex \\d\\d\\d\\d-\\d\\d-\\d\\d", | ||
"sct":"#notnull", | ||
"trn":"#notnull", | ||
"causale":"#(causale)", | ||
"riscossioni":[ | ||
{ | ||
"iuv":"#(iuv)", | ||
"iur":"#notnull", | ||
"indice":1, | ||
"tipo":"ENTRATA", | ||
"importo":"#? isImportoConDueDecimali(_)", | ||
"data":"#regex \\d\\d\\d\\d-\\d\\d-\\d\\d", | ||
"vocePendenza": { | ||
"idDominio":"#(idDominio)", | ||
"idVocePendenza":"#string", | ||
"descrizione": "##string", | ||
"datiAllegati": "##object", | ||
"descrizioneCausaleRPT": "##string", | ||
"contabilita": "##object", | ||
"pendenza": { | ||
"idA2A":"#string", | ||
"idPendenza":"#string", | ||
"idDominio":"#string", | ||
"idUnitaOperativa":"##string", | ||
"idTipoPendenza":"#string", | ||
"causale":"##string", | ||
"dataScadenza": "##regex \\d\\d\\d\\d-\\d\\d-\\d\\d", | ||
"annoRiferimento": "##number", | ||
"cartellaPagamento":"##string", | ||
"datiAllegati": "##object", | ||
"tassonomia":"##string", | ||
"direzione":"##string", | ||
"divisione":"##string", | ||
"UUID":"#string", | ||
"soggettoPagatore":"#notnull" | ||
} | ||
} | ||
} | ||
] | ||
} |
46 changes: 46 additions & 0 deletions
46
...ava/test/api/ragioneria/v3/riconciliazioni/get/msg/riconciliazione-singola-senza-rpt.json
This file contains 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,46 @@ | ||
{ | ||
"id":"#notnull", | ||
"idDominio":"#(idDominio)", | ||
"stato":"#notnull", | ||
"descrizioneStato":"##string", | ||
"importo":"#(importo)", | ||
"data": "#regex \\d\\d\\d\\d-\\d\\d-\\d\\d", | ||
"sct":"#notnull", | ||
"trn":"#notnull", | ||
"causale":"#(causale)", | ||
"riscossioni":[ | ||
{ | ||
"iuv":"#(iuv)", | ||
"iur":"#notnull", | ||
"indice":1, | ||
"tipo":"ENTRATA", | ||
"importo":"#? isImportoConDueDecimali(_)", | ||
"data":"#regex \\d\\d\\d\\d-\\d\\d-\\d\\d", | ||
"vocePendenza": { | ||
"idDominio":"#(idDominio)", | ||
"idVocePendenza":"1", | ||
"descrizione": "##string", | ||
"datiAllegati": "##object", | ||
"descrizioneCausaleRPT": "##string", | ||
"contabilita": "##object", | ||
"pendenza": { | ||
"idA2A":"#string", | ||
"idPendenza":"#string", | ||
"idDominio":"#string", | ||
"idUnitaOperativa":"##string", | ||
"idTipoPendenza":"#string", | ||
"causale":"##string", | ||
"dataScadenza": "##regex \\d\\d\\d\\d-\\d\\d-\\d\\d", | ||
"annoRiferimento": "##number", | ||
"cartellaPagamento":"##string", | ||
"datiAllegati": "##object", | ||
"tassonomia":"##string", | ||
"direzione":"##string", | ||
"divisione":"##string", | ||
"UUID":"#string", | ||
"soggettoPagatore":"#notnull" | ||
} | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.