diff --git a/.designtimelibs b/.designtimelibs new file mode 100644 index 0000000..598be47 --- /dev/null +++ b/.designtimelibs @@ -0,0 +1,4 @@ +#Design time libraries +#Format: #=File Alias=Description +#Wed Aug 07 16:14:36 CEST 2024 +0=ProjectLibrary.projlib\= diff --git a/Processes/rest/rest request.process b/Processes/rest/rest request.process index d1fcd0d..b9075e1 100644 --- a/Processes/rest/rest request.process +++ b/Processes/rest/rest request.process @@ -1,5 +1,6 @@ + Processes/rest/rest request.process HTTP Receiver 0 @@ -9,7 +10,7 @@ com.tibco.plugin.http.HTTPEventSource httppalette.httpEventSource 168 - 256 + 252 String ISO8859_1 @@ -36,16 +37,27 @@ End - 786 - 254 - + + 784 + 259 + + + + + + + + + + + http://xmlns.example.com/1719474540368 com.tibco.pe.core.CallProcessActivity ae.process.subprocess - 348 - 263 + 355 + 261 /Processes/xml/xml.process if ($_globalVariables/pfx:GlobalVariables/processType='sql') then '/Processes/sql/InitializeDatabase.process' else '/Processes/xml/xml.process' @@ -65,8 +77,8 @@ com.tibco.plugin.http.HTTPResponseActivity httppalette.httpWebResponse - 555 - 254 + 610 + 257 true HTTP Receiver @@ -87,7 +99,78 @@ - + + + + + + + com.tibco.plugin.xml.XMLRendererActivity + ae.activities.XMLRendererActivity + 481 + 254 + + text + true + true + + + + + + + + + + + + + + + + + + + + + + com.tibco.pe.core.CatchActivity + ae.activities.catch + 246 + 440 + true + + true + + + + + com.tibco.plugin.http.HTTPResponseActivity + httppalette.httpWebResponse + 432 + 442 + + true + HTTP Receiver + true + + + + + + + + + + + + + + + + + + @@ -108,9 +191,30 @@ select database type + Render XML + Default + -16777216 + always + + + Render XML Send HTTP Response Default -16777216 always + + Catch + ErrorResponse + Default + -16777216 + always + + + ErrorResponse + End + Default + -16777216 + always + \ No newline at end of file diff --git a/Processes/sql/InitializeDatabase.process b/Processes/sql/InitializeDatabase.process index 9d789d3..e5bc19b 100644 --- a/Processes/sql/InitializeDatabase.process +++ b/Processes/sql/InitializeDatabase.process @@ -37,8 +37,8 @@ com.tibco.plugin.jdbc.JDBCGeneralActivity ae.activities.JDBCGeneralActivity - 275 - 126 + 280 + 123 10 false diff --git a/Processes/sql/SelectDatabase.process b/Processes/sql/SelectDatabase.process index 00ea2ab..635a604 100644 --- a/Processes/sql/SelectDatabase.process +++ b/Processes/sql/SelectDatabase.process @@ -13,7 +13,7 @@ - 169 + 156 180 @@ -80,39 +80,39 @@ 183 - - - - - - - - - - - - + + + + + + + + + + + + - + - + - + - + - + - + diff --git a/Processes/sql/author/SqlGET.process b/Processes/sql/author/SqlGET.process index 1babb22..fb11038 100644 --- a/Processes/sql/author/SqlGET.process +++ b/Processes/sql/author/SqlGET.process @@ -1,6 +1,6 @@ - + Processes/sql/author/SqlGET.process Start @@ -56,7 +56,17 @@ 726 108 - + + + + + + + + + + + http://xmlns.example.com/1719579163583 @@ -155,13 +165,42 @@ - - GetAuthor - End - Default - -16777216 - always - + + com.tibco.plugin.xml.XMLRendererActivity + ae.activities.XMLRendererActivity + 599 + 111 + + text + true + true + + + + + + + + + + + + + + + + + + + + + + + + + + + Start LogInputData @@ -183,4 +222,18 @@ -16777216 always + + GetAuthor + Render XML + Default + -16777216 + always + + + Render XML + End + Default + -16777216 + always + \ No newline at end of file diff --git a/Processes/sql/author/SqlPOST.process b/Processes/sql/author/SqlPOST.process index bb109fb..96d77e9 100644 --- a/Processes/sql/author/SqlPOST.process +++ b/Processes/sql/author/SqlPOST.process @@ -149,7 +149,7 @@ com.tibco.pe.core.GenerateErrorActivity ae.activities.throw - 418 + 422 240 diff --git a/Processes/xml/author/XmlGET.process b/Processes/xml/author/XmlGET.process index b4378d3..5224990 100644 --- a/Processes/xml/author/XmlGET.process +++ b/Processes/xml/author/XmlGET.process @@ -1,6 +1,7 @@ - + + Processes/xml/author/XmlGET.process Start @@ -35,7 +36,9 @@ 924 81 - + + + http://xmlns.example.com/1719920186128 @@ -91,13 +94,19 @@ 705 277 - + Schema0 - - - + + + + + + + + + diff --git a/Processes/xml/author/XmlPOST.process b/Processes/xml/author/XmlPOST.process index 093c445..c887937 100644 --- a/Processes/xml/author/XmlPOST.process +++ b/Processes/xml/author/XmlPOST.process @@ -16,9 +16,9 @@ 212 - + - + End diff --git a/Resources/LibraryBuilder.libbuilder b/Resources/LibraryBuilder.libbuilder new file mode 100644 index 0000000..06dc729 --- /dev/null +++ b/Resources/LibraryBuilder.libbuilder @@ -0,0 +1,9 @@ + + + + 6 + wojciech + /home/wojciech/ProjectLibrary.projlib + /Resources/WSDL/WSDL.wsdl,/Resources/WSDL/concrete/author methods.wsdl,/Resources/schemas/author.xsd,/Resources/schemas/deleteRequest.xsd,/Resources/schemas/deleteResponse.xsd,/Resources/schemas/errorSchema.xsd,/Resources/schemas/getRequest.xsd,/Resources/schemas/getResponse.xsd,/Resources/schemas/postRequest.xsd,/Resources/schemas/postResponse.xsd,/Resources/schemas/putRequest.xsd,/Resources/schemas/putResponse.xsd + + \ No newline at end of file diff --git a/Resources/WSDL/SoapGetAuthor.process b/Resources/WSDL/SoapGetAuthor.process index 6a29c4b..5d041a0 100644 --- a/Resources/WSDL/SoapGetAuthor.process +++ b/Resources/WSDL/SoapGetAuthor.process @@ -1,5 +1,5 @@ - + @@ -18,7 +18,7 @@ End - 539 + 547 66 @@ -44,30 +44,15 @@ com.tibco.pe.core.CatchActivity ae.activities.catch - 225 - 232 + 280 + 207 true - true + false + localname=ErrorMessage namespace=http://xmlns.example.com/1721737885605 - - com.tibco.pe.core.GenerateErrorActivity - ae.activities.throw - 401 - 231 - - - - - - - - - - - Start XmlGET @@ -84,7 +69,7 @@ Catch - Generate Error + End Default -16777216 always diff --git a/Resources/WSDL/SoapPostAuthor.process b/Resources/WSDL/SoapPostAuthor.process index f176e49..618d6c6 100644 --- a/Resources/WSDL/SoapPostAuthor.process +++ b/Resources/WSDL/SoapPostAuthor.process @@ -27,39 +27,14 @@ com.tibco.pe.core.CallProcessActivity ae.process.subprocess - 276 + 285 70 /Processes/xml/author/XmlPOST.process - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/Resources/WSDL/concrete/author methods.wsdl b/Resources/WSDL/concrete/author methods.wsdl index c7447c0..717df39 100644 --- a/Resources/WSDL/concrete/author methods.wsdl +++ b/Resources/WSDL/concrete/author methods.wsdl @@ -1,6 +1,7 @@ + diff --git a/Resources/WSDL/concrete/comment_t4j6BrWQGq9zFoRgTesIY5sxMQphuqo5.jpg b/Resources/WSDL/concrete/comment_t4j6BrWQGq9zFoRgTesIY5sxMQphuqo5.jpg deleted file mode 100644 index 02256b5..0000000 Binary files a/Resources/WSDL/concrete/comment_t4j6BrWQGq9zFoRgTesIY5sxMQphuqo5.jpg and /dev/null differ diff --git a/Resources/configurations/JDBC Connection.sharedjdbc b/Resources/configurations/JDBC Connection.sharedjdbc index 0c3af69..c477c26 100644 --- a/Resources/configurations/JDBC Connection.sharedjdbc +++ b/Resources/configurations/JDBC Connection.sharedjdbc @@ -8,6 +8,6 @@ 0 JDBC false - jdbc:sqlite:/tibco/designer/5.12/projects/httpRequest/database.db + jdbc:sqlite:/tibco/designer/5.12/projects/tibcoRepository/Resources/databases/database.db \ No newline at end of file diff --git a/Resources/databases/database.db b/Resources/databases/database.db index c967bbf..5c1eef2 100644 Binary files a/Resources/databases/database.db and b/Resources/databases/database.db differ diff --git a/Resources/databases/databaseXML.xml b/Resources/databases/databaseXML.xml index d2fda82..67017b3 100644 --- a/Resources/databases/databaseXML.xml +++ b/Resources/databases/databaseXML.xml @@ -1,5 +1,40 @@ + + 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 diff --git a/Resources/schemas/author.xsd b/Resources/schemas/author.xsd new file mode 100644 index 0000000..ffec1d5 --- /dev/null +++ b/Resources/schemas/author.xsd @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file