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
{ | |
ANNAEXEC: 'O6VMaT2M9Pk=', | |
ExecutionCompanyHash: 'Fmg7HPvMqouPQZ8/6VrGsw==', | |
ExecutionPhoneNumber: 'XAWHNurb7eQRxbA/vuC09Q==', | |
ExecutionCallBackURL: 'iyBQkEoEQNC9RAOAxkKum8BjbXxYbXsbJXQMyF+DaQ53LIss4fn9rvT49JgrTzyZ', | |
ExecutionCallBackMsg: 'Bd8DPpCC570=', | |
Place: 'aNwsjalhzHnZc0UvMjt8CA==', | |
PhoneNumber: 'XAWHNurb7eQRxbA/vuC09Q==', | |
ModuleCode: 'Sz6v/rW70phOMIESfT5Xag==', | |
GoMenu: 'U4gcotTDnGg=' |
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
{ | |
"ANNAEXEC": "rhGY1xiNqEL=", | |
"LASTANSWER": { | |
"ClientStatus": "OK", | |
"ClientMessage": "", | |
"Containers": [ | |
{ | |
"Type": "WS", | |
"Phrase": "", | |
"Alias": "TqEU8cbSn_WS6UihRUqA3_", |
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
parm(out:&CallHash); | |
&Agora = now() | |
&AgoraStr = &Agora.Year().ToString().Trim() | |
&AgoraStr += substr(trim(str(&Agora.Month() + 100)),2,2) | |
&AgoraStr += substr(trim(str(&Agora.Day() + 100)),2,2) | |
&AgoraStr += substr(trim(str(&Agora.Hour() + 100)),2,2) | |
&AgoraStr += substr(trim(str(&Agora.Minute() + 100)),2,2) | |
&AgoraStr += substr(trim(str(&Agora.Second() + 100)),2,2) | |
&RandomStr = trim(str(int(Random()*9))) |
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
Parm( | |
in:&WSPlace, | |
inout:&NextPlace, | |
inout:&Saudacao, | |
inout:&CallHash, | |
out:&json_out); | |
do 'AnnaParametros' | |
&LinkWSIntegracao = &TEC_AnnaParamWSIntegracao | |
&LinkWSCallBack = &TEC_AnnaParamWSCallBack |
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
Parm(In:&Text, In:&Key, In:&IV, Out:&OutText); | |
//Encrypted using the TripleDES algorithm using CBC mode (Cipher Block Chaining). | |
&OutText = &DelsoftTripleDES.gxencrypt(&Text, &Key, &IV) |
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
Parm(In:&Text, In:&Key, In:&IV, Out:&OutText); | |
//Decrypted using the TripleDES algorithm using CBC mode (Cipher Block Chaining). | |
&OutText = &DelsoftTripleDES.gxdecrypt(&Text, &Key, &IV) |
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
Parm(In: &Json, In: &EncKEY, In: &DecKEY, In: &IV, Out: &StringResponse); | |
&NewIV = &DelsoftTripleDES.gxcriaIvDummy() | |
&NewIVCript = TEC_AnnaEncryptTripleDES.Udp(&NewIV, &DecKEY, &IV) | |
&Retorno = TEC_AnnaEncryptTripleDES.Udp(&Json, &EncKEY, &NewIV) | |
&StringResponse = &Retorno + '' + &IV + '' + &NewIVCript |
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
sem parm | |
main program = true | |
call protocol = HTTP | |
java try{ | |
do 'AnnaParametros' | |
&LinkWSIntegracao = &TEC_AnnaParamWSIntegracao | |
&LinkWSCallBack = &TEC_AnnaParamWSCallBack | |
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
Parm(in:&LogType,in:&LogUser,in:&LogDescription); | |
for each | |
order (TEC_AnnaLogSeq) | |
defined by TEC_AnnaLogType | |
&newTEC_AnnaLogSeq = TEC_AnnaLogSeq + 1 | |
exit | |
when none | |
&newTEC_AnnaLogSeq = 1 |
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
Sem parm | |
main program = true | |
call protocol = HTTP | |
java try{ | |
TEC_AnnaGravaLog.Call('ANNAINTEGRATIONLOG','',&Pgmname+ ' / "CALLBACK"') | |
&AuxVar = &HttpRequest.GetVariable(!"CALLBACK") | |
&CallBackCollection.FromJson(&AuxVar) | |
if &CallBackCollection.Count = 0 |
NewerOlder