302 lines
12 KiB
Plaintext
302 lines
12 KiB
Plaintext
TEST VERIFICA CS NATIVI OLO DONOR
|
|
|
|
1) Predisporre un file xml tipo il seguente:
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ComunicazioneNP>
|
|
<Richiesta>
|
|
<Prenotifica_Donating>
|
|
<TipoComunicazione>3</TipoComunicazione>
|
|
<CodiceOrdine>cod_ord</CodiceOrdine>
|
|
<DataOrdine>2015-03-01</DataOrdine>
|
|
<DirectoryNumber>062142001</DirectoryNumber>
|
|
<TipoLinea>2</TipoLinea>
|
|
<DataInvioMessaggio>2015-03-05</DataInvioMessaggio>
|
|
<IdentificativoOperatoreDonor>TLC</IdentificativoOperatoreDonor>
|
|
<CognomeCliente_RagioneSociale>X</CognomeCliente_RagioneSociale>
|
|
<TelefonoReferenteRichiedente>X</TelefonoReferenteRichiedente>
|
|
<EmailReferenteRichiedente>X</EmailReferenteRichiedente>
|
|
<CodiceOpRecipient>MOM</CodiceOpRecipient>
|
|
<DataAttesaConsegnaServizio>2015-03-28</DataAttesaConsegnaServizio>
|
|
<CodiceProgetto></CodiceProgetto>
|
|
<CodiceSegreto>ZWI</CodiceSegreto>
|
|
<IdentificativoOperatoreDonating>TLC</IdentificativoOperatoreDonating>
|
|
</Prenotifica_Donating>
|
|
</Richiesta>
|
|
</ComunicazioneNP>
|
|
|
|
I campi variabili sono i seguenti:
|
|
|
|
- TipoComunicazione = 3
|
|
- TipoLinea = 1|2|3
|
|
- IdentificativoOperatoreDonor = TLC
|
|
- CodiceOpRecipient = <il codice di un donor>
|
|
- DataInvioMessaggio = <la data corrente>
|
|
- DataOrdine deve essere precedente a DataInvioMessaggio
|
|
- DataAttesaConsegnaServizio deve essere successiva a DataInvioMessaggio
|
|
- CodiceSegreto uno dei valori nella colonna COW della tabella GNP_ANAG_COW_TELECOM
|
|
|
|
2) Richiamare la pagina http://10.174.28.33:11101/SimOLO/sendRispostaOlo.jsp Impostare i campi seguenti:
|
|
- Nome File = N_NP_MOM_TLC_yyyyMMdd_progressivo.xml
|
|
- OLO mittente = MOM
|
|
- Tipo file = N
|
|
|
|
Vengono generati record in
|
|
- GNP_RICHIESTE_DON_NAT_OLO
|
|
- GNP_STORICO_DON_NAT_OLO
|
|
- GNP_CRMR_DONOR_OUT oppure GNP_CRMB_DONOR_OUT (RESIDENZIALE/BUSINESS)
|
|
|
|
La richiesta di business passa automaticamente in stato 01:ACQUISITA e poi:
|
|
|
|
2a) Per verifica COW KO (ad esempio codice segreto errato perchè cow non presente nella tabella GNP_ANAG_COW_TELECOM) la richiesta di business passa in stato
|
|
|
|
03:RIFIUTATA
|
|
|
|
scrive su:
|
|
|
|
- GNP_RICHIESTE_DON_NAT_OLO
|
|
- GNP_STORICO_DON_NAT_OLO
|
|
- GNP_FENP_RICHIESTE_OUT (TipoCom = 5; Cod = 14)
|
|
|
|
2b) Per COW Business AND TipoLinea = 1 la richiesta passa in 05:ESPLETATA
|
|
- scrive su GNP_RICHIESTE_DON_NAT_OLO e GNP_STORICO_DON_NAT_OLO
|
|
|
|
2c) negli altri casi la richiesta di business passa in stato
|
|
|
|
02:ATTESAVERIFICA
|
|
|
|
- viene aggiornato lo stato nel record precedentemente scritto in GNP_STORICO_DON_NAT_OLO
|
|
|
|
2d) (Simile al punto 3e) Per silenzio/assenso (in alternativa con 2b) eseguire: /home/gnpapp/gnpappsvi/script/Check_Silenzio_Assenso_DonNatOlo.sh
|
|
|
|
Per tutte le richieste con DATA_RICEZIONE nella tabella GNP_RICHIESTE_DON_NAT_OLO antecedente al giorno precedente in cui si sta effettuando il test,
|
|
la richiesta passa da stato 01:ACQUISITA, in stato 05:ESPLETATA, e vengono aggiornati i record in:
|
|
- GNP_RICHIESTE_DON_NAT_OLO (aggiorna stato a 5)
|
|
- GNP_STORICO_DON_NAT_OLO (inserimento)
|
|
|
|
3a) Predisporre un file xml tipo il seguente (il nome è indifferente):
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<EsitoVerificaCS>
|
|
<CODICE_SESSIONE>5874</CODICE_SESSIONE>
|
|
<PIATTAFORMA_PROVENIENZA>R</PIATTAFORMA_PROVENIENZA>
|
|
<ESITO>0</ESITO>
|
|
<CAUSALE></CAUSALE>
|
|
<RADICALE_GNR></RADICALE_GNR>
|
|
<DN0>062142001</DN0>
|
|
<ADSL></ADSL>
|
|
<TI_OU_NUM></TI_OU_NUM>
|
|
</EsitoVerificaCS>
|
|
|
|
I campi variabili sono i seguenti:
|
|
|
|
- CodiceSessione è il codice sessione relativo alla richiesta creata precedentemente in GNP_CRMR_DONOR_OUT/GNP_CRMB_DONOR_OUT
|
|
- Esito = 0 (OK); 1 (KO)
|
|
- DN0 è il valore di DN in GNP_CRMR_DONOR_OUT/GNP_CRMB_DONOR_OUT
|
|
|
|
Posizionare il file nel path:
|
|
|
|
(C:/progetti/dbcfx/simulatore CRM/util/CRMR_DONOR_col/ o C:/progetti/dbcfx/simulatore CRM/util/CRMB_DONOR_col/)
|
|
|
|
indicato nella property GEN_PATH_CRMB_DONOR o GEN_PATH_CRMR_DONOR del file
|
|
simulatoreGNP.properties presente in:
|
|
|
|
C:\progetti\dbcfx\simulatore CRM\util
|
|
|
|
Lanciare InvioDaIB.cmd
|
|
Parametro:
|
|
7 per CRMB
|
|
8 per CRMR
|
|
|
|
col comando, ad es.:
|
|
|
|
InvioDaIB.cmd 8
|
|
|
|
Per ricezione esito verifica da CRM = 0 (OK) la richiesta va in 05:ESPLETATA
|
|
- viene aggiornato il record precedentemente scritto in GNP_STORICO_DON_NAT_OLO
|
|
|
|
3b) (simile al punto 2a) Per ricezione esito verifica da CRM = 1 (KO) la richiesta di business passa in stato 03:RIFIUTATA
|
|
|
|
Per simulare questo caso, predisporre un file xml tipo questo (il nome è indifferente):
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<EsitoVerificaCS>
|
|
<CODICE_SESSIONE>5883</CODICE_SESSIONE>
|
|
<PIATTAFORMA_PROVENIENZA>R</PIATTAFORMA_PROVENIENZA>
|
|
<ESITO>1</ESITO>
|
|
<CAUSALE></CAUSALE>
|
|
<RADICALE_GNR></RADICALE_GNR>
|
|
<DN0>062142001</DN0>
|
|
<ADSL></ADSL>
|
|
<TI_OU_NUM></TI_OU_NUM>
|
|
</EsitoVerificaCS>
|
|
|
|
I campi variabili sono i seguenti:
|
|
|
|
- CodiceSessione è il codice sessione relativo alla richiesta creata precedentemente in GNP_CRMR_DONOR_OUT
|
|
- Esito = 1 (NON OK)
|
|
- DN0 è il valore di DN in GNP_CRMR_DONOR_OUT/GNP_CRMB_DONOR_OUT
|
|
|
|
Posizionare il file nel path indicato nella property
|
|
GEN_PATH_CRMB_DONOR o GEN_PATH_CRMR_DONOR (esempio C:\progetti\dbcfx\simulatore\CRM\util\CRMR_DONOR_col)
|
|
|
|
Lanciare InvioDaIB.cmd 8
|
|
Parametro:
|
|
7 per CRMB
|
|
8 per CRMR
|
|
|
|
Vengono aggiornati i record in:
|
|
|
|
- GNP_RICHIESTE_DON_NAT_OLO (aggiorna stato = 3)
|
|
- GNP_STORICO_DON_NAT_OLO (inserisce rec passaggio stato da 2 a 3)
|
|
|
|
- Per la notifica a FENP, viene inserito un record nella tabella:
|
|
- GNP_FENP_RICHIESTE_OUT (Tipo_Comunicazione = 5; Codice_motivo_rifiuto_cs = 14; Cercare rec per DN o id_richiesta o data_creazione)
|
|
|
|
|
|
|
|
3c) (simile al punto 3f) Per acquisizione richiesta da FENP TipoCom = 10 la richiesta di business rimane in stato 02:ATTESAVERIFICA
|
|
|
|
Per simulare questo caso, predisporre un xml tipo il seguente:
|
|
|
|
<ComunicazioneNP>
|
|
<Risposta>
|
|
<Rimodulazione_DAC>
|
|
<TipoComunicazione>10</TipoComunicazione>
|
|
<DatiNotifica>
|
|
<CodiceOrdine>cod_ord_01</CodiceOrdine>
|
|
<DataOrdine>2012-01-09</DataOrdine>
|
|
<DirectoryNumber>0112146660</DirectoryNumber>
|
|
<IdentificativoOperatoreDonor>AMB</IdentificativoOperatoreDonor>
|
|
<DataInvioMessaggio>2012-01-09</DataInvioMessaggio>
|
|
<CodiceOpRecipient>TLC</CodiceOpRecipient>
|
|
<CodiceSegreto>XXX</CodiceSegreto>
|
|
<DataAttesaConsegnaServizio>2017-03-31</DataAttesaConsegnaServizio>
|
|
<CognomeCliente_RagioneSociale>GIOVANNI MAZZARELLA</CognomeCliente_RagioneSociale>
|
|
<EmailReferenteRichiedente>pdcnp@telecomitalia.it</EmailReferenteRichiedente>
|
|
<TelefonoReferenteRichiedente>0671010548</TelefonoReferenteRichiedente>
|
|
</DatiNotifica>
|
|
<IdentificativoOperatoreDonating>AMB</IdentificativoOperatoreDonating>
|
|
<DataAttesaConsegnaRimodulata>2016-01-31</DataAttesaConsegnaRimodulata>
|
|
</Rimodulazione_DAC>
|
|
</Risposta>
|
|
</ComunicazioneNP>
|
|
|
|
I campi variabili sono i seguenti:
|
|
|
|
- TipoComunicazione = 10
|
|
- CodiceOrdine = Codice Ordine usato al punto 1
|
|
- DirectoryNumber = il DirectoryNumber usato al punto 1
|
|
|
|
Richiamare la pagina http://10.174.28.33:11101/SimOLO/sendRispostaOlo.jsp Impostare i campi seguenti:
|
|
- Nome File = R_NP_MOM_TLC_yyyyMMdd_progressivo.xml
|
|
- OLO mittente = MOM
|
|
- Tipo file = R
|
|
|
|
Viene inserito un record nelle tabelle:
|
|
- GNP_FENP_RICHIESTE_IN (dac = DataAttesaConsegnaRimodulata input; DN; nome file)
|
|
- GNP_FENP_IN (file, xml input)
|
|
Viene aggiornata la colonna DAC della tabella:
|
|
- GNP_RICHIESTE_DON_NAT_OLO (con il tag xml DataAttesaConsegnaRimodulata)
|
|
|
|
|
|
3d) Per acquisizione richiesta da FENP TipoCom = 11 la richiesta di business passa in stato 04:ANNULLAMENTO
|
|
|
|
Per simulare questo caso, predisporre un file xml tipo il seguente:
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ComunicazioneNP>
|
|
<Richiesta>
|
|
<Annullamento>
|
|
<TipoComunicazione>11</TipoComunicazione>
|
|
<CodiceOrdine>cod_ord</CodiceOrdine>
|
|
<DataOrdine>2011-09-07</DataOrdine>
|
|
<DirectoryNumber>062149010</DirectoryNumber>
|
|
<Note>Annullamento PR187 ISDN</Note>
|
|
<DataInvioMessaggio>2011-09-07</DataInvioMessaggio>
|
|
<IdentificativoOperatoreDonor>INF</IdentificativoOperatoreDonor>
|
|
<NomeCliente>Mario</NomeCliente>
|
|
<CognomeCliente_RagioneSociale>Rossi</CognomeCliente_RagioneSociale>
|
|
<TelefonoReferenteRichiedente>06202020</TelefonoReferenteRichiedente>
|
|
<EmailReferenteRichiedente>info@gmail.com</EmailReferenteRichiedente>
|
|
<CodiceOpRecipient>ALB</CodiceOpRecipient>
|
|
<DataAttesaConsegnaServizio>2011-09-30</DataAttesaConsegnaServizio>
|
|
<CodiceSegreto>PUC</CodiceSegreto>
|
|
</Annullamento>
|
|
</Richiesta>
|
|
</ComunicazioneNP>
|
|
|
|
I campi variabili sono i seguenti:
|
|
|
|
- TipoComunicazione = 11
|
|
- DirectoryNumber = il DirectoryNumber usato al punto 1
|
|
|
|
Richiamare la pagina http://10.174.28.33:11101/SimOLO/sendRispostaOlo.jsp Impostare i campi seguenti:
|
|
|
|
- Nome File = N_NP_MOM_TLC__yyyyMMdd_progressivo.xml
|
|
- OLO mittente = MOM
|
|
- Tipo file = N
|
|
|
|
Vengono inseriti i record in GNP_RICHIESTE_DON_NAT_OLO e GNP_STORICO_DON_NAT_OLO
|
|
con stato 04:Annullamento.
|
|
Viene inserito un record nelle tabelle GNP_FENP_RICHIESTE_IN e GNP_FENP_IN.
|
|
|
|
NB: Bisogna utilizzare tutti i dati uguali all'acquisizione.
|
|
Se si mettono altri dati IN XML INPUT non storicizza, però scrive le tabelle FENP in input.
|
|
|
|
3e) Per silenzio/assenso (in alternativa con 3a) eseguire: /home/gnpapp/gnpappsvi/script/Check_Silenzio_Assenso_DonNatOlo.sh
|
|
|
|
Per tutte le richieste con DATA_RICEZIONE nella tabella GNP_RICHIESTE_DON_NAT_OLO antecedente al giorno precedente in cui si sta effettuando il test, la richiesta passa da stato 02:ATTESAVERIFICA, in stato 05:ESPLETATA, e vengono aggiornati i record in
|
|
- GNP_RICHIESTE_DON_NAT_OLO (aggiorna stato a 5)
|
|
- GNP_STORICO_DON_NAT_OLO
|
|
|
|
|
|
3f) (simile al punto 3c) dallo stato 05:ESPLETATA, per richiesta da FENP con TipoCom=07, la richiesta rimane in stato 05:ESPLETATA
|
|
|
|
Per simulare questo caso, predisporre un xml tipo il seguente:
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ComunicazioneNP>
|
|
<Risposta>
|
|
<Espletamento_Donor_RecipientDonating>
|
|
<TipoComunicazione>7</TipoComunicazione>
|
|
<DatiNotifica>
|
|
<CodiceOrdine>3045</CodiceOrdine>
|
|
<DataOrdine>2011-04-06</DataOrdine>
|
|
<DirectoryNumber>062142001</DirectoryNumber>
|
|
<IdentificativoOperatoreDonor>TLC</IdentificativoOperatoreDonor>
|
|
<DataInvioMessaggio>2011-09-09</DataInvioMessaggio>
|
|
<CodiceOpRecipient>MOM</CodiceOpRecipient>
|
|
<CodiceSegreto>COZ</CodiceSegreto>
|
|
<DataAttesaConsegnaServizio>2011-10-18</DataAttesaConsegnaServizio>
|
|
<CognomeCliente_RagioneSociale>GIOVANNI MAZZARELLA</CognomeCliente_RagioneSociale>
|
|
<EmailReferenteRichiedente>pdcnp@telecomitalia.it</EmailReferenteRichiedente>
|
|
<TelefonoReferenteRichiedente>0633186760</TelefonoReferenteRichiedente>
|
|
</DatiNotifica>
|
|
<IdentificativoOperatoreDonating>TLC</IdentificativoOperatoreDonating>
|
|
<DataEspletamentoOrdine>2011-02-25</DataEspletamentoOrdine>
|
|
<DataAttesaConsegnaRimodulata>2011-03-03</DataAttesaConsegnaRimodulata>
|
|
</Espletamento_Donor_RecipientDonating>
|
|
</Risposta>
|
|
</ComunicazioneNP>
|
|
|
|
|
|
I campi variabili sono i seguenti:
|
|
|
|
- TipoComunicazione = 07
|
|
- DirectoryNumber = il DirectoryNumber usato al punto 1
|
|
|
|
Richiamare la pagina http://10.174.28.33:11101/SimOLO/sendRispostaOlo.jsp Impostare i campi seguenti:
|
|
- Nome File = R_NP_MOM_TLC_yyyyMMdd_progressivo.xml
|
|
- OLO mittente = MOM
|
|
- Tipo file = R
|
|
|
|
viene inserito il record in
|
|
|
|
- GNP_FENP_RICHIESTE_IN
|
|
- GNP_FENP_IN
|
|
|
|
|
|
|
|
|