From fcb24954ecccc1721e5515cfd195f3c59d841192 Mon Sep 17 00:00:00 2001 From: wojciech Date: Tue, 3 Sep 2024 13:10:21 +0200 Subject: [PATCH] jms works on tibcoAdmin --- .designtimelibs | 2 +- .folder | 2 +- LocalResources/FTP Connection.sharedftp | 20 + LocalResources/TCP Connection.sharedtcp | 14 + .../jmsConnections}/.folder | 2 +- .../JMS Connection.sharedjmscon} | 2 +- .../alternativeQueue.sharedjmscon | 24 ++ .../alternativeTopic.sharedjmscon | 2 +- .../server.delete.sharedjmscon | 6 +- .../server.get.sharedjmscon | 6 +- .../server.post.sharedjmscon | 6 +- .../server.put.sharedjmscon | 6 +- Processes/jms/JmsDelete.process | 20 +- Processes/jms/JmsGet.process | 143 +++---- Processes/jms/JmsPost.process | 19 +- Processes/jms/JmsPut.process | 15 +- Processes/rest/RestRequest.process | 180 +++++---- Processes/soap/.folder | 7 + .../soap}/SoapDeleteAuthor.process | 14 +- .../soap}/SoapGetAuthor.process | 14 +- .../soap}/SoapPostAuthor.process | 14 +- .../soap}/SoapPutAuthor.process | 16 +- Processes/xml/Xml.process | 371 ++++++++++++++---- Processes/xml/author/XmlDELETE.process | 233 ++++++----- Processes/xml/author/XmlGET.process | 90 +++-- Processes/xml/author/XmlPOST.process | 323 +++++++-------- Processes/xml/author/XmlPUT.process | 237 +++++------ Resources/Folder/.folder | 7 + Resources/WSDL/WSDL-service0.serviceagent | 10 +- Resources/builders/.folder | 7 + .../{ => builders}/LibraryBuilder.libbuilder | 0 Resources/builders/httpRest.archive | 27 ++ Resources/builders/jmsWithJars.archive | 27 ++ .../configurations/HTTP Connection.sharedhttp | 2 +- Resources/databases/databaseXML.xml | 144 ++----- .../JmsStatusResponse.xsd | 0 as | 0 databaseXML.xml | 46 --- defaultVars/defaultVars.substvar | 46 ++- 39 files changed, 1247 insertions(+), 857 deletions(-) create mode 100644 LocalResources/FTP Connection.sharedftp create mode 100644 LocalResources/TCP Connection.sharedtcp rename {Resources/JmsErrorSchema => LocalResources/jmsConnections}/.folder (67%) rename LocalResources/{alternativeQueue.sharedjmscon => jmsConnections/JMS Connection.sharedjmscon} (96%) create mode 100644 LocalResources/jmsConnections/alternativeQueue.sharedjmscon rename LocalResources/{ => jmsConnections}/alternativeTopic.sharedjmscon (92%) rename LocalResources/{ => jmsConnections}/server.delete.sharedjmscon (84%) rename LocalResources/{ => jmsConnections}/server.get.sharedjmscon (85%) rename LocalResources/{ => jmsConnections}/server.post.sharedjmscon (85%) rename LocalResources/{ => jmsConnections}/server.put.sharedjmscon (85%) create mode 100644 Processes/soap/.folder rename {Resources/WSDL => Processes/soap}/SoapDeleteAuthor.process (73%) rename {Resources/WSDL => Processes/soap}/SoapGetAuthor.process (80%) rename {Resources/WSDL => Processes/soap}/SoapPostAuthor.process (82%) rename {Resources/WSDL => Processes/soap}/SoapPutAuthor.process (80%) create mode 100644 Resources/Folder/.folder create mode 100644 Resources/builders/.folder rename Resources/{ => builders}/LibraryBuilder.libbuilder (100%) create mode 100644 Resources/builders/httpRest.archive create mode 100644 Resources/builders/jmsWithJars.archive rename Resources/{JmsErrorSchema => schemas}/JmsStatusResponse.xsd (100%) create mode 100644 as diff --git a/.designtimelibs b/.designtimelibs index 956386c..b70855a 100644 --- a/.designtimelibs +++ b/.designtimelibs @@ -1,4 +1,4 @@ #Design time libraries #Format: #=File Alias=Description -#Tue Aug 27 15:25:45 CEST 2024 +#Tue Sep 03 12:48:22 CEST 2024 0=ProjectLibrary.projlib1\= diff --git a/.folder b/.folder index cc403e7..d76affa 100644 --- a/.folder +++ b/.folder @@ -8,8 +8,8 @@ - + diff --git a/LocalResources/FTP Connection.sharedftp b/LocalResources/FTP Connection.sharedftp new file mode 100644 index 0000000..fb300bd --- /dev/null +++ b/LocalResources/FTP Connection.sharedftp @@ -0,0 +1,20 @@ + + + FTP Connection + ae.shared.FTPuserChannel + + 6000 + 21 + UTF8 + false + Active + eu-central-1.sftpcloud.io + %%FTPUSername%% + %%FTPPassword%% + false + 8080 + + true + + + \ No newline at end of file diff --git a/LocalResources/TCP Connection.sharedtcp b/LocalResources/TCP Connection.sharedtcp new file mode 100644 index 0000000..fe9d5c8 --- /dev/null +++ b/LocalResources/TCP Connection.sharedtcp @@ -0,0 +1,14 @@ + + + TCP Connection + ae.shared.TCPSharedconnection + + true + 10 + Block + 10000 + -1 + localhost + 22 + + \ No newline at end of file diff --git a/Resources/JmsErrorSchema/.folder b/LocalResources/jmsConnections/.folder similarity index 67% rename from Resources/JmsErrorSchema/.folder rename to LocalResources/jmsConnections/.folder index 75520c1..94f9aa7 100644 --- a/Resources/JmsErrorSchema/.folder +++ b/LocalResources/jmsConnections/.folder @@ -1,6 +1,6 @@ - + diff --git a/LocalResources/alternativeQueue.sharedjmscon b/LocalResources/jmsConnections/JMS Connection.sharedjmscon similarity index 96% rename from LocalResources/alternativeQueue.sharedjmscon rename to LocalResources/jmsConnections/JMS Connection.sharedjmscon index d6af3a8..64d0119 100644 --- a/LocalResources/alternativeQueue.sharedjmscon +++ b/LocalResources/jmsConnections/JMS Connection.sharedjmscon @@ -1,6 +1,6 @@ - alternativeQueue + JMS Connection ae.shared.JMSConnectionKey diff --git a/LocalResources/jmsConnections/alternativeQueue.sharedjmscon b/LocalResources/jmsConnections/alternativeQueue.sharedjmscon new file mode 100644 index 0000000..9652885 --- /dev/null +++ b/LocalResources/jmsConnections/alternativeQueue.sharedjmscon @@ -0,0 +1,24 @@ + + + alternativeQueue + ae.shared.JMSConnectionKey + + + true + tcp://localhost:7222 + %%jmsURL%% + com.tibco.tibjms.naming.TibjmsInitialContextFactory + FTTopicConnectionFactory + FTQueueConnectionFactory + szewczyk.author + + + + + + + true + + false + + \ No newline at end of file diff --git a/LocalResources/alternativeTopic.sharedjmscon b/LocalResources/jmsConnections/alternativeTopic.sharedjmscon similarity index 92% rename from LocalResources/alternativeTopic.sharedjmscon rename to LocalResources/jmsConnections/alternativeTopic.sharedjmscon index af2a38a..c18f634 100644 --- a/LocalResources/alternativeTopic.sharedjmscon +++ b/LocalResources/jmsConnections/alternativeTopic.sharedjmscon @@ -6,7 +6,7 @@ true tcp://localhost:7222 - tibjmsnaming://localhost:7222 + tcp://tibbw5.zipper.release11.com:7222 com.tibco.tibjms.naming.TibjmsInitialContextFactory TopicConnectionFactory QueueConnectionFactory diff --git a/LocalResources/server.delete.sharedjmscon b/LocalResources/jmsConnections/server.delete.sharedjmscon similarity index 84% rename from LocalResources/server.delete.sharedjmscon rename to LocalResources/jmsConnections/server.delete.sharedjmscon index c137e86..6580625 100644 --- a/LocalResources/server.delete.sharedjmscon +++ b/LocalResources/jmsConnections/server.delete.sharedjmscon @@ -6,15 +6,15 @@ true tcp://localhost:7222 - tibjmsnaming://localhost:7222 + %%jmsURL%% com.tibco.tibjms.naming.TibjmsInitialContextFactory TopicConnectionFactory QueueConnectionFactory - server.delete + admin - + admin true diff --git a/LocalResources/server.get.sharedjmscon b/LocalResources/jmsConnections/server.get.sharedjmscon similarity index 85% rename from LocalResources/server.get.sharedjmscon rename to LocalResources/jmsConnections/server.get.sharedjmscon index 0b1d2dd..4d9c918 100644 --- a/LocalResources/server.get.sharedjmscon +++ b/LocalResources/jmsConnections/server.get.sharedjmscon @@ -6,15 +6,15 @@ true tcp://localhost:7222 - tibjmsnaming://localhost:7222 + %%jmsURL%% com.tibco.tibjms.naming.TibjmsInitialContextFactory TopicConnectionFactory QueueConnectionFactory - server.get + admin - + admin true diff --git a/LocalResources/server.post.sharedjmscon b/LocalResources/jmsConnections/server.post.sharedjmscon similarity index 85% rename from LocalResources/server.post.sharedjmscon rename to LocalResources/jmsConnections/server.post.sharedjmscon index 1233a7d..571bb6a 100644 --- a/LocalResources/server.post.sharedjmscon +++ b/LocalResources/jmsConnections/server.post.sharedjmscon @@ -6,15 +6,15 @@ true tcp://localhost:7222 - tibjmsnaming://localhost:7222 + %%jmsURL%% com.tibco.tibjms.naming.TibjmsInitialContextFactory TopicConnectionFactory QueueConnectionFactory - server.post + admin - + admin true diff --git a/LocalResources/server.put.sharedjmscon b/LocalResources/jmsConnections/server.put.sharedjmscon similarity index 85% rename from LocalResources/server.put.sharedjmscon rename to LocalResources/jmsConnections/server.put.sharedjmscon index 7fb2ac3..fa4ee86 100644 --- a/LocalResources/server.put.sharedjmscon +++ b/LocalResources/jmsConnections/server.put.sharedjmscon @@ -6,15 +6,15 @@ true tcp://localhost:7222 - tibjmsnaming://localhost:7222 + %%jmsURL%% com.tibco.tibjms.naming.TibjmsInitialContextFactory TopicConnectionFactory QueueConnectionFactory - server.put + admin - + admin true diff --git a/Processes/jms/JmsDelete.process b/Processes/jms/JmsDelete.process index db293dc..9cf9d85 100644 --- a/Processes/jms/JmsDelete.process +++ b/Processes/jms/JmsDelete.process @@ -1,7 +1,7 @@ - + - + Processes/jms/JmsDelete.process JMS Topic Subscriber 0 @@ -25,7 +25,7 @@ 0 4 - /LocalResources/server.delete.sharedjmscon + /LocalResources/jmsConnections/server.delete.sharedjmscon @@ -40,10 +40,11 @@ End + 614 67 - + http://xmlns.example.com/1724069617580 @@ -54,7 +55,7 @@ 221 true - localname=root namespace=http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2 + localname=xmlDeleteError @@ -77,7 +78,7 @@ 4 0 - /LocalResources/server.post.sharedjmscon + /LocalResources/jmsConnections/server.post.sharedjmscon @@ -95,7 +96,7 @@ - + @@ -128,7 +129,7 @@ 4 0 - /LocalResources/server.delete.sharedjmscon + /LocalResources/jmsConnections/server.delete.sharedjmscon @@ -171,7 +172,8 @@ 307 67 - /Processes/sql/author/SqlDELETE.process + /Processes/xml/author/XmlDELETE.process + if ($_globalVariables/pfx3:GlobalVariables/processType='sql') then '/Processes/sql/author/SqlDELETE.process' else '/Processes/xml/author/XmlDELETE.process' diff --git a/Processes/jms/JmsGet.process b/Processes/jms/JmsGet.process index a4ac472..23dfe49 100644 --- a/Processes/jms/JmsGet.process +++ b/Processes/jms/JmsGet.process @@ -1,7 +1,7 @@ - + - + Processes/jms/JmsGet.process JMS Queue Receiver 0 @@ -11,7 +11,7 @@ com.tibco.plugin.jms.JMSQueueEventSource ae.activities.JMSQueueEventSource 113 - 70 + 66 XML Text @@ -25,7 +25,7 @@ 0 4 - /LocalResources/server.get.sharedjmscon + /LocalResources/jmsConnections/server.get.sharedjmscon @@ -41,7 +41,7 @@ End 536 - 70 + 66 http://xmlns.example.com/1724069617580 @@ -52,67 +52,10 @@ 203 true - localname=root namespace=http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2 + localname=xmlGetError - - com.tibco.plugin.jms.JMSQueueSendActivity - ae.activities.JMSQueueSendActivity - 403 - 70 - - XML Text - - false - 1 - 1 - getResponse - - - PERSISTENT - 0 - 4 - - 0 - /LocalResources/server.get.sharedjmscon - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - com.tibco.plugin.jms.JMSQueueSendActivity ae.activities.JMSQueueSendActivity @@ -132,7 +75,7 @@ 4 0 - /LocalResources/server.get.sharedjmscon + /LocalResources/jmsConnections/server.get.sharedjmscon @@ -150,7 +93,7 @@ - + @@ -164,13 +107,71 @@ - + + com.tibco.plugin.jms.JMSQueueSendActivity + ae.activities.JMSQueueSendActivity + 403 + 66 + + XML Text + + false + 1 + 1 + getResponse + + + PERSISTENT + 0 + 4 + + 0 + /LocalResources/jmsConnections/server.get.sharedjmscon + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + com.tibco.pe.core.CallProcessActivity ae.process.subprocess - 269 - 70 + 271 + 66 - /Processes/sql/author/SqlGET.process + /Processes/xml/author/XmlGET.process + if ($_globalVariables/pfx3:GlobalVariables/processType='sql') then '/Processes/sql/author/SqlGET.process' else '/Processes/xml/author/XmlGET.process' @@ -182,13 +183,13 @@ JMS Queue Receiver - SqlGET + XmlGET Default -16777216 always - SqlGET + XmlGET SendResponse Default -16777216 diff --git a/Processes/jms/JmsPost.process b/Processes/jms/JmsPost.process index a8b9fe3..d4f5bf0 100644 --- a/Processes/jms/JmsPost.process +++ b/Processes/jms/JmsPost.process @@ -1,7 +1,7 @@ - + - + Processes/jms/JmsPost.process JMS Topic Subscriber 0 @@ -18,14 +18,14 @@ false 1 1 - postRequest + deleteRequest PERSISTENT 0 4 - /LocalResources/server.post.sharedjmscon + /LocalResources/jmsConnections/server.delete.sharedjmscon @@ -52,7 +52,7 @@ 240 true - localname=root namespace=http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2 + localname=xmlPostError @@ -75,7 +75,7 @@ 4 0 - /LocalResources/server.post.sharedjmscon + /LocalResources/jmsConnections/server.post.sharedjmscon @@ -118,7 +118,8 @@ 243 64 - /Processes/sql/author/SqlPOST.process + /Processes/xml/author/XmlPOST.process + if ($_globalVariables/pfx3:GlobalVariables/processType='sql') then '/Processes/sql/author/SqlPOST.process' else '/Processes/xml/author/XmlPOST.process' @@ -145,7 +146,7 @@ 4 0 - /LocalResources/server.post.sharedjmscon + /LocalResources/jmsConnections/server.post.sharedjmscon @@ -163,7 +164,7 @@ - + diff --git a/Processes/jms/JmsPut.process b/Processes/jms/JmsPut.process index 984d8cb..aecf851 100644 --- a/Processes/jms/JmsPut.process +++ b/Processes/jms/JmsPut.process @@ -1,7 +1,7 @@ - + Processes/jms/JmsPut.process JMS Queue Receiver 0 @@ -25,7 +25,7 @@ 0 4 - /LocalResources/server.put.sharedjmscon + /LocalResources/jmsConnections/server.put.sharedjmscon @@ -52,7 +52,7 @@ 225 true - localname=root namespace=http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2 + localname=XMLPutError @@ -75,7 +75,7 @@ 4 0 - /LocalResources/server.put.sharedjmscon + /LocalResources/jmsConnections/server.put.sharedjmscon @@ -131,7 +131,7 @@ 4 0 - /LocalResources/server.get.sharedjmscon + /LocalResources/jmsConnections/server.get.sharedjmscon @@ -149,7 +149,7 @@ - + @@ -169,7 +169,8 @@ 279 65 - /Processes/sql/author/SqlPUT.process + /Processes/xml/author/XmlPUT.process + if ($_globalVariables/pfx3:GlobalVariables/processType='sql') then '/Processes/sql/author/SqlPUT.process' else '/Processes/xml/author/XmlPUT.process' diff --git a/Processes/rest/RestRequest.process b/Processes/rest/RestRequest.process index 4543043..3e37d24 100644 --- a/Processes/rest/RestRequest.process +++ b/Processes/rest/RestRequest.process @@ -9,8 +9,8 @@ com.tibco.plugin.http.HTTPEventSource httppalette.httpEventSource - 112 - 349 + 102 + 345 String ISO8859_1 @@ -38,7 +38,7 @@ End 814 - 350 + 345 @@ -52,62 +52,38 @@ http://xmlns.example.com/1719474540368 - - com.tibco.pe.core.CallProcessActivity - ae.process.subprocess - 262 - 357 + + com.tibco.pe.core.CatchActivity + ae.activities.catch + 357 + 202 + true - /Processes/sql/InitializeDatabase.process - if ($_globalVariables/pfx:GlobalVariables/processType='sql') then '/Processes/sql/InitializeDatabase.process' else '/Processes/xml/Xml.process' - false + localname=XMLError - - - - - - - - - - + - - com.tibco.plugin.http.HTTPResponseActivity - httppalette.httpWebResponse - 584 - 349 + + com.tibco.pe.core.WriteToLogActivity + ae.activities.log + 225 + 345 - true - HTTP Receiver - - - - - - - - - - - - - + User - - - - - + + + + + com.tibco.plugin.xml.XMLRendererActivity ae.activities.XMLRendererActivity - 432 - 349 + 477 + 345 text true @@ -132,17 +108,6 @@ - - com.tibco.pe.core.CatchActivity - ae.activities.catch - 357 - 202 - true - - localname=root namespace=http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2 - - - com.tibco.plugin.http.HTTPResponseActivity httppalette.httpWebResponse @@ -169,18 +134,85 @@ - + - - HTTP Receiver - Select Database Type - Default - -16777216 - always - + + com.tibco.pe.core.CallProcessActivity + ae.process.subprocess + 352 + 352 + + /Processes/xml/Xml.process + if ($_globalVariables/pfx:GlobalVariables/processType='sql') then '/Processes/sql/InitializeDatabase.process' else '/Processes/xml/Xml.process' + false + + + + + + + + + + + + + + com.tibco.plugin.http.HTTPResponseActivity + httppalette.httpWebResponse + 629 + 345 + + true + HTTP Receiver + + + + + + + + + + + + + + + + + + + + + + + + com.tibco.plugin.xml.XMLParseActivity + ae.activities.XMLParseActivity + 847 + 99 + + binary + default + true + + + + + com.tibco.plugin.xml.XMLRendererActivity + ae.activities.XMLRendererActivity + 667 + 52 + + binary + false + + + Send HTTP Response End @@ -216,4 +248,18 @@ -16777216 always + + HTTP Receiver + Log + Default + -16777216 + always + + + Log + Select Database Type + Default + -16777216 + always + \ No newline at end of file diff --git a/Processes/soap/.folder b/Processes/soap/.folder new file mode 100644 index 0000000..bc9df30 --- /dev/null +++ b/Processes/soap/.folder @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/Resources/WSDL/SoapDeleteAuthor.process b/Processes/soap/SoapDeleteAuthor.process similarity index 73% rename from Resources/WSDL/SoapDeleteAuthor.process rename to Processes/soap/SoapDeleteAuthor.process index db562d8..6e44f9d 100644 --- a/Resources/WSDL/SoapDeleteAuthor.process +++ b/Processes/soap/SoapDeleteAuthor.process @@ -1,7 +1,7 @@ - + - Resources/WSDL/SoapDeleteAuthor.process + Processes/soap/SoapDeleteAuthor.process Start 150 @@ -48,7 +48,7 @@ true false - localname=ErrorMessage namespace=http://xmlns.example.com/1721737885605 + localname=xmlDeleteError @@ -63,7 +63,13 @@ - + + + + + + + diff --git a/Resources/WSDL/SoapGetAuthor.process b/Processes/soap/SoapGetAuthor.process similarity index 80% rename from Resources/WSDL/SoapGetAuthor.process rename to Processes/soap/SoapGetAuthor.process index 5a1af2e..5823e6a 100644 --- a/Resources/WSDL/SoapGetAuthor.process +++ b/Processes/soap/SoapGetAuthor.process @@ -1,9 +1,9 @@ - + - Resources/WSDL/SoapGetAuthor.process + Processes/soap/SoapGetAuthor.process Start 116 @@ -72,7 +72,7 @@ 234 true - localname=ErrorMessage namespace=http://xmlns.example.com/1721737885605 + localname=xmlGetError @@ -87,7 +87,13 @@ - + + + + + + + diff --git a/Resources/WSDL/SoapPostAuthor.process b/Processes/soap/SoapPostAuthor.process similarity index 82% rename from Resources/WSDL/SoapPostAuthor.process rename to Processes/soap/SoapPostAuthor.process index 31f835f..bed4b7b 100644 --- a/Resources/WSDL/SoapPostAuthor.process +++ b/Processes/soap/SoapPostAuthor.process @@ -1,7 +1,7 @@ - + - Resources/WSDL/SoapPostAuthor.process + Processes/soap/SoapPostAuthor.process Start 146 @@ -71,7 +71,7 @@ true false - localname=ErrorMessage namespace=http://xmlns.example.com/1721737885605 + localname=xmlPostError @@ -86,7 +86,13 @@ - + + + + + + + diff --git a/Resources/WSDL/SoapPutAuthor.process b/Processes/soap/SoapPutAuthor.process similarity index 80% rename from Resources/WSDL/SoapPutAuthor.process rename to Processes/soap/SoapPutAuthor.process index cfd28bc..2dae498 100644 --- a/Resources/WSDL/SoapPutAuthor.process +++ b/Processes/soap/SoapPutAuthor.process @@ -1,7 +1,7 @@ - + - Resources/WSDL/SoapPutAuthor.process + Processes/soap/SoapPutAuthor.process Start 150 @@ -67,7 +67,7 @@ true false - localname=ErrorMessage namespace=http://xmlns.example.com/1721737885605 + localname=XMLPutError @@ -75,14 +75,20 @@ com.tibco.pe.core.GenerateErrorActivity ae.activities.throw 356 - 204 + 206 PutError - + + + + + + + diff --git a/Processes/xml/Xml.process b/Processes/xml/Xml.process index 590b6d5..99a3c4b 100644 --- a/Processes/xml/Xml.process +++ b/Processes/xml/Xml.process @@ -1,5 +1,5 @@ - + Processes/xml/Xml.process Start @@ -17,10 +17,34 @@ 180 - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + End @@ -34,43 +58,90 @@ - 758 - 180 - + 823 + 177 + + + + + + + + + + + http://xmlns.example.com/1719484154608 - - com.tibco.pe.core.CallProcessActivity - ae.process.subprocess - 530 - 180 + + com.tibco.pe.core.CatchActivity + ae.activities.catch + 406 + 478 + true - /Processes/xml/author/XmlPOST.process - concat('/Processes/xml/author/Xml',$Start/root/method ,'.process') + localname=XMLPutError + + + + + com.tibco.pe.core.GenerateErrorActivity + ae.activities.throw + 583 + 694 + + XMLError - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + com.tibco.pe.core.WriteToLogActivity + ae.activities.log + 178 + 180 + + User + + + + + + + @@ -97,16 +168,16 @@ - + - + - + - + @@ -117,30 +188,13 @@ - - com.tibco.pe.core.WriteToLogActivity - ae.activities.log - 178 - 180 - - User - - - - - - - - - - + com.tibco.pe.core.CallProcessActivity ae.process.subprocess - 527 - 343 + 569 + 145 - /Processes/xml/author/XmlGET.process - concat('/Processes/xml/author/Xml',$Start/root/method ,'.process') + /Processes/xml/author/XmlDELETE.process @@ -150,8 +204,125 @@ + + com.tibco.pe.core.CallProcessActivity + ae.process.subprocess + 569 + 402 + + /Processes/xml/author/XmlGET.process + + + + + + + + + + + + com.tibco.pe.core.CallProcessActivity + ae.process.subprocess + 569 + 34 + + /Processes/xml/author/XmlPOST.process + + + + + + + + + + + + + + + + + + + + + + + + + + + + + com.tibco.pe.core.CallProcessActivity + ae.process.subprocess + 569 + 284 + + /Processes/xml/author/XmlPUT.process + + + + + + + + + + + + + + + + + + + + + + + + + + + + com.tibco.pe.core.CatchActivity + ae.activities.catch + 321 + 562 + true + + localname=xmlPostError + + + + + com.tibco.pe.core.CatchActivity + ae.activities.catch + 295 + 684 + true + + localname=xmlDeleteError + + + + + com.tibco.pe.core.CatchActivity + ae.activities.catch + 327 + 812 + true + + localname=xmlGetError + + + - XmlPostPut + XmlPost End Default -16777216 @@ -159,12 +330,12 @@ Map Data - XmlPostPut - postOrPut + XmlPost + Post Default -16777216 xpath - $Start/root/method = 'POST' or $Start/root/method = 'PUT' + $Start/root/method = 'POST' Start @@ -182,18 +353,78 @@ Map Data - XmlGetDelete - getOrDelete + XmlGet + Get Default -16777216 xpath - $Start/root/method = 'DELETE' or $Start/root/method = 'GET' + $Start/root/method = 'GET' - XmlGetDelete + XmlGet End Default -16777216 always + + Map Data + XmlDelete + Delete + Default + -16777216 + xpath + $Start/root/method = 'DELETE' + + + Map Data + XmlPut + Put + Default + -16777216 + xpath + $Start/root/method = 'PUT' + + + XmlPut + End + Default + -16777216 + always + + + XmlDelete + End + Default + -16777216 + always + + + CatchPutError + Generate Error + Default + -16777216 + always + + + CatchPostError + Generate Error + Default + -16777216 + always + + + CatchDeleteError + Generate Error + Default + -16777216 + always + + + CatchGetError + Generate Error + Default + -16777216 + always + \ No newline at end of file diff --git a/Processes/xml/author/XmlDELETE.process b/Processes/xml/author/XmlDELETE.process index 5685a3b..43f7105 100644 --- a/Processes/xml/author/XmlDELETE.process +++ b/Processes/xml/author/XmlDELETE.process @@ -1,5 +1,5 @@ - + @@ -15,7 +15,7 @@ 184 - 205 + 196 @@ -35,91 +35,63 @@ 1072 - 205 + 196 - + + + + + + + + + http://xmlns.example.com/1719483544323 - - com.tibco.plugin.file.FileReadActivity - ae.activities.FileReadActivity - 373 - 205 + + com.tibco.plugin.ftp.FTPGetActivity + ae.activities.FTPGetActivityUI + 349 + 196 - text + 120000 + false + false + true + /LocalResources/FTP Connection.sharedftp - - - - - + + + + + - - com.tibco.plugin.xml.XMLParseActivity - ae.activities.XMLParseActivity - 514 - 205 + + com.tibco.plugin.ftp.FTPPutActivity + ae.activities.FTPPutActivityUI + 949 + 196 - text - default - true - + 120000 + false + false + false + true + true + /LocalResources/FTP Connection.sharedftp - - - - - - - com.tibco.plugin.mapper.MapperActivity - ae.activities.MapperActivity - 680 - 213 - - - - - - - - - - - com.tibco.plugin.xml.XMLRendererActivity - ae.activities.XMLRendererActivity - 821 - 205 - - text - false - - - - - - - - com.tibco.plugin.file.FileWriteActivity - ae.activities.FileWriteActivity - 959 - 205 - - text - None - - - - - - - + + + + + - - + + @@ -133,31 +105,60 @@ - - - - - - - + + + + + - - Start - Read File - Default - -16777216 - always - - - Read File - Parse XML - Default - -16777216 - always - + + com.tibco.plugin.xml.XMLParseActivity + ae.activities.XMLParseActivity + 514 + 196 + + text + default + true + + + + + + + + + + com.tibco.plugin.mapper.MapperActivity + ae.activities.MapperActivity + 680 + 203 + + + + + + + + + + + com.tibco.plugin.xml.XMLRendererActivity + ae.activities.XMLRendererActivity + 821 + 196 + + text + false + + + + + + Parse XML Remove Author By Id @@ -172,20 +173,6 @@ -16777216 always - - Render XML - Write File - Default - -16777216 - always - - - Write File - End - Default - -16777216 - always - Parse XML Generate Error @@ -195,4 +182,32 @@ xpath not(boolean($Parse-XML/pfx:authors/pfx:author[@id=$Start/root/id])) + + Start + FTP Get + Default + -16777216 + always + + + FTP Get + Parse XML + Default + -16777216 + always + + + Render XML + FTP Put + Default + -16777216 + always + + + FTP Put + End + Default + -16777216 + always + \ No newline at end of file diff --git a/Processes/xml/author/XmlGET.process b/Processes/xml/author/XmlGET.process index 03953f0..3c350e1 100644 --- a/Processes/xml/author/XmlGET.process +++ b/Processes/xml/author/XmlGET.process @@ -1,5 +1,5 @@ - + Processes/xml/author/XmlGET.process @@ -37,7 +37,15 @@ 924 81 - + + + + + + + + + http://xmlns.example.com/1719920186128 @@ -54,26 +62,10 @@ - + - - com.tibco.plugin.file.FileReadActivity - ae.activities.FileReadActivity - 330 - 78 - - text - - - - - - - - - com.tibco.plugin.mapper.MapperActivity ae.activities.MapperActivity @@ -99,17 +91,35 @@ - - - - - - - + + + + + + + com.tibco.plugin.ftp.FTPGetActivity + ae.activities.FTPGetActivityUI + 312 + 76 + + 120000 + false + false + true + /LocalResources/FTP Connection.sharedftp + + + + + + + + + Parse XML Get Author By Id @@ -117,20 +127,6 @@ -16777216 always - - Read File - Parse XML - Default - -16777216 - always - - - Start - Read File - Default - -16777216 - always - Get Author By Id Generate Error @@ -147,4 +143,18 @@ -16777216 otherwise + + Start + FTP Get + Default + -16777216 + always + + + FTP Get + Parse XML + Default + -16777216 + always + \ No newline at end of file diff --git a/Processes/xml/author/XmlPOST.process b/Processes/xml/author/XmlPOST.process index 1cbb281..3c721f3 100644 --- a/Processes/xml/author/XmlPOST.process +++ b/Processes/xml/author/XmlPOST.process @@ -1,5 +1,5 @@ - + Processes/xml/author/XmlPOST.process @@ -13,8 +13,8 @@ - 51 - 212 + 132 + 237 @@ -33,51 +33,26 @@ - 940 - 218 + 1141 + 237 - + + + + + + + + + http://xmlns.example.com/1719920186128 - - com.tibco.plugin.file.FileReadActivity - ae.activities.FileReadActivity - 194 - 212 - - text - - - - - - - - - - - com.tibco.plugin.xml.XMLParseActivity - ae.activities.XMLParseActivity - 340 - 215 - - text - default - true - - - - - - - - com.tibco.plugin.mapper.MapperActivity ae.activities.MapperActivity - 509 - 216 + 710 + 237 @@ -88,11 +63,125 @@ + + com.tibco.plugin.xml.XMLRendererActivity + ae.activities.XMLRendererActivity + 393 + 370 + + text + false + + + + + + com.tibco.plugin.ftp.FTPGetActivity + ae.activities.FTPGetActivityUI + 393 + 237 + + 120000 + false + false + true + /LocalResources/FTP Connection.sharedftp + + + + + + + + + + + com.tibco.plugin.ftp.FTPPutActivity + ae.activities.FTPPutActivityUI + 1005 + 237 + + 120000 + false + false + false + true + true + /LocalResources/FTP Connection.sharedftp + + + + + + + + + + + + + + com.tibco.pe.core.GenerateErrorActivity + ae.activities.throw + 544 + 81 + + PostError + + + + + + + + + + + + + + + com.tibco.plugin.file.FileWriteActivity + ae.activities.FileWriteActivity + 709 + 363 + + text + None + + + + + + + + + + + + + + com.tibco.plugin.xml.XMLParseActivity + ae.activities.XMLParseActivity + 541 + 237 + + text + default + true + + + + + + + + com.tibco.plugin.xml.XMLRendererActivity ae.activities.XMLRendererActivity - 669 - 216 + 870 + 237 text false @@ -102,96 +191,6 @@ - - com.tibco.plugin.file.FileWriteActivity - ae.activities.FileWriteActivity - 802 - 216 - - text - None - - - - - - - - - - - - - - com.tibco.plugin.xml.XMLRendererActivity - ae.activities.XMLRendererActivity - 192 - 348 - - text - false - - - - - - com.tibco.plugin.file.FileWriteActivity - ae.activities.FileWriteActivity - 508 - 341 - - text - None - - - - - - - - - - - - - - com.tibco.pe.core.GenerateErrorActivity - ae.activities.throw - 343 - 59 - - PostError - - - - - - - - - - - - - - - - - Start - Read File - Default - -16777216 - always - - - Read File - Parse XML - fileNotEmpty - Default - -16777216 - xpath - string-length($Read-File/ns:ReadActivityOutputTextClass/fileContent/textContent)>0 - Parse XML Add Author @@ -206,27 +205,6 @@ -16777216 always - - Render XML - Write File - Default - -16777216 - always - - - Write File - End - Default - -16777216 - always - - - Read File - Add Authors Template - Default - -16777216 - otherwise - Add Authors Template InitializeFile @@ -250,4 +228,41 @@ xpath boolean($Parse-XML/pfx:authors/pfx:author[@id=$Start/root/pfx:author/@id]) + + Start + FTP Get + Default + -16777216 + always + + + FTP Get + Add Authors Template + Default + -16777216 + otherwise + + + FTP Get + Parse XML + FileNotEmpty + Default + -16777216 + xpath + string-length($FTP-Get/FTPGetOutputASCII/ASCIIData)>2 + + + Render XML + FTP Put + Default + -16777216 + always + + + FTP Put + End + Default + -16777216 + always + \ No newline at end of file diff --git a/Processes/xml/author/XmlPUT.process b/Processes/xml/author/XmlPUT.process index 76e7545..9abaaca 100644 --- a/Processes/xml/author/XmlPUT.process +++ b/Processes/xml/author/XmlPUT.process @@ -1,5 +1,5 @@ - + Processes/xml/author/XmlPUT.process @@ -14,7 +14,7 @@ 35 - 148 + 142 @@ -34,93 +34,63 @@ 849 - 147 + 142 - + + + + + + + + + http://xmlns.example.com/1719920186128 - - com.tibco.plugin.file.FileReadActivity - ae.activities.FileReadActivity - 193 - 147 + + com.tibco.plugin.ftp.FTPGetActivity + ae.activities.FTPGetActivityUI + 181 + 142 - text + 120000 + false + false + true + /LocalResources/FTP Connection.sharedftp - - - - - + + + + + - - com.tibco.plugin.xml.XMLParseActivity - ae.activities.XMLParseActivity - 340 - 148 + + com.tibco.plugin.ftp.FTPPutActivity + ae.activities.FTPPutActivityUI + 727 + 142 - text - default - true - + 120000 + false + false + false + true + true + /LocalResources/FTP Connection.sharedftp - - - - - - - com.tibco.plugin.mapper.MapperActivity - ae.activities.MapperActivity - 465 - 155 - - - - - - - - - - - - - com.tibco.plugin.xml.XMLRendererActivity - ae.activities.XMLRendererActivity - 598 - 149 - - text - false - - - - - - - - com.tibco.plugin.file.FileWriteActivity - ae.activities.FileWriteActivity - 725 - 150 - - text - None - - - - - - - + + + + + - - + + @@ -134,31 +104,62 @@ - - - - - - - + + + + + - - Start - Read File - Default - -16777216 - always - - - Read File - Parse XML - Default - -16777216 - always - + + com.tibco.plugin.xml.XMLParseActivity + ae.activities.XMLParseActivity + 340 + 142 + + text + default + true + + + + + + + + + + com.tibco.plugin.xml.XMLRendererActivity + ae.activities.XMLRendererActivity + 601 + 142 + + text + false + + + + + + + + com.tibco.plugin.mapper.MapperActivity + ae.activities.MapperActivity + 465 + 149 + + + + + + + + + + + Parse XML Update Author With Id @@ -173,20 +174,6 @@ -16777216 always - - Render XML - Write File - Default - -16777216 - always - - - Write File - End - Default - -16777216 - always - Parse XML Generate Error @@ -196,4 +183,32 @@ xpath not(boolean($Parse-XML/pfx:authors/pfx:author[@id=$Start/root/pfx:author/@id])) + + Start + FTP Get + Default + -16777216 + always + + + FTP Get + Parse XML + Default + -16777216 + always + + + Render XML + FTP Put + Default + -16777216 + always + + + FTP Put + End + Default + -16777216 + always + \ No newline at end of file diff --git a/Resources/Folder/.folder b/Resources/Folder/.folder new file mode 100644 index 0000000..fa1c6ee --- /dev/null +++ b/Resources/Folder/.folder @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/Resources/WSDL/WSDL-service0.serviceagent b/Resources/WSDL/WSDL-service0.serviceagent index b2b89b1..6df6789 100644 --- a/Resources/WSDL/WSDL-service0.serviceagent +++ b/Resources/WSDL/WSDL-service0.serviceagent @@ -22,10 +22,10 @@ impl - - - - + + + + @@ -41,7 +41,7 @@ soap.service.transport.ui.transport.tab.label transport - /LocalResources/alternativeQueue.sharedjmscon + /LocalResources/jmsConnections/alternativeQueue.sharedjmscon queue.sample diff --git a/Resources/builders/.folder b/Resources/builders/.folder new file mode 100644 index 0000000..79d98eb --- /dev/null +++ b/Resources/builders/.folder @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/Resources/LibraryBuilder.libbuilder b/Resources/builders/LibraryBuilder.libbuilder similarity index 100% rename from Resources/LibraryBuilder.libbuilder rename to Resources/builders/LibraryBuilder.libbuilder diff --git a/Resources/builders/httpRest.archive b/Resources/builders/httpRest.archive new file mode 100644 index 0000000..b5fa025 --- /dev/null +++ b/Resources/builders/httpRest.archive @@ -0,0 +1,27 @@ + + + + + shared.archive.resource + wojciech + + + + + + process.archive.resource + wojciech + /Processes/rest/RestRequest.process + + 2 + wojciech + true + httpRest + + + + + + /home/wojciech/tibcoFTPRepo.ear + + \ No newline at end of file diff --git a/Resources/builders/jmsWithJars.archive b/Resources/builders/jmsWithJars.archive new file mode 100644 index 0000000..de92d27 --- /dev/null +++ b/Resources/builders/jmsWithJars.archive @@ -0,0 +1,27 @@ + + + + + shared.archive.resource + wojciech + + + /tibco/ems/10.1/lib/tibjms.jar + + + process.archive.resource + wojciech + /Processes/jms/JmsDelete.process,/Processes/jms/JmsGet.process,/Processes/jms/JmsPost.process,/Processes/jms/JmsPut.process + + 9 + wojciech + true + jmsWithJars + + + + + + /home/wojciech/jmsWithJars.ear + + \ No newline at end of file diff --git a/Resources/configurations/HTTP Connection.sharedhttp b/Resources/configurations/HTTP Connection.sharedhttp index b999c85..2a23b33 100644 --- a/Resources/configurations/HTTP Connection.sharedhttp +++ b/Resources/configurations/HTTP Connection.sharedhttp @@ -40,6 +40,6 @@ 60000 - 8888 + %%httpPort%% \ No newline at end of file diff --git a/Resources/databases/databaseXML.xml b/Resources/databases/databaseXML.xml index 8d2e9bd..42a3212 100644 --- a/Resources/databases/databaseXML.xml +++ b/Resources/databases/databaseXML.xml @@ -1,127 +1,29 @@ - - siema - asd - 56 - 2024-08-27 - 2024-08-27 - - - siema - asd - 34 - 2024-08-05 - 2024-08-14 - - - siema - asd - 11 - 2024-07-31 - 2024-08-12 - - - asd - asd - 23 - 2024-08-27 - 2024-08-27 - - - wer - asd - 12 - 2024-08-14 - 2024-08-30 - - - siema - fgtbn - 45 - 2024-08-27 - 2024-08-27 - - - siema - asd - 67 - 2024-08-27 - 2024-08-27 - - - asd - dsf - 32 - 2024-08-27 - 2024-08-27 - - - piwo - tydr - 54 - 2024-08-26 - 2024-08-26 - - - drtg - dfg - 54 - 2024-08-26 - 2024-08-26 - - - siema - asd - 12 - 2024-08-26 - 2024-08-26 - - - siema - tydr - 12 - 2024-08-21 - 2024-08-08 - - - asd - asd - 21 - 2024-08-07 - 2024-08-07 - - - siema - asd - 56 - 2024-08-15 - 2024-08-23 - - - siema - asd - 12 - 2024-08-07 - 2024-08-07 - - - fgdg - asd - 12 - 2024-08-02 - 2024-08-22 - - - prubva - sfdgsg - 987 - 2000-02-01 - 2000-02-06 - - + piwo - harnas + karol + 12 + 2000-12-12 + 2000-12-12 + + + piwo + karol + 12 + 2000-12-12 + 2000-12-12 + + + piwo + karol + 12 + 2000-12-12 + 2000-12-12 + + + piwo + karol 12 2000-12-12 2000-12-12 diff --git a/Resources/JmsErrorSchema/JmsStatusResponse.xsd b/Resources/schemas/JmsStatusResponse.xsd similarity index 100% rename from Resources/JmsErrorSchema/JmsStatusResponse.xsd rename to Resources/schemas/JmsStatusResponse.xsd diff --git a/as b/as new file mode 100644 index 0000000..e69de29 diff --git a/databaseXML.xml b/databaseXML.xml index 09a2a61..e69de29 100644 --- a/databaseXML.xml +++ b/databaseXML.xml @@ -1,46 +0,0 @@ - - - - prubva - sfdgsg - 987 - 2000-02-01 - 2000-02-06 - - - - prubva - sfdgsg - 987 - 2000-02-01 - 2000-02-06 - - - prubva - sfdgsg - 987 - 2000-02-01 - 2000-02-06 - - - prubva - sfdgsg - 987 - 2000-02-01 - 2000-02-06 - - - czesc - czesc - 12 - 2000-01-01 - 2000-01-01 - - - 69 - 69 - 69 - 1999-01-01 - 1999-01-01 - -69691999-01-011999-01-0169 \ No newline at end of file diff --git a/defaultVars/defaultVars.substvar b/defaultVars/defaultVars.substvar index 88a9b03..7512cd5 100644 --- a/defaultVars/defaultVars.substvar +++ b/defaultVars/defaultVars.substvar @@ -33,6 +33,22 @@ String 1719474686815 + + FTPPassword + 3EyacCIOg8NPfbERzx0q6ZZh54oryRJs + true + false + String + 1725011413071 + + + FTPUSername + 56e0529d6cd24984a385de40aad2fb98 + true + false + String + 1725011413090 + HawkEnabled false @@ -130,12 +146,36 @@ 1719474686789 - processType - sql + XMLDatabasePath + /home/wojciech/databaseXML.xml true false String - 1722336781786 + 1725011259812 + + + httpPort + 8888 + true + false + String + 1724936576252 + + + jmsURL + tcp://localhost:7222 + true + false + String + 1725360353414 + + + processType + xml + true + false + String + 1724828994422 \ No newline at end of file