diff --git a/.gitignore b/.gitignore index cfbf8ef..391405d 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,5 @@ share/ zulu13* wix hs_err* + +local-repo.json diff --git a/base64-plugin/pom.xml b/base64-plugin/pom.xml index cf48a89..6d70299 100644 --- a/base64-plugin/pom.xml +++ b/base64-plugin/pom.xml @@ -12,7 +12,6 @@ 0.4.0 - base64-plugin Base64 diff --git a/base64-plugin/src/main/java/org/correomqtt/plugin/base64/Base64IO.java b/base64-plugin/src/main/java/org/correomqtt/plugin/base64/Base64IO.java index 675f07d..db343ef 100644 --- a/base64-plugin/src/main/java/org/correomqtt/plugin/base64/Base64IO.java +++ b/base64-plugin/src/main/java/org/correomqtt/plugin/base64/Base64IO.java @@ -10,7 +10,7 @@ @Extension @ExtensionId("base64.io") -public class Base64IO implements OutgoingMessageHook, IncomingMessageHook { +public class Base64IO implements OutgoingMessageHook, IncomingMessageHook { private Base64IOConfigDTO config; @@ -25,20 +25,4 @@ public MessageExtensionDTO onPublishMessage(String connectionId, MessageExtensio extensionMessageDTO.setPayload(new String(Base64Utils.encode(extensionMessageDTO.getPayload().getBytes()))); return extensionMessageDTO; } - - @Override - public Base64IOConfigDTO getConfig() { - return config; - } - - @Override - public void onConfigReceived(Base64IOConfigDTO config) { - this.config = config; - } - - - @Override - public Class getConfigClass() { - return Base64IOConfigDTO.class; - } } diff --git a/base64-plugin/src/main/java/org/correomqtt/plugin/base64/Base64IOConfigDTO.java b/base64-plugin/src/main/java/org/correomqtt/plugin/base64/Base64IOConfigDTO.java index 3a1396a..471ec2c 100644 --- a/base64-plugin/src/main/java/org/correomqtt/plugin/base64/Base64IOConfigDTO.java +++ b/base64-plugin/src/main/java/org/correomqtt/plugin/base64/Base64IOConfigDTO.java @@ -4,8 +4,6 @@ import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; -import org.correomqtt.plugin.spi.IncomingMessageHookDTO; -import org.correomqtt.plugin.spi.OutgoingMessageHookDTO; import java.util.List; @@ -13,7 +11,7 @@ @Setter @NoArgsConstructor @AllArgsConstructor -public class Base64IOConfigDTO implements IncomingMessageHookDTO, OutgoingMessageHookDTO { +public class Base64IOConfigDTO { private boolean enableIncoming; diff --git a/default-repo.json b/default-repo.json deleted file mode 100644 index d4fe4f0..0000000 --- a/default-repo.json +++ /dev/null @@ -1,172 +0,0 @@ -[ - { - "id": "advanced-validator-plugin", - "name": "Advanced Validator", - "description": "Provides advances validation", - "provider": "Exxeta AG", - "projectUrl": "http://www.correomqtt.org", - "repositoryId": "default", - "releases": [ - { - "version": "0.4.0", - "date": "2023-01-02", - "requires": "", - "url": "https://github.com/EXXETA/correomqtt-plugins/releases/download/v0.4.0/advanced-validator-0.4.0.jar", - "sha512sum": "922c85ad522aaeffa8d17d00e2854b4d1d6984770093d957e9a7056ed105ff50aaf51d2025adcd1dcfba5d6d7dd929d71d654f71ad8451208fdd0dd797e543aa", - "pluginApiLevel": "1.0.0" - } - ] - }, - { - "id": "base64-plugin", - "name": "Base64", - "description": "Provides Base64", - "provider": "Exxeta AG", - "projectUrl": "http://www.correomqtt.org", - "repositoryId": "default", - "releases": [ - { - "version": "0.4.0", - "date": "2023-01-01", - "requires": "", - "url": "file:///opt/oldbackup/opt/opt/repos/correomqtt-plugins/base64/target/base64-0.4.0.jar", - "sha512sum": "a678a09d37cc6c4732e582f2d60b57239b635a1cb4f3bbba6b71338422b40808270f973344ca8f43b9738340e344338aef6701b0a15a0280653cc79528f13d9f", - "pluginApiLevel": "1.0.0" - } - ] - }, - { - "id": "contains-string-validator-plugin", - "name": "Contains String Validator", - "description": "Provides a contains string validator", - "provider": "Exxeta AG", - "projectUrl": "http://www.correomqtt.org", - "repositoryId": "default", - "releases": [ - { - "version": "0.4.0", - "date": "2023-01-01", - "requires": "", - "url": "file:///opt/oldbackup/opt/opt/repos/correomqtt-plugins/contains-string-validator/target/contains-string-validator-0.4.0.jar", - "sha512sum": "f2327cbc6dadad347365212be1fd219ff90c669468664a81fe4dc85bb9e798c225841588061916e02c473475c6396404e644df170aa77262f303a0577c1b296e", - "pluginApiLevel": "1.0.0" - } - ] - }, - { - "id": "save-manipulator-plugin", - "name": "Save Manipulator", - "description": "Provides a save manipulator", - "provider": "Exxeta AG", - "projectUrl": "http://www.correomqtt.org", - "repositoryId": "default", - "releases": [ - { - "version": "0.4.0", - "date": "2023-01-01", - "requires": "", - "url": "file:///opt/oldbackup/opt/opt/repos/correomqtt-plugins/save-manipulator/target/save-manipulator-0.4.0.jar", - "sha512sum": "3426f8e82430646a5f885acb38f753b8866f2254535d3f020425ccf9d9246e49a115e89e60e4a3fbcb90b473ed0b6cd3b1592f98df71df82aa45d056b77e548b", - "pluginApiLevel": "1.0.0" - } - ] - }, - { - "id": "systopic-plugin", - "name": "Systopic", - "description": "Provides Systopic", - "provider": "Exxeta AG", - "projectUrl": "http://www.correomqtt.org", - "repositoryId": "default", - "releases": [ - { - "version": "0.4.0", - "date": "2023-01-01", - "requires": "", - "url": "file:///opt/oldbackup/opt/opt/repos/correomqtt-plugins/systopic/target/systopic-0.4.0.jar", - "sha512sum": "9b1ccddbf3cdf0edb6152af56e54829d0495ab18c63a12e5113272c300fd357baf226d53c686dca364c9d2b0cd78a7d80864148804e51dc782d7d454adb7d891", - "pluginApiLevel": "1.0.0" - } - ] - }, - { - "id": "json-format-plugin", - "name": "JSON Format", - "description": "Formats JSON in messages", - "provider": "Exxeta AG", - "projectUrl": "http://www.correomqtt.org", - "repositoryId": "default", - "releases": [ - { - "version": "0.4.0", - "date": "2023-01-01", - "requires": "", - "url": "file:///opt/oldbackup/opt/opt/repos/correomqtt-plugins/json-format/target/json-format-0.4.0.jar", - "sha512sum": "2aff19c64e186eec7669cb338e89f115e8ec98528a041f5a830aff45c7465735f10216cc62b29871be34f3eaed4caaf38108e2cb582b605f0474094b9653ec84", - "pluginApiLevel": "1.0.0" - } - ] - }, - { - "id": "xml-format-plugin", - "name": "XML Format", - "description": "Provides XML Format", - "provider": "Exxeta AG", - "projectUrl": "http://www.correomqtt.org", - "repositoryId": "default", - "releases": [ - { - "version": "0.4.0", - "date": "2023-01-01", - "requires": "", - "url": "file:///opt/oldbackup/opt/opt/repos/correomqtt-plugins/xml-format/target/xml-format-0.4.0.jar", - "sha512sum": "5840ae6a902b2911a235a8a99931852e46d394bfb4b64347ad39f9ff099f23d24767e36140712447afc9979695ff356d9aeca76eeafff2063f23b4f733ba23af", - "pluginApiLevel": "1.0.0" - } - ] - }, - { - "id": "xml-xsd-validator-plugin", - "name": "XML XSD Validator", - "description": "Provides XML XSD Validator", - "provider": "Exxeta AG", - "projectUrl": "http://www.correomqtt.org", - "repositoryId": "default", - "releases": [ - { - "version": "0.4.0", - "date": "2023-01-01", - "requires": "", - "url": "file:///opt/oldbackup/opt/opt/repos/correomqtt-plugins/xml-xsd-validator/target/xml-xsd-validator-0.4.0.jar", - "sha512sum": "d3ad6ea788ae63c442fdf63e62ec392e8ae87d0f3bc7ef07ddf8707aec8eb19716321eb6aae3447e74194383194948359ee013d2e69b980c249348aebd9bd07e", - "pluginApiLevel": "1.0.0" - } - ] - }, - { - "id": "zip-manipulator-plugin", - "name": "ZIP manipulator", - "description": "Provides ZIP Manipulator", - "provider": "Exxeta AG", - "projectUrl": "http://www.correomqtt.org", - "repositoryId": "default", - "releases": [ - { - "version": "0.4.0", - "date": "2023-01-01", - "requires": "", - "url": "file:///opt/oldbackup/opt/opt/repos/correomqtt-plugins/zip-manipulator/target/zip-manipulator-0.4.0.jar", - "sha512sum": "fc3edaf735f3c0af274f216b6722c53283091276352ae60f3f2907e39f2dfcca3dfd917f9afb61b4dc4b41534af0d8149a3b7b2d13fdc51a45c4c60c62e37247", - "pluginApiLevel": "1.0.0" - }, - { - "version": "0.5.0", - "date": "2023-01-01", - "requires": "", - "url": "file:///opt/oldbackup/opt/opt/repos/correomqtt-plugins/zip-manipulator/target/zip-manipulator-0.4.0.jar", - "sha512sum": "fc3edaf735f3c0af274f216b6722c53283091276352ae60f3f2907e39f2dfcca3dfd917f9afb61b4dc4b41534af0d8149a3b7b2d13fdc51a45c4c60c62e37247", - "pluginApiLevel": "1.0.0" - } - ] - } -] \ No newline at end of file diff --git a/local-repo.json b/local-repo.json deleted file mode 100644 index b044654..0000000 --- a/local-repo.json +++ /dev/null @@ -1,136 +0,0 @@ -[ { - "id" : "advanced-validator-plugin", - "name" : "Advanced Validator Plugin", - "description" : "Advanced message validation with and + or conjunctions", - "provider" : "Exxeta AG", - "projectUrl" : "http://www.correomqtt.org", - "releases" : [ { - "version" : "0.4.0", - "date" : "2023-06-07", - "requires" : "", - "url" : "file:///opt/repos/correomqtt-plugins/advanced-validator-plugin/target/advanced-validator-plugin-0.4.0.jar", - "sha512sum" : "25c8097ffa3b23a9dc7a3a4c1bbd88c00b3462aad58daf6d6b454eceac2f1b715ca3250288c8ab50848b7be621634a46bdf8c2885c486d1a28103bb2e369dea7", - "compatibleCorreoVersions" : [ "0.15.0" ] - } ], - "repositoryId" : "default" -}, { - "id" : "base64-plugin", - "name" : "Base64", - "description" : "Decodes Base64 encoded messages", - "provider" : "Exxeta AG", - "projectUrl" : "http://www.correomqtt.org", - "releases" : [ { - "version" : "0.4.0", - "date" : "2023-06-07", - "requires" : "", - "url" : "file:///opt/repos/correomqtt-plugins/base64-plugin/target/base64-plugin-0.4.0.jar", - "sha512sum" : "ce400b045038b1c1f435c582556b83990fc5dfb72a562dc77e009cfa1736bd3d6e90bcbfa51b023bd7d051d7c2bfc95c5611028a8df21c6b9f685089ccf9ab6a", - "compatibleCorreoVersions" : [ "0.15.0" ] - } ], - "repositoryId" : "default" -}, { - "id" : "contains-string-validator-plugin", - "name" : "Contains String Validator Plugin", - "description" : "Checks if the message contains a given string", - "provider" : "Exxeta AG", - "projectUrl" : "http://www.correomqtt.org", - "releases" : [ { - "version" : "0.4.0", - "date" : "2023-06-07", - "requires" : "", - "url" : "file:///opt/repos/correomqtt-plugins/contains-string-validator-plugin/target/contains-string-validator-plugin-0.4.0.jar", - "sha512sum" : "c2c74901a38a0617a1db78d17e2e38ebcf15f3f1dd0870d2bc79a14cd085fdca2d6a25f137d60d3fb0311bb32116a997ce9c9af9bc7cc09a8c209f4bcc6a5185", - "compatibleCorreoVersions" : [ "0.15.0" ] - } ], - "repositoryId" : "default" -}, { - "id" : "json-format-plugin", - "name" : "JSON Format Plugin", - "description" : "Formats messages into readable JSON", - "provider" : "Exxeta AG", - "projectUrl" : "http://www.correomqtt.org", - "releases" : [ { - "version" : "0.4.0", - "date" : "2023-06-07", - "requires" : "", - "url" : "file:///opt/repos/correomqtt-plugins/json-format-plugin/target/json-format-plugin-0.4.0.jar", - "sha512sum" : "2f851c1b10fbdd71e5c8f41560925dbff900960548d47532554c5372e0ec13c3613c7badbb6d650d0c80f92ddf35a40fd128633aa3878ae50653b81f8359d318", - "compatibleCorreoVersions" : [ "0.15.0" ] - } ], - "repositoryId" : "default" -}, { - "id" : "save-manipulator-plugin", - "name" : "Save Manipulator Plugin", - "description" : "Saves message selection to a file", - "provider" : "Exxeta AG", - "projectUrl" : "http://www.correomqtt.org", - "releases" : [ { - "version" : "0.4.0", - "date" : "2023-06-07", - "requires" : "", - "url" : "file:///opt/repos/correomqtt-plugins/save-manipulator-plugin/target/save-manipulator-plugin-0.4.0.jar", - "sha512sum" : "33ad4c6ff788d3e7961fb8c1522b076aa19c91ad38b5be1fbf44c095be09cb507b536bcc75aeeef12e5a332778913d5c7c934674c604fbaba7f21b6a7a9044b7", - "compatibleCorreoVersions" : [ "0.15.0" ] - } ], - "repositoryId" : "default" -}, { - "id" : "systopic-plugin", - "name" : "Systopic Plugin", - "description" : "Plugin to show a window with systopic information", - "provider" : "Exxeta AG", - "projectUrl" : "http://www.correomqtt.org", - "releases" : [ { - "version" : "0.4.0", - "date" : "2023-06-07", - "requires" : "", - "url" : "file:///opt/repos/correomqtt-plugins/systopic-plugin/target/systopic-plugin-0.4.0.jar", - "sha512sum" : "75a523f684fcd14b39ce5d5b434616e47778a62369ec11bcc16b4290b33717cc01e8a520dea9e8165436c193344027e03cba04615993c793e08d2fa6bab034c4", - "compatibleCorreoVersions" : [ "0.15.0" ] - } ], - "repositoryId" : "default" -}, { - "id" : "xml-format-plugin", - "name" : "XML Format Plugin", - "description" : "Formats messages into readable XML", - "provider" : "Exxeta AG", - "projectUrl" : "http://www.correomqtt.org", - "releases" : [ { - "version" : "0.4.0", - "date" : "2023-06-07", - "requires" : "", - "url" : "file:///opt/repos/correomqtt-plugins/xml-format-plugin/target/xml-format-plugin-0.4.0.jar", - "sha512sum" : "1d0026306fbd738f7022017214f8f7e44bfbe9a79f259fb3fed4c982a528e78b9dbe325f0fd56eaf37b3d4a8bb9de8b810eee4a0beaae2d0a85d9a4e5d896073", - "compatibleCorreoVersions" : [ "0.15.0" ] - } ], - "repositoryId" : "default" -}, { - "id" : "xml-xsd-validator-plugin", - "name" : "XML/XSD Validator Plugin", - "description" : "Validates xml messages to a given xsd file", - "provider" : "Exxeta AG", - "projectUrl" : "http://www.correomqtt.org", - "releases" : [ { - "version" : "0.4.0", - "date" : "2023-06-07", - "requires" : "", - "url" : "file:///opt/repos/correomqtt-plugins/xml-xsd-validator-plugin/target/xml-xsd-validator-plugin-0.4.0.jar", - "sha512sum" : "a357476a227cfee15847be619b8de1d13ffa8a70d1e030ca5891eca57d073b5a877892db1ae0656a08d0caf92befc070324a809a00b40781d94c3adba42482dc", - "compatibleCorreoVersions" : [ "0.15.0" ] - } ], - "repositoryId" : "default" -}, { - "id" : "zip-manipulator-plugin", - "name" : "ZIP Manipulator Plugin", - "description" : "Provides zip and unzip manipulators", - "provider" : "Exxeta AG", - "projectUrl" : "http://www.correomqtt.org", - "releases" : [ { - "version" : "0.4.0", - "date" : "2023-06-07", - "requires" : "", - "url" : "file:///opt/repos/correomqtt-plugins/zip-manipulator-plugin/target/zip-manipulator-plugin-0.4.0.jar", - "sha512sum" : "17ef54f02e83888700e12f4b0cc9131a848d07d707d1fc8e8fe17c63a1f1fbdc48a6238598ab716779974e8390aa3f00cd8468ce3c428acd92a51d6d43a9e5ba", - "compatibleCorreoVersions" : [ "0.15.0" ] - } ], - "repositoryId" : "default" -} ] \ No newline at end of file