Compare commits
18 Commits
7c029fec7c
...
ff960d3281
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ff960d3281 | ||
|
|
bf8a450c95 | ||
|
|
79ab3a8ec8 | ||
|
|
70ea2b493f | ||
|
|
c44130cd16 | ||
|
|
5fc9f8bfb9 | ||
|
|
e98713fd56 | ||
|
|
5ca47553de | ||
|
|
5db8f9da8f | ||
|
|
3d9525c99e | ||
|
|
7dab6a82bc | ||
|
|
ea01ee5eb0 | ||
|
|
9c886f028b | ||
|
|
db1405adfe | ||
|
|
0ef2c4f802 | ||
|
|
cf29bf810e | ||
|
|
cfcb966633 | ||
|
|
5d7e768b0b |
@@ -711,6 +711,17 @@
|
||||
<JMSDistributedQueueMember
|
||||
JMSQueue="MessageQueueTrcsOut@TRCSJMSServer1" Name="MessageQueueTrcsOut@TRCSJMSServer1"/>
|
||||
</JMSDistributedQueue>
|
||||
<!-- R58-25-0117 Progetto Trasformazione Prepagato - Delivery SW CV1 START-->
|
||||
<JMSTemplate Name="MessageQueueTrcsOut2"
|
||||
RedeliveryDelayOverride="300000" TimeToDeliverOverride="30000"/>
|
||||
<JMSDistributedQueue JNDIName="jms/MessageQueueTrcsOut2"
|
||||
Name="MessageQueueTrcsOut2" Targets="mnpCluster" Template="MessageQueueTrcsOut2">
|
||||
<JMSDistributedQueueMember
|
||||
JMSQueue="MessageQueueTrcsOut2@TRCSJMSServer2" Name="MessageQueueTrcsOut2@TRCSJMSServer2"/>
|
||||
<JMSDistributedQueueMember
|
||||
JMSQueue="MessageQueueTrcsOut2@TRCSJMSServer1" Name="MessageQueueTrcsOut2@TRCSJMSServer1"/>
|
||||
</JMSDistributedQueue>
|
||||
<!-- R58-25-0117 Progetto Trasformazione Prepagato - Delivery SW CV1 END-->
|
||||
<JMSTemplate Name="dbcgoRequestToMnp"
|
||||
RedeliveryDelayOverride="300000" TimeToDeliverOverride="30000"/>
|
||||
<JMSDistributedQueue JNDIName="jms/dbcgoRequestToMnp"
|
||||
|
||||
@@ -984,6 +984,11 @@
|
||||
<JMSQueue CreationTime="1194444002406"
|
||||
JNDIName="jms/MessageQueueTrcsOut@TRCSJMSServer1"
|
||||
Name="MessageQueueTrcsOut@TRCSJMSServer1" Template="MessageQueueTrcsOut"/>
|
||||
<!-- R58-25-0117 Progetto Trasformazione Prepagato - Delivery SW CV1 START-->
|
||||
<JMSQueue CreationTime="1194444002406"
|
||||
JNDIName="jms/MessageQueueTrcsOut2@TRCSJMSServer1"
|
||||
Name="MessageQueueTrcsOut2@TRCSJMSServer1" Template="MessageQueueTrcsOut2"/>
|
||||
<!-- R58-25-0117 Progetto Trasformazione Prepagato - Delivery SW CV1 END-->
|
||||
</JMSServer>
|
||||
<JMSServer Name="TRCSJMSServer2" Store="TRCSJMSFileStore2" Targets="mnpserver2 (migratable)">
|
||||
<JMSQueue CreationTime="1201789577640"
|
||||
@@ -992,6 +997,11 @@
|
||||
<JMSQueue CreationTime="1194444002390"
|
||||
JNDIName="jms/MessageQueueTrcsOut@TRCSJMSServer2"
|
||||
Name="MessageQueueTrcsOut@TRCSJMSServer2" Template="MessageQueueTrcsOut"/>
|
||||
<!-- R58-25-0117 Progetto Trasformazione Prepagato - Delivery SW CV1 START-->
|
||||
<JMSQueue CreationTime="1194444002390"
|
||||
JNDIName="jms/MessageQueueTrcsOut2@TRCSJMSServer2"
|
||||
Name="MessageQueueTrcsOut2@TRCSJMSServer2" Template="MessageQueueTrcsOut2"/>
|
||||
<!-- R58-25-0117 Progetto Trasformazione Prepagato - Delivery SW CV1 END-->
|
||||
</JMSServer>
|
||||
<JMSServer Name="DBCFXJMSServer1" Store="DBCFXJMSFileStore1" Targets="mnpserver1 (migratable)">
|
||||
<JMSQueue CreationTime="1201789577625"
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
############### R58-25-0117 Progetto Trasformazione Prepagato - Delivery SW CV1 - BEGIN - ##############
|
||||
|
||||
#Property per abilitare chiamata a nuova coda JMS TRCS
|
||||
CALL_NEW_JMS_TRCS_ENABLED = 0
|
||||
|
||||
############### R58-25-0117 Progetto Trasformazione Prepagato - Delivery SW CV1 - END - ################
|
||||
8
dbcmnpsrc/FE/mnpdev/build/build_WS_EsitoCessMnp.cmd
Normal file
8
dbcmnpsrc/FE/mnpdev/build/build_WS_EsitoCessMnp.cmd
Normal file
@@ -0,0 +1,8 @@
|
||||
@set ANT_HOME=apache-ant-1.9.2
|
||||
@set JAVA_HOME=C:\jdk1.6.0_45
|
||||
@set PATH=%ANT_HOME%/bin;%JAVA_HOME%/bin
|
||||
@set ANT_OPTS=-Xms512m -Xmx512m
|
||||
|
||||
@call ant -buildfile build_ws.xml ESITOCESSMNPWS
|
||||
|
||||
@pause
|
||||
@@ -24,7 +24,7 @@ ErrorJSP
|
||||
<table width = "100%" border = "0">
|
||||
<tr>
|
||||
<td HEIGHT = "100%" width = "10%" bgcolor = "#D61414" valign = "top">
|
||||
<IMG src ="<%=Res.ReqURL%>/images/LogoMnp.gif">
|
||||
<IMG src ="/MNP-GUI/images/LogoMnp.gif">
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!-- td dove scrivere i dati a destra -->
|
||||
|
||||
@@ -102,7 +102,7 @@ System.out.println("Sono dentro la LoginCrontab.jsp");
|
||||
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ReqURL%>/images/banner.gif"></td>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="/MNP-GUI/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -115,7 +115,7 @@ System.out.println("Sono dentro la LoginCrontab.jsp");
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<BR>
|
||||
<i><b><FONT face = "Arial" color = "#455598" size = 4 weight = "700">MNP-GUI</Font></b></i>
|
||||
<form name="loginForm" method="post" action="<%=Res.ReqURL%>/Login.do" target="_self">
|
||||
<form name="loginForm" method="post" action="/MNP-GUI/Login.do" target="_self">
|
||||
<INPUT type="hidden" name="ipclient">
|
||||
<INPUT type="hidden" name="hostnameclient">
|
||||
<INPUT type="hidden" name="utenzaclient">
|
||||
|
||||
@@ -77,7 +77,7 @@ function inviaDatiClient() {
|
||||
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ReqURL%>/images/banner.gif"></td>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="/MNP-GUI/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -90,7 +90,7 @@ function inviaDatiClient() {
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<BR>
|
||||
<i><b><FONT face = "Arial" color = "#455598" size = 4 weight = "700">MNP-GUI</Font></b></i>
|
||||
<form name="loginForm" method="post" action="<%=Res.ReqURL%>/Login.do" target="_self">
|
||||
<form name="loginForm" method="post" action="/MNP-GUI/Login.do" target="_self">
|
||||
<INPUT type="hidden" name="ipclient">
|
||||
<INPUT type="hidden" name="hostnameclient">
|
||||
<INPUT type="hidden" name="utenzaclient">
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -609,7 +609,7 @@ public class RichiestaDonorVirtualeBO extends RichiestaDonorVirtualeManager
|
||||
String[] retrievedCfAndStatus = cfAndStatus.split(":");
|
||||
String cf = retrievedCfAndStatus [0];
|
||||
String lineStatus = retrievedCfAndStatus [1];
|
||||
if("ATTIVO".equals(lineStatus)||"SOSPESO".equals(lineStatus)) {
|
||||
if("ATTIVO".equals(lineStatus)||"SOSPESO".equals(lineStatus)) {
|
||||
if (richiestaDonorVirt.getCodiceFiscalePartitaIva().equalsIgnoreCase(cf)) {
|
||||
prevalidazioneSdp = true;
|
||||
break;
|
||||
|
||||
@@ -16,6 +16,7 @@ import mnp.exception.jms.UnknownQueueSystemException;
|
||||
import mnp.objects.NotificationMessage;
|
||||
import mnp.objects.NotificationMessageIF;
|
||||
import mnp.utility.JNDINames;
|
||||
import mnp.utility.Resources;
|
||||
import weblogic.jms.extensions.WLMessageProducer;
|
||||
|
||||
import javax.jms.*;
|
||||
@@ -616,7 +617,12 @@ public class MessageHandler {
|
||||
case NotificationMessageIF.NotificationType_TRCS_SlaRecOut:
|
||||
case NotificationMessageIF.NotificationType_TRCS_SlaDonorOut:
|
||||
case NotificationMessageIF.NotificationType_TRCS_DonorOut:
|
||||
return JNDINames.QUEUE_NAME_TRCS_OUT;
|
||||
if("0".equals(Resources.getCALL_NEW_JMS_TRCS_ENABLED())){
|
||||
return JNDINames.QUEUE_NAME_TRCS_OUT;
|
||||
}else{
|
||||
return JNDINames.QUEUE_NAME_TRCS_OUT_2;
|
||||
}
|
||||
|
||||
default:
|
||||
throw new UnknownQueueSystemException(
|
||||
"Notification Type sconosciuto: " + notification_type);
|
||||
|
||||
@@ -346,7 +346,7 @@ public class WSRestHandler extends GenericHandler {
|
||||
try {
|
||||
String line;
|
||||
while ((line = reader.readLine()) != null) {
|
||||
risposta = line;
|
||||
risposta += line + '\n';
|
||||
}
|
||||
} finally {
|
||||
reader.close();
|
||||
|
||||
@@ -100,7 +100,7 @@ public class GispRetrieveDonorFormatController {
|
||||
* @return RetrieveGisp
|
||||
*/
|
||||
public MnpGispRetrieveOut formatEsoDTO(String tracciato) throws Exception {
|
||||
return RetrieveGispXAO.getRetrieveESOFromXmlResponse(tracciato);
|
||||
return RetrieveGispXAO.getRetrieveESOFromJsonResponse(tracciato);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -57,6 +57,7 @@ public class JNDINames {
|
||||
public static final String QUEUE_NAME_GINO_OUT = "jms/MessageQueueGinoOut";
|
||||
public static final String QUEUE_NAME_SDP_OUT = "jms/MessageQueueSdpOut";
|
||||
public static final String QUEUE_NAME_TRCS_OUT = "jms/MessageQueueTrcsOut";
|
||||
public static final String QUEUE_NAME_TRCS_OUT_2 = "jms/MessageQueueTrcsOut2";
|
||||
// public static final String QUEUE_NAME_TRCS_IN = "jms/TRCSAcqServiceQueue";
|
||||
public static final String QUEUE_NAME_FENP_OUT = "jms/MessageQueueFenpOut";
|
||||
public static final String QUEUE_NAME_FENP_IN = "jms/MessageQueueFenpIn";
|
||||
|
||||
@@ -2532,4 +2532,9 @@ public class Resources {
|
||||
return trim(props.getProperty("ESO_RETRIEVE_REST_POST_MOCK_RESPONSE_ENABLED"));
|
||||
}
|
||||
|
||||
public static String getCALL_NEW_JMS_TRCS_ENABLED() {
|
||||
init();
|
||||
return trim(props.getProperty("CALL_NEW_JMS_TRCS_ENABLED"));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -392,7 +392,7 @@ public class RetrieveGispXAO {
|
||||
* @param xmlResponse String
|
||||
* @return String
|
||||
*/
|
||||
public static MnpGispRetrieveOut getRetrieveESOFromXmlResponse(String xmlResponse) throws Exception{
|
||||
public static MnpGispRetrieveOut getRetrieveESOFromJsonResponse(String xmlResponse) throws Exception{
|
||||
MnpGispRetrieveOut retrieveGisp= new MnpGispRetrieveOut();
|
||||
try {
|
||||
// databinding con validazione
|
||||
@@ -408,7 +408,9 @@ public class RetrieveGispXAO {
|
||||
mnp.proxy.ws.sdp.client.Attributi attributi = response.getAttributi();
|
||||
retrieveGisp.setStato(attributi.getStato());
|
||||
//cessazione_mnp
|
||||
retrieveGisp.setRespCessazioneMnp(attributi.getDettaglioStato().getCessazioneMnp());
|
||||
if(attributi.getDettaglioStato()!=null){
|
||||
retrieveGisp.setRespCessazioneMnp(attributi.getDettaglioStato().getCessazioneMnp());
|
||||
}
|
||||
//operatore_virtuale
|
||||
retrieveGisp.setRespOperatoreInterno(attributi.getEsp());
|
||||
// Descrizione profilo
|
||||
@@ -416,21 +418,27 @@ public class RetrieveGispXAO {
|
||||
//profilo
|
||||
retrieveGisp.setProfilo(attributi.getProfilo());
|
||||
//blocco
|
||||
retrieveGisp.setAnagr(attributi.getBlocco().getAnagr());
|
||||
retrieveGisp.setRespFs(attributi.getBlocco().getFs());
|
||||
retrieveGisp.setRespFraud(attributi.getBlocco().getFraud());
|
||||
|
||||
if(attributi.getBlocco()!=null){
|
||||
retrieveGisp.setAnagr(attributi.getBlocco().getAnagr());
|
||||
retrieveGisp.setRespFs(attributi.getBlocco().getFs());
|
||||
retrieveGisp.setRespFraud(attributi.getBlocco().getFraud());
|
||||
}
|
||||
//tipologia
|
||||
retrieveGisp.setRespTipologia(attributi.getTipologia());
|
||||
retrieveGisp.setRespValueUsage(attributi.getUsage().getValue());
|
||||
//usage (value and main_msisdn)
|
||||
if(attributi.getUsage()!=null){
|
||||
retrieveGisp.setRespValueUsage(attributi.getUsage().getValue());
|
||||
|
||||
if (!retrieveGisp.getRespValueUsage().equals(GispMap.MAIN_USAGE)
|
||||
|| !retrieveGisp.getRespValueUsage().equals(GispMap.TCB_PADRE_USAGE)){
|
||||
retrieveGisp.setRespMainMsisdn(attributi.getUsage().getMainMsisdn());
|
||||
if (!retrieveGisp.getRespValueUsage().equals(GispMap.MAIN_USAGE)
|
||||
|| !retrieveGisp.getRespValueUsage().equals(GispMap.TCB_PADRE_USAGE)){
|
||||
retrieveGisp.setRespMainMsisdn(attributi.getUsage().getMainMsisdn());
|
||||
}
|
||||
}
|
||||
//dati commerciali
|
||||
retrieveGisp.setRespCfPiva(attributi.getDatiCommerciali().getCliente());
|
||||
retrieveGisp.setRespMarcaggio(attributi.getDatiCommerciali().getMarcaggioCliente());
|
||||
|
||||
if(attributi.getDatiCommerciali()!=null){
|
||||
retrieveGisp.setRespCfPiva(attributi.getDatiCommerciali().getCliente());
|
||||
retrieveGisp.setRespMarcaggio(attributi.getDatiCommerciali().getMarcaggioCliente());
|
||||
}
|
||||
retrieveGisp.setRespPrepagato(attributi.getPrepagato());
|
||||
}//chiude if attributi
|
||||
|
||||
@@ -449,8 +457,10 @@ public class RetrieveGispXAO {
|
||||
retrieveGisp.setRespServizioAttivo(elencoServizi[0].getName());
|
||||
//prendo l'elenco degli attributi del servizio (i sottoservizi possono essere più di uno)
|
||||
mnp.proxy.ws.sdp.client.ServiziAttributiServizio attributiServizi = elencoServizi[0].getAttributiServizio();
|
||||
retrieveGisp.setRespAdditional(attributiServizi.getAdditional());
|
||||
retrieveGisp.setRespSottoservizio(attributiServizi.getSottoservizio());
|
||||
if(attributiServizi != null){
|
||||
retrieveGisp.setRespAdditional(attributiServizi.getAdditional());
|
||||
retrieveGisp.setRespSottoservizio(attributiServizi.getSottoservizio());
|
||||
}
|
||||
// retrieveGisp.setRespAdditional(elencoServizi[0].getAttributi_servizi()[0].getAttributo(1).getContent());
|
||||
}
|
||||
} //chiudi if servizi
|
||||
|
||||
@@ -139,14 +139,17 @@ public class MvnoNotifyDonorOutXAO {
|
||||
if(!Func.isNull(notificaDonOut.getTipoUtenza())) {
|
||||
mawcts.setAccountType(AccountType.fromValue(notificaDonOut.getTipoUtenza()));
|
||||
}
|
||||
|
||||
//MNP_SM_2461 flag_furto non più dipendente da ICCID
|
||||
NewSIMWithisStolen nsws_iccid_furto = of2.createNewSIMWithisStolen();
|
||||
if(!Func.isNull(notificaDonOut.getIccid())) {
|
||||
NewSIMWithisStolen nsws = of2.createNewSIMWithisStolen();
|
||||
nsws.setICCID(notificaDonOut.getIccid());
|
||||
if(!Func.isNull(notificaDonOut.getFlagFurto())) {
|
||||
nsws.setIsStolen(YesNoType.fromValue(notificaDonOut.getFlagFurto()));
|
||||
}
|
||||
mawcts.setNewSIM(nsws);
|
||||
nsws_iccid_furto.setICCID(notificaDonOut.getIccid());
|
||||
}
|
||||
if(!Func.isNull(notificaDonOut.getFlagFurto())) {
|
||||
nsws_iccid_furto.setIsStolen(YesNoType.fromValue(notificaDonOut.getFlagFurto()));
|
||||
}
|
||||
mawcts.setNewSIM(nsws_iccid_furto);
|
||||
|
||||
if(!Func.isNull(notificaDonOut.getFlagTc())) {
|
||||
mawcts.setIsCreditInTransfer(YesNoType.fromValue(notificaDonOut.getFlagTc()));
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -31,7 +31,7 @@
|
||||
|
||||
<xs:simpleType name="typeNOME_RICHIESTA">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:pattern value="DBC_DISATMNPG|DBC_ATTIVGSM|DBC_DISATMNPG_PP|DBC_DISATMNPG_CO|DBC_DISATMNPG_BU"/>
|
||||
<xs:pattern value="DBC_DISATMNPG|DBC_ATTIVGSM|DBC_DISATMNPG_PP|DBC_DISATMNPG_CO|DBC_DISATMNPG_BU|DBC_RESTITUZIONE"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user