From 4ca6864fcda59c2d0f0df355b3cbb3c8a4f3b4ed Mon Sep 17 00:00:00 2001 From: "Eby, Robert (re2429)" Date: Fri, 1 Feb 2019 13:24:10 -0500 Subject: [PATCH] Moving dev branch code to master branch Change-Id: I3f5a10c6fed908295380ee5422c5c10bded2c3a3 Signed-off-by: Eby, Robert (re2429) --- .gitignore | 5 + akraino/.classpath | 31 - akraino/.gitignore | 2 +- akraino/.metadata/.lock | 0 akraino/.metadata/.log | 223 - akraino/.metadata/.mylyn/repositories.xml.zip | Bin 567 -> 0 bytes akraino/.metadata/version.ini | 3 - akraino/.project | 40 - akraino/Servers/.project | 11 - .../.settings/org.eclipse.wst.server.core.prefs | 3 - .../catalina.policy | 257 -- .../catalina.properties | 252 -- .../context.xml | 15 - .../jmxremote.access | 2 - .../jmxremote.password | 2 - .../server.xml | 23 - .../tomcat-users.xml | 2 - .../web.xml | 4548 -------------------- akraino/pom.xml | 70 +- .../com/akraino/bpm/config/CamundaCorsFilter.java | 64 +- .../bpm/controller/CamundaRestController.java | 98 +- ...odeDeployRemoteScript1ExecutorTaskDelegate.java | 62 + ...odeDeployRemoteScript2ExecutorTaskDelegate.java | 67 + .../MultiNodeScript1ExecutorTaskDelegate.java | 57 + .../delegate/MultiNodeWinScpScriptDelegate.java | 56 + .../bpm/delegate/ScriptExecutorTaskDelegate.java | 14 +- .../java/com/akraino/bpm/model/BuildResponse.java | 7 +- .../com/akraino/bpm/model/MultiNodeDeploy.java | 140 + .../bpm/service/AsyncProcessExecutorService.java | 3 + .../bpm/service/ScriptExecutionService.java | 5 +- .../impl/AsyncProcessExecutorServiceImpl.java | 334 +- .../service/impl/ScriptExecutionServiceImpl.java | 32 +- akraino/src/main/resources/multinodedeploy.bpmn | 128 + config/multinodedeploy.bpmn | 128 + pom.xml | 40 +- 35 files changed, 1029 insertions(+), 5695 deletions(-) create mode 100644 .gitignore delete mode 100644 akraino/.classpath delete mode 100644 akraino/.metadata/.lock delete mode 100644 akraino/.metadata/.log delete mode 100644 akraino/.metadata/.mylyn/repositories.xml.zip delete mode 100644 akraino/.metadata/version.ini delete mode 100644 akraino/.project delete mode 100644 akraino/Servers/.project delete mode 100644 akraino/Servers/.settings/org.eclipse.wst.server.core.prefs delete mode 100644 akraino/Servers/Pivotal tc Server Developer Edition v3.2-config/catalina.policy delete mode 100644 akraino/Servers/Pivotal tc Server Developer Edition v3.2-config/catalina.properties delete mode 100644 akraino/Servers/Pivotal tc Server Developer Edition v3.2-config/context.xml delete mode 100644 akraino/Servers/Pivotal tc Server Developer Edition v3.2-config/jmxremote.access delete mode 100644 akraino/Servers/Pivotal tc Server Developer Edition v3.2-config/jmxremote.password delete mode 100644 akraino/Servers/Pivotal tc Server Developer Edition v3.2-config/server.xml delete mode 100644 akraino/Servers/Pivotal tc Server Developer Edition v3.2-config/tomcat-users.xml delete mode 100644 akraino/Servers/Pivotal tc Server Developer Edition v3.2-config/web.xml create mode 100644 akraino/src/main/java/com/akraino/bpm/delegate/MultiNodeDeployRemoteScript1ExecutorTaskDelegate.java create mode 100644 akraino/src/main/java/com/akraino/bpm/delegate/MultiNodeDeployRemoteScript2ExecutorTaskDelegate.java create mode 100644 akraino/src/main/java/com/akraino/bpm/delegate/MultiNodeScript1ExecutorTaskDelegate.java create mode 100644 akraino/src/main/java/com/akraino/bpm/delegate/MultiNodeWinScpScriptDelegate.java create mode 100644 akraino/src/main/java/com/akraino/bpm/model/MultiNodeDeploy.java create mode 100644 akraino/src/main/resources/multinodedeploy.bpmn create mode 100644 config/multinodedeploy.bpmn diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cd9ded1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +/akraino/.metadata +/akraino/.project +/akraino/Servers +/config/.application.yaml.swp + diff --git a/akraino/.classpath b/akraino/.classpath deleted file mode 100644 index 8024414..0000000 --- a/akraino/.classpath +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/akraino/.gitignore b/akraino/.gitignore index b7d7dc6..32858aa 100644 --- a/akraino/.gitignore +++ b/akraino/.gitignore @@ -9,4 +9,4 @@ *.ear # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml -hs_err_pid* \ No newline at end of file +hs_err_pid* diff --git a/akraino/.metadata/.lock b/akraino/.metadata/.lock deleted file mode 100644 index e69de29..0000000 diff --git a/akraino/.metadata/.log b/akraino/.metadata/.log deleted file mode 100644 index 70c5d40..0000000 --- a/akraino/.metadata/.log +++ /dev/null @@ -1,223 +0,0 @@ -!SESSION 2018-05-31 21:07:40.069 ----------------------------------------------- -eclipse.buildId=3.9.2.201712210947-RELEASE-e47 -java.version=1.8.0_151 -java.vendor=Oracle Corporation -BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US -Framework arguments: -product org.springsource.sts.ide -product org.springsource.sts.ide -Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.springsource.sts.ide -data C:\Users\bbadavenkatappagari.MAJESTY\Downloads\demo -product org.springsource.sts.ide - -!ENTRY org.eclipse.ui 2 0 2018-05-31 21:07:45.642 -!MESSAGE Warnings while parsing the images from the 'org.eclipse.ui.commandImages' extension point. -!SUBENTRY 1 org.eclipse.ui 2 0 2018-05-31 21:07:45.642 -!MESSAGE Cannot bind to an undefined command: plug-in='org.eclipse.lsp4e', id='org.eclipse.lsp4e.togglehighlight' - -!ENTRY org.eclipse.jface 2 0 2018-05-31 21:07:48.544 -!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation. -!SUBENTRY 1 org.eclipse.jface 2 0 2018-05-31 21:07:48.544 -!MESSAGE A conflict occurred for CTRL+SHIFT+T: -Binding(CTRL+SHIFT+T, - ParameterizedCommand(Command(org.eclipse.jdt.ui.navigate.open.type,Open Type, - Open a type in a Java editor, - Category(org.eclipse.ui.category.navigate,Navigate,null,true), - org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@6b60d99c, - ,,true),null), - org.eclipse.ui.defaultAcceleratorConfiguration, - org.eclipse.ui.contexts.window,,,system) -Binding(CTRL+SHIFT+T, - ParameterizedCommand(Command(org.eclipse.lsp4e.symbolinworkspace,Go to Symbol in Workspace, - , - Category(org.eclipse.lsp4e.category,Language Servers,null,true), - org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@543a7605, - ,,true),null), - org.eclipse.ui.defaultAcceleratorConfiguration, - org.eclipse.ui.contexts.window,,,system) - -!ENTRY org.eclipse.ui 2 2 2018-05-31 21:07:50.456 -!MESSAGE org.eclipse.jdt.junit.ResultView: Deprecated relationship "fast" should be converted to "stack". - -!ENTRY org.eclipse.ui 2 2 2018-05-31 21:07:50.456 -!MESSAGE org.springframework.ide.eclipse.aop.ui.navigator.aopReferenceModelNavigator: Deprecated relationship "fast" should be converted to "stack". - -!ENTRY org.eclipse.ui 2 2 2018-05-31 21:07:50.466 -!MESSAGE org.eclipse.contribution.xref.ui.views.XReferenceView: Deprecated relationship "fast" should be converted to "stack". - -!ENTRY org.eclipse.jface.text 2 0 2018-05-31 21:07:51.807 -!MESSAGE Duplicate template id: 'org.eclipse.wst.xslt.templates.xpath.number' - -!ENTRY org.eclipse.jface.text 2 0 2018-05-31 21:07:51.817 -!MESSAGE Duplicate template id: 'org.eclipse.wst.xslt.templates.xpath.round' - -!ENTRY org.eclipse.egit.ui 2 0 2018-05-31 21:08:00.999 -!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git -user global configuration and to define the default location to store repositories: 'C:\Users\bbadavenkatappagari.MAJESTY'. If this is -not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and -EGit might behave differently since they see different configuration options. -This warning can be switched off on the Team > Git > Confirmations and Warnings preference page. - -!ENTRY org.eclipse.oomph.setup.core 4 0 2018-05-31 21:08:06.846 -!MESSAGE C:\Users\bbadavenkatappagari.MAJESTY\.eclipse\org.eclipse.oomph.setup\setups\locations.setup (Access is denied) -!STACK 0 -java.io.FileNotFoundException: C:\Users\bbadavenkatappagari.MAJESTY\.eclipse\org.eclipse.oomph.setup\setups\locations.setup (Access is denied) - at java.io.FileOutputStream.open0(Native Method) - at java.io.FileOutputStream.open(FileOutputStream.java:270) - at java.io.FileOutputStream.(FileOutputStream.java:213) - at java.io.FileOutputStream.(FileOutputStream.java:162) - at org.eclipse.emf.ecore.resource.impl.FileURIHandlerImpl$1.(FileURIHandlerImpl.java:65) - at org.eclipse.emf.ecore.resource.impl.FileURIHandlerImpl.createOutputStream(FileURIHandlerImpl.java:65) - at org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterImpl.createOutputStream(ExtensibleURIConverterImpl.java:349) - at org.eclipse.oomph.setup.internal.core.util.UserURIHandlerImpl.createOutputStream(UserURIHandlerImpl.java:92) - at org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterImpl.createOutputStream(ExtensibleURIConverterImpl.java:349) - at org.eclipse.emf.ecore.resource.impl.ResourceImpl.saveOnlyIfChangedWithMemoryBuffer(ResourceImpl.java:1234) - at org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(ResourceImpl.java:985) - at org.eclipse.oomph.setup.internal.core.SetupContext.associate(SetupContext.java:491) - at org.eclipse.oomph.setup.internal.core.SetupContext.access$0(SetupContext.java:408) - at org.eclipse.oomph.setup.internal.core.SetupContext$1.run(SetupContext.java:392) - at org.eclipse.oomph.base.util.BaseUtil.execute(BaseUtil.java:279) - at org.eclipse.oomph.setup.internal.core.SetupContext.associate(SetupContext.java:388) - at org.eclipse.oomph.setup.internal.core.SetupContext.createSelf(SetupContext.java:268) - at org.eclipse.oomph.setup.ui.SetupUIPlugin.performStartup(SetupUIPlugin.java:667) - at org.eclipse.oomph.setup.ui.SetupUIPlugin.access$5(SetupUIPlugin.java:416) - at org.eclipse.oomph.setup.ui.SetupUIPlugin$1$1.run(SetupUIPlugin.java:253) - at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56) - -!ENTRY org.springsource.ide.eclipse.commons.browser 4 0 2018-05-31 21:08:07.611 -!MESSAGE Could not call browser function extension: addHtml -!STACK 0 -org.eclipse.swt.SWTException: Widget is disposed - at org.eclipse.swt.SWT.error(SWT.java:4533) - at org.eclipse.swt.SWT.error(SWT.java:4448) - at org.eclipse.swt.SWT.error(SWT.java:4419) - at org.eclipse.swt.widgets.Widget.error(Widget.java:482) - at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:354) - at org.eclipse.swt.browser.Browser.checkWidget(Browser.java:207) - at org.eclipse.swt.browser.Browser.execute(Browser.java:532) - at org.springsource.ide.eclipse.commons.browser.swt.StsBrowserManager.lambda$0(StsBrowserManager.java:145) - at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:37) - at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182) - at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4213) - at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3820) - at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150) - at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336) - at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039) - at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153) - at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680) - at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336) - at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594) - at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148) - at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151) - at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) - at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) - at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) - at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388) - at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653) - at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590) - at org.eclipse.equinox.launcher.Main.run(Main.java:1499) - -!ENTRY org.springsource.ide.eclipse.commons.browser 4 0 2018-05-31 21:08:07.628 -!MESSAGE Could not call browser function extension: addHtml -!STACK 0 -org.eclipse.swt.SWTException: Widget is disposed - at org.eclipse.swt.SWT.error(SWT.java:4533) - at org.eclipse.swt.SWT.error(SWT.java:4448) - at org.eclipse.swt.SWT.error(SWT.java:4419) - at org.eclipse.swt.widgets.Widget.error(Widget.java:482) - at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:354) - at org.eclipse.swt.browser.Browser.checkWidget(Browser.java:207) - at org.eclipse.swt.browser.Browser.execute(Browser.java:532) - at org.springsource.ide.eclipse.commons.browser.swt.StsBrowserManager.lambda$0(StsBrowserManager.java:145) - at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:37) - at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182) - at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4213) - at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3820) - at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150) - at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336) - at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039) - at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153) - at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680) - at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336) - at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594) - at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148) - at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151) - at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) - at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) - at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) - at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388) - at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653) - at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590) - at org.eclipse.equinox.launcher.Main.run(Main.java:1499) -!SESSION 2018-05-31 21:10:00.864 ----------------------------------------------- -eclipse.buildId=3.9.2.201712210947-RELEASE-e47 -java.version=1.8.0_151 -java.vendor=Oracle Corporation -BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US -Framework arguments: -product org.springsource.sts.ide -product org.springsource.sts.ide -product org.springsource.sts.ide -Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.springsource.sts.ide -product org.springsource.sts.ide -data C:\Users\bbadavenkatappagari.MAJESTY\Downloads\demo -product org.springsource.sts.ide - -!ENTRY org.eclipse.ui 2 0 2018-05-31 21:10:07.183 -!MESSAGE Warnings while parsing the images from the 'org.eclipse.ui.commandImages' extension point. -!SUBENTRY 1 org.eclipse.ui 2 0 2018-05-31 21:10:07.183 -!MESSAGE Cannot bind to an undefined command: plug-in='org.eclipse.lsp4e', id='org.eclipse.lsp4e.togglehighlight' - -!ENTRY org.eclipse.jface 2 0 2018-05-31 21:10:11.487 -!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation. -!SUBENTRY 1 org.eclipse.jface 2 0 2018-05-31 21:10:11.487 -!MESSAGE A conflict occurred for CTRL+SHIFT+T: -Binding(CTRL+SHIFT+T, - ParameterizedCommand(Command(org.eclipse.jdt.ui.navigate.open.type,Open Type, - Open a type in a Java editor, - Category(org.eclipse.ui.category.navigate,Navigate,null,true), - org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@5cdf61d, - ,,true),null), - org.eclipse.ui.defaultAcceleratorConfiguration, - org.eclipse.ui.contexts.window,,,system) -Binding(CTRL+SHIFT+T, - ParameterizedCommand(Command(org.eclipse.lsp4e.symbolinworkspace,Go to Symbol in Workspace, - , - Category(org.eclipse.lsp4e.category,Language Servers,null,true), - org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@4509414e, - ,,true),null), - org.eclipse.ui.defaultAcceleratorConfiguration, - org.eclipse.ui.contexts.window,,,system) - -!ENTRY org.eclipse.egit.ui 2 0 2018-05-31 21:10:20.579 -!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git -user global configuration and to define the default location to store repositories: 'C:\Users\bbadavenkatappagari.MAJESTY'. If this is -not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and -EGit might behave differently since they see different configuration options. -This warning can be switched off on the Team > Git > Confirmations and Warnings preference page. - -!ENTRY org.eclipse.oomph.setup.core 4 0 2018-05-31 21:10:28.942 -!MESSAGE C:\Users\bbadavenkatappagari.MAJESTY\.eclipse\org.eclipse.oomph.setup\setups\locations.setup (Access is denied) -!STACK 0 -java.io.FileNotFoundException: C:\Users\bbadavenkatappagari.MAJESTY\.eclipse\org.eclipse.oomph.setup\setups\locations.setup (Access is denied) - at java.io.FileOutputStream.open0(Native Method) - at java.io.FileOutputStream.open(FileOutputStream.java:270) - at java.io.FileOutputStream.(FileOutputStream.java:213) - at java.io.FileOutputStream.(FileOutputStream.java:162) - at org.eclipse.emf.ecore.resource.impl.FileURIHandlerImpl$1.(FileURIHandlerImpl.java:65) - at org.eclipse.emf.ecore.resource.impl.FileURIHandlerImpl.createOutputStream(FileURIHandlerImpl.java:65) - at org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterImpl.createOutputStream(ExtensibleURIConverterImpl.java:349) - at org.eclipse.oomph.setup.internal.core.util.UserURIHandlerImpl.createOutputStream(UserURIHandlerImpl.java:92) - at org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterImpl.createOutputStream(ExtensibleURIConverterImpl.java:349) - at org.eclipse.emf.ecore.resource.impl.ResourceImpl.saveOnlyIfChangedWithMemoryBuffer(ResourceImpl.java:1234) - at org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(ResourceImpl.java:985) - at org.eclipse.oomph.setup.internal.core.SetupContext.associate(SetupContext.java:491) - at org.eclipse.oomph.setup.internal.core.SetupContext.access$0(SetupContext.java:408) - at org.eclipse.oomph.setup.internal.core.SetupContext$1.run(SetupContext.java:392) - at org.eclipse.oomph.base.util.BaseUtil.execute(BaseUtil.java:279) - at org.eclipse.oomph.setup.internal.core.SetupContext.associate(SetupContext.java:388) - at org.eclipse.oomph.setup.internal.core.SetupContext.createSelf(SetupContext.java:268) - at org.eclipse.oomph.setup.ui.SetupUIPlugin.performStartup(SetupUIPlugin.java:667) - at org.eclipse.oomph.setup.ui.SetupUIPlugin.access$5(SetupUIPlugin.java:416) - at org.eclipse.oomph.setup.ui.SetupUIPlugin$1$1.run(SetupUIPlugin.java:253) - at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56) diff --git a/akraino/.metadata/.mylyn/repositories.xml.zip b/akraino/.metadata/.mylyn/repositories.xml.zip deleted file mode 100644 index 2a9dff4117b18f430d1647f07a91eda30796e593..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 567 zcmWIWW@Zs#;Nak3&|JCShXDx)0NF*U1^LC9CHX~}sl|E~xjApAo%TCyAmCbm^pjkB zdy7C;)W!zUCN3@^?I&uNuXG7V*DdkgKhLD}g>vH-RqZQtpPq?1-_yVTlJptjKBItH zomY;FKao-PU>4kD^6BI47Z2aC@&DQ@c=aQ<$HJL{U5#$%uX$wOTfN77kMQKhGnOvw zKW-Lfa8A=LtWe&+cjB*WpSyB>6(0CxDLA=4WsAFB=(_H8sls8Qhz^mOn&}Nmj9=#^ zeEX>w(i5ooNq5E*8~;wtR}X!p7nyOX2X$8Zt!WcbyHfNxd9lu$`Rg;;oL7DIS@Ge* zoz(AFX1$#662@zySzy(cbnN@LrQu7-V5O5JoQ9l@tr1R#Wtr42OIZRO?bSRXZ4EAuGPuG%R*vI zm#(>`b-2%Ujq=U2+V4F!37+sQ!;V!gcd_14Yv|9tVVuZ{67(oc_;TPPj#=FyYH|JM)8DD2-I zu5D7>R&lINw^z$iT3llYt??n~_O`0TIc_a-c{?1?W*8;LXYg QQo#s>c0l?u&{PHn07E - - camunda-spring-boot - - - - - - org.eclipse.wst.common.project.facet.core.builder - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.springframework.ide.eclipse.core.springbuilder - - - - - org.springframework.ide.eclipse.boot.validation.springbootbuilder - - - - - org.eclipse.m2e.core.maven2Builder - - - - - - org.springframework.ide.eclipse.core.springnature - org.eclipse.jdt.core.javanature - org.eclipse.m2e.core.maven2Nature - org.eclipse.wst.common.project.facet.core.nature - - diff --git a/akraino/Servers/.project b/akraino/Servers/.project deleted file mode 100644 index 0fa764d..0000000 --- a/akraino/Servers/.project +++ /dev/null @@ -1,11 +0,0 @@ - - - Servers - - - - - - - - diff --git a/akraino/Servers/.settings/org.eclipse.wst.server.core.prefs b/akraino/Servers/.settings/org.eclipse.wst.server.core.prefs deleted file mode 100644 index 3fbf40d..0000000 --- a/akraino/Servers/.settings/org.eclipse.wst.server.core.prefs +++ /dev/null @@ -1,3 +0,0 @@ -#Thu May 31 21:08:33 EDT 2018 -org.eclipse.wst.server.core.isServerProject=true -eclipse.preferences.version=1 diff --git a/akraino/Servers/Pivotal tc Server Developer Edition v3.2-config/catalina.policy b/akraino/Servers/Pivotal tc Server Developer Edition v3.2-config/catalina.policy deleted file mode 100644 index 58cf04a..0000000 --- a/akraino/Servers/Pivotal tc Server Developer Edition v3.2-config/catalina.policy +++ /dev/null @@ -1,257 +0,0 @@ -// Licensed to the Apache Software Foundation (ASF) under one or more -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The ASF licenses this file to You under the Apache License, Version 2.0 -// (the "License"); you may not use this file except in compliance with -// the License. You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// ============================================================================ -// catalina.policy - Security Policy Permissions for tc Server Runtime 8.0 -// -// This file contains a default set of security policies to be enforced (by the -// JVM) when Catalina is executed with the "-security" option. In addition -// to the permissions granted here, the following additional permissions are -// granted to each web application: -// -// * Read access to its document root directory -// * Read, write and delete access to its working directory -// ============================================================================ - - -// ========== SYSTEM CODE PERMISSIONS ========================================= - - -// These permissions apply to javac -grant codeBase "file:${java.home}/lib/-" { - permission java.security.AllPermission; -}; - -// These permissions apply to all shared system extensions -grant codeBase "file:${java.home}/jre/lib/ext/-" { - permission java.security.AllPermission; -}; - -// These permissions apply to javac when ${java.home] points at $JAVA_HOME/jre -grant codeBase "file:${java.home}/../lib/-" { - permission java.security.AllPermission; -}; - -// These permissions apply to all shared system extensions when -// ${java.home} points at $JAVA_HOME/jre -grant codeBase "file:${java.home}/lib/ext/-" { - permission java.security.AllPermission; -}; - -// ========== tc Server Service Wrapper Permissions =========================== - -grant codeBase "file:${catalina.base}/bin/winx86_64/-" { - permission java.security.AllPermission; -}; -grant codeBase "file:${catalina.base}/bin/win32/-" { - permission java.security.AllPermission; -}; - -// ========== CATALINA CODE PERMISSIONS ======================================= - - -// These permissions apply to the daemon code -grant codeBase "file:${catalina.home}/bin/commons-daemon.jar" { - permission java.security.AllPermission; -}; - -// These permissions apply to the logging API -// Note: If tomcat-juli.jar is in ${catalina.base} and not in ${catalina.home}, -// update this section accordingly. -// grant codeBase "file:${catalina.base}/bin/tomcat-juli.jar" {..} -grant codeBase "file:${catalina.home}/bin/tomcat-juli.jar" { - permission java.io.FilePermission - "${java.home}${file.separator}lib${file.separator}logging.properties", "read"; - - permission java.io.FilePermission - "${catalina.base}${file.separator}conf${file.separator}logging.properties", "read"; - permission java.io.FilePermission - "${catalina.base}${file.separator}logs", "read, write"; - permission java.io.FilePermission - "${catalina.base}${file.separator}logs${file.separator}*", "read, write"; - - permission java.lang.RuntimePermission "shutdownHooks"; - permission java.lang.RuntimePermission "getClassLoader"; - permission java.lang.RuntimePermission "setContextClassLoader"; - - permission java.lang.management.ManagementPermission "monitor"; - - permission java.util.logging.LoggingPermission "control"; - - permission java.util.PropertyPermission "java.util.logging.config.class", "read"; - permission java.util.PropertyPermission "java.util.logging.config.file", "read"; - permission java.util.PropertyPermission "org.apache.juli.AsyncLoggerPollInterval", "read"; - permission java.util.PropertyPermission "org.apache.juli.AsyncMaxRecordCount", "read"; - permission java.util.PropertyPermission "org.apache.juli.AsyncOverflowDropType", "read"; - permission java.util.PropertyPermission "org.apache.juli.ClassLoaderLogManager.debug", "read"; - permission java.util.PropertyPermission "catalina.base", "read"; - - // tc Server specific permissions - permission java.util.PropertyPermission "com.springsource.tcserver.serviceability.logging.jmxdelay", "read"; - permission java.lang.reflect.ReflectPermission "suppressAccessChecks"; - permission javax.management.MBeanServerPermission "createMBeanServer"; - permission javax.management.MBeanPermission "com.springsource.tcserver.serviceability.logging.TcServerLogManager#-[tcServer:name=LoggingManager,type=Serviceability]", "registerMBean"; - permission javax.management.MBeanTrustPermission "register"; - - // Note: To enable per context logging configuration, permit read access to - // the appropriate file. Be sure that the logging configuration is - // secure before enabling such access. - // E.g. for the examples web application (uncomment and unwrap - // the following to be on a single line): - // permission java.io.FilePermission "${catalina.base}${file.separator} - // webapps${file.separator}examples${file.separator}WEB-INF - // ${file.separator}classes${file.separator}logging.properties", "read"; -}; - -// These permissions apply to the server startup code -grant codeBase "file:${catalina.home}/bin/bootstrap.jar" { - permission java.security.AllPermission; -}; - -// These permissions apply to the servlet API classes -// and those that are shared across all class loaders -// located in the "lib" directory -grant codeBase "file:${catalina.home}/lib/-" { - permission java.security.AllPermission; -}; - - -// If using a per instance lib directory, i.e. ${catalina.base}/lib, -// then the following permission will need to be uncommented -// grant codeBase "file:${catalina.base}/lib/-" { -// permission java.security.AllPermission; -// }; - - -// ========== WEB APPLICATION PERMISSIONS ===================================== - - -// These permissions are granted by default to all web applications -// In addition, a web application will be given a read FilePermission -// for all files and directories in its document root. -grant { - // Required for JNDI lookup of named JDBC DataSource's and - // javamail named MimePart DataSource used to send mail - permission java.util.PropertyPermission "java.home", "read"; - permission java.util.PropertyPermission "java.naming.*", "read"; - permission java.util.PropertyPermission "javax.sql.*", "read"; - - // OS Specific properties to allow read access - permission java.util.PropertyPermission "os.name", "read"; - permission java.util.PropertyPermission "os.version", "read"; - permission java.util.PropertyPermission "os.arch", "read"; - permission java.util.PropertyPermission "file.separator", "read"; - permission java.util.PropertyPermission "path.separator", "read"; - permission java.util.PropertyPermission "line.separator", "read"; - - // JVM properties to allow read access - permission java.util.PropertyPermission "java.version", "read"; - permission java.util.PropertyPermission "java.vendor", "read"; - permission java.util.PropertyPermission "java.vendor.url", "read"; - permission java.util.PropertyPermission "java.class.version", "read"; - permission java.util.PropertyPermission "java.specification.version", "read"; - permission java.util.PropertyPermission "java.specification.vendor", "read"; - permission java.util.PropertyPermission "java.specification.name", "read"; - - permission java.util.PropertyPermission "java.vm.specification.version", "read"; - permission java.util.PropertyPermission "java.vm.specification.vendor", "read"; - permission java.util.PropertyPermission "java.vm.specification.name", "read"; - permission java.util.PropertyPermission "java.vm.version", "read"; - permission java.util.PropertyPermission "java.vm.vendor", "read"; - permission java.util.PropertyPermission "java.vm.name", "read"; - - // Required for OpenJMX - permission java.lang.RuntimePermission "getAttribute"; - - // Allow read of JAXP compliant XML parser debug - permission java.util.PropertyPermission "jaxp.debug", "read"; - - // All JSPs need to be able to read this package - permission java.lang.RuntimePermission "accessClassInPackage.org.apache.tomcat"; - - // Precompiled JSPs need access to these packages. - permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.el"; - permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.runtime"; - permission java.lang.RuntimePermission - "accessClassInPackage.org.apache.jasper.runtime.*"; - - // Precompiled JSPs need access to these system properties. - permission java.util.PropertyPermission - "org.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER", "read"; - permission java.util.PropertyPermission - "org.apache.el.parser.COERCE_TO_ZERO", "read"; - - // The cookie code needs these. - permission java.util.PropertyPermission - "org.apache.catalina.STRICT_SERVLET_COMPLIANCE", "read"; - permission java.util.PropertyPermission - "org.apache.tomcat.util.http.ServerCookie.STRICT_NAMING", "read"; - permission java.util.PropertyPermission - "org.apache.tomcat.util.http.ServerCookie.FWD_SLASH_IS_SEPARATOR", "read"; - - // Applications using Comet need to be able to access this package - permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.comet"; - - // Applications using WebSocket need to be able to access these packages - permission java.lang.RuntimePermission "accessClassInPackage.org.apache.tomcat.websocket"; - permission java.lang.RuntimePermission "accessClassInPackage.org.apache.tomcat.websocket.server"; -}; - - -// The Manager application needs access to the following packages to support the -// session display functionality -// Note: If the manager web application used by this instance is located outside -// of the webapps directory then the codeBase in the grant below will need -// to be updated accordingly -grant codeBase "file:${catalina.base}/webapps/manager/-" { - permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina"; - permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.ha.session"; - permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.manager"; - permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.manager.util"; - permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.util"; -}; - -// You can assign additional permissions to particular web applications by -// adding additional "grant" entries here, based on the code base for that -// application, /WEB-INF/classes/, or /WEB-INF/lib/ jar files. -// -// Different permissions can be granted to JSP pages, classes loaded from -// the /WEB-INF/classes/ directory, all jar files in the /WEB-INF/lib/ -// directory, or even to individual jar files in the /WEB-INF/lib/ directory. -// -// For instance, assume that the standard "examples" application -// included a JDBC driver that needed to establish a network connection to the -// corresponding database and used the scrape taglib to get the weather from -// the NOAA web server. You might create a "grant" entries like this: -// -// The permissions granted to the context root directory apply to JSP pages. -// grant codeBase "file:${catalina.base}/webapps/examples/-" { -// permission java.net.SocketPermission "dbhost.mycompany.com:5432", "connect"; -// permission java.net.SocketPermission "*.noaa.gov:80", "connect"; -// }; -// -// The permissions granted to the context WEB-INF/classes directory -// grant codeBase "file:${catalina.base}/webapps/examples/WEB-INF/classes/-" { -// }; -// -// The permission granted to your JDBC driver -// grant codeBase "jar:file:${catalina.base}/webapps/examples/WEB-INF/lib/driver.jar!/-" { -// permission java.net.SocketPermission "dbhost.mycompany.com:5432", "connect"; -// }; -// The permission granted to the scrape taglib -// grant codeBase "jar:file:${catalina.base}/webapps/examples/WEB-INF/lib/scrape.jar!/-" { -// permission java.net.SocketPermission "*.noaa.gov:80", "connect"; -// }; - diff --git a/akraino/Servers/Pivotal tc Server Developer Edition v3.2-config/catalina.properties b/akraino/Servers/Pivotal tc Server Developer Edition v3.2-config/catalina.properties deleted file mode 100644 index eba84c2..0000000 --- a/akraino/Servers/Pivotal tc Server Developer Edition v3.2-config/catalina.properties +++ /dev/null @@ -1,252 +0,0 @@ - -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# -# List of comma-separated packages that start with or equal this string -# will cause a security exception to be thrown when -# passed to checkPackageAccess unless the -# corresponding RuntimePermission ("accessClassInPackage."+package) has -# been granted. -package.access = \ -sun.,\ -org.apache.catalina.,\ -org.apache.coyote.,\ -org.apache.jasper.,\ -org.apache.naming.resources.,\ -org.apache.tomcat. -# -# List of comma-separated packages that start with or equal this string -# will cause a security exception to be thrown when -# passed to checkPackageDefinition unless the -# corresponding RuntimePermission ("defineClassInPackage."+package) has -# been granted. -# -# by default, no packages are restricted for definition, and none of -# the class loaders supplied with the JDK call checkPackageDefinition. -# -package.definition = \ -sun.,\ -java.,\ -org.apache.catalina.,\ -org.apache.coyote.,\ -org.apache.jasper.,\ -org.apache.naming.,\ -org.apache.tomcat. -# -# List of comma-separated paths defining the contents of the "server" -# classloader. Prefixes should be used to define what is the repository type. -# Path may be relative to the CATALINA_HOME or CATALINA_BASE path or absolute. -# If left as blank, the "common" loader will be used as Catalina's "server" -# loader. -# Examples: -# "foo": Add this folder as a class repository -# "foo/*.jar": Add all the JARs of the specified folder as class -# repositories -# "foo/bar.jar": Add bar.jar as a class repository -server.loader = -# -# List of comma-separated paths defining the contents of the "shared" -# classloader. Prefixes should be used to define what is the repository type. -# Path may be relative to the CATALINA_BASE path or absolute. If left as blank, -# the "common" loader will be used as Catalina's "shared" loader. -# Examples: -# "foo": Add this folder as a class repository -# "foo/*.jar": Add all the JARs of the specified folder as class -# repositories -# "foo/bar.jar": Add bar.jar as a class repository -# Please note that for single jars, e.g. bar.jar, you need the URL form -# starting with file:. -shared.loader = -# -# String cache configuration. -tomcat.util.buf.StringCache.byte.enabled = true -#tomcat.util.buf.StringCache.char.enabled=true -#tomcat.util.buf.StringCache.trainThreshold=500000 -#tomcat.util.buf.StringCache.cacheSize=5000 - - -#If this property is set to true, the startup phase will -#abort if there is an error during initialization -org.apache.catalina.startup.EXIT_ON_INIT_FAILURE = true -org.apache.tomcat.util.digester.PROPERTY_SOURCE = com.springsource.tcserver.security.PropertyDecoder -com.springsource.tcserver.security.PropertyDecoder.passphrase = springsource -# -# -# List of comma-separated paths defining the contents of the "common" -# classloader. Prefixes should be used to define what is the repository type. -# Path may be relative to the CATALINA_HOME or CATALINA_BASE path or absolute. -# If left as blank,the JVM system loader will be used as Catalina's "common" -# loader. -# Examples: -# "foo": Add this folder as a class repository -# "foo/*.jar": Add all the JARs of the specified folder as class -# repositories -# "foo/bar.jar": Add bar.jar as a class repository -common.loader = \ -\"${catalina.base}/lib\",\ -\"${catalina.base}/lib/*.jar\",\ -\"${catalina.home}/lib\",\ -\"${catalina.home}/lib/*.jar\" -# List of JAR files that should not be scanned using the JarScanner -# functionality. This is typically used to scan JARs for configuration -# information. JARs that do not contain such information may be excluded from -# the scan to speed up the scanning process. This is the default list. JARs on -# this list are excluded from all scans. Scan specific lists (to exclude JARs -# from individual scans) follow this. The list must be a comma separated list of -# JAR file names. -# The JARs listed below include: -# - Tomcat Bootstrap JARs -# - Tomcat API JARs -# - Catalina JARs -# - Jasper JARs -# - Tomcat JARs -# - Common non-Tomcat JARs -tomcat.util.scan.StandardJarScanFilter.jarsToSkip = \ -annotations-api.jar,\ -ant.jar,\ -ant-junit*.jar,\ -ant-launcher.jar,\ -antlr-*.jar,\ -aopalliance-*.jar,\ -asm-*.jar,\ -aspectj*.jar,\ -bootstrap.jar,\ -catalina.jar,\ -catalina-ant.jar,\ -catalina-jmx-remote.jar,\ -catalina-ha.jar,\ -catalina-storeconfig.jar,\ -catalina-tribes.jar,\ -catalina-ws.jar,\ -cglib-*.jar,\ -cobertura-*.jar,\ -com.springsource.org.apache.tomcat.jdbc.jar,\ -commons-beanutils*.jar,\ -commons-codec*.jar,\ -commons-collections*.jar,\ -commons-daemon.jar,\ -commons-dbcp*.jar,\ -commons-digester*.jar,\ -commons-fileupload*.jar,\ -commons-httpclient*.jar,\ -commons-io*.jar,\ -commons-lang*.jar,\ -commons-logging*.jar,\ -commons-math*.jar,\ -commons-pool*.jar,\ -dom4j-*.jar,\ -ecj-*.jar,\ -ehcache-core-*.jar,\ -el-api.jar,\ -freemarker-*.jar,\ -gemfire-*.jar,\ -geronimo-spec-jaxrpc*.jar,\ -groovy-all-*.jar,\ -h2*.jar,\ -hibernate*.jar,\ -httpclient*.jar,\ -icu4j-*.jar,\ -insight-*.jar,\ -jackson-*.jar,\ -jasper.jar,\ -jasper-el.jar,\ -javassist-*.jar,\ -jaxen-*.jar,\ -jcommon-*.jar,\ -jdom-*.jar,\ -jetty-*.jar,\ -jfreechart-*.jar,\ -jline-*.jar,\ -jmx.jar,\ -jmx-tools.jar,\ -jsp-api.jar,\ -jstl.jar,\ -jta*.jar,\ -junit.jar,\ -junit-*.jar,\ -liquibase-core-*.jar,\ -log4j*.jar,\ -mail*.jar,\ -oro-*.jar,\ -servlet-api.jar,\ -slf4j*.jar,\ -spring-aop-*.jar,\ -spring-asm-*.jar,\ -spring-aspects-*.jar,\ -spring-beans-*.jar,\ -spring-context-*.jar,\ -spring-context-support-*.jar,\ -spring-core-*.jar,\ -spring-expression-*.jar,\ -spring-gemfire-*.jar,\ -spring-instrument-tomcat-*.jar,\ -spring-jdbc-*.jar,\ -spring-js-*.jar,\ -spring-orm-*.jar,\ -spring-security-core-*.jar,\ -spring-security-web-*.jar,\ -spring-tx-*.jar,\ -stax-*.jar,\ -tagsoup-*.jar,\ -tcServer.jar,\ -threaddumpwrapper.jar,\ -tiles-api-*.jar,\ -tiles-core-*.jar,\ -tiles-servlet-*.jar,\ -tomcat-api.jar,\ -tomcat-coyote.jar,\ -tomcat-dbcp.jar,\ -tomcat-i18n-en.jar,\ -tomcat-i18n-es.jar,\ -tomcat-i18n-fr.jar,\ -tomcat-i18n-ja.jar,\ -tomcat-jdbc.jar,\ -tomcat-jni.jar,\ -tomcat-juli.jar,\ -tomcat-juli-adapters.jar,\ -tomcat-spdy.jar,\ -tomcat-util.jar,\ -tomcat-util-scan.jar,\ -tools.jar,\ -websocket-api.jar,\ -wrapper.jar,\ -wsdl4j*.jar,\ -xercesImpl.jar,\ -xml-apis.jar,\ -xmlParserAPIs.jar,\ -xom-*.jar,\ -xpp3_min-*.jar,\ -xstream-*.jar -# Default list of JAR files that should be scanned that overrides the default -# jarsToSkip list above. This is typically used to include a specific JAR that -# has been excluded by a broad file name pattern in the jarsToSkip list. -# The list of JARs to scan may be over-ridden at a Context level for individual -# scan types by configuring a JarScanner with a nested JarScanFilter. -tomcat.util.scan.StandardJarScanFilter.jarsToScan = \ -log4j-core*.jar,\ -log4j-taglib*.jar -# Additional JARs (over and above the default JARs listed above) to skip when -# scanning for Servlet 3.0 pluggability features. These features include web -# fragments, annotations, SCIs and classes that match @HandlesTypes. The list -# must be a comma separated list of JAR file names. -org.apache.catalina.startup.ContextConfig.jarsToSkip = -# Additional JARs (over and above the default JARs listed above) to skip when -# scanning for TLDs. The list must be a comma separated list of JAR file names. -org.apache.catalina.startup.TldConfig.jarsToSkip = -base.shutdown.port=-1 -base.jmx.port=6969 -nio.http.port=8080 -nio.https.port=8443 diff --git a/akraino/Servers/Pivotal tc Server Developer Edition v3.2-config/context.xml b/akraino/Servers/Pivotal tc Server Developer Edition v3.2-config/context.xml deleted file mode 100644 index c0f82a5..0000000 --- a/akraino/Servers/Pivotal tc Server Developer Edition v3.2-config/context.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - WEB-INF/web.xml - - - - - ${catalina.base}/conf/web.xml - \ No newline at end of file diff --git a/akraino/Servers/Pivotal tc Server Developer Edition v3.2-config/jmxremote.access b/akraino/Servers/Pivotal tc Server Developer Edition v3.2-config/jmxremote.access deleted file mode 100644 index 2320c39..0000000 --- a/akraino/Servers/Pivotal tc Server Developer Edition v3.2-config/jmxremote.access +++ /dev/null @@ -1,2 +0,0 @@ -#admin readonly -admin readwrite diff --git a/akraino/Servers/Pivotal tc Server Developer Edition v3.2-config/jmxremote.password b/akraino/Servers/Pivotal tc Server Developer Edition v3.2-config/jmxremote.password deleted file mode 100644 index 33ea195..0000000 --- a/akraino/Servers/Pivotal tc Server Developer Edition v3.2-config/jmxremote.password +++ /dev/null @@ -1,2 +0,0 @@ -# For security reasons the "admin" role has a random password unless the property is overridden at instance creation time. -admin esytfjtuhtvgnvfifgwakfldlqwgvobtgohmufe diff --git a/akraino/Servers/Pivotal tc Server Developer Edition v3.2-config/server.xml b/akraino/Servers/Pivotal tc Server Developer Edition v3.2-config/server.xml deleted file mode 100644 index c818dc2..0000000 --- a/akraino/Servers/Pivotal tc Server Developer Edition v3.2-config/server.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/akraino/Servers/Pivotal tc Server Developer Edition v3.2-config/tomcat-users.xml b/akraino/Servers/Pivotal tc Server Developer Edition v3.2-config/tomcat-users.xml deleted file mode 100644 index 84efcd8..0000000 --- a/akraino/Servers/Pivotal tc Server Developer Edition v3.2-config/tomcat-users.xml +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/akraino/Servers/Pivotal tc Server Developer Edition v3.2-config/web.xml b/akraino/Servers/Pivotal tc Server Developer Edition v3.2-config/web.xml deleted file mode 100644 index 8e18a73..0000000 --- a/akraino/Servers/Pivotal tc Server Developer Edition v3.2-config/web.xml +++ /dev/null @@ -1,4548 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - default - org.apache.catalina.servlets.DefaultServlet - - debug - 0 - - - listings - false - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - jsp - org.apache.jasper.servlet.JspServlet - - fork - false - - - xpoweredBy - false - - 3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - default - / - - - - jsp - *.jsp - *.jspx - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 30 - - - - - - - - - - 123 - application/vnd.lotus-1-2-3 - - - 3dml - text/vnd.in3d.3dml - - - 3ds - image/x-3ds - - - 3g2 - video/3gpp2 - - - 3gp - video/3gpp - - - 7z - application/x-7z-compressed - - - aab - application/x-authorware-bin - - - aac - audio/x-aac - - - aam - application/x-authorware-map - - - aas - application/x-authorware-seg - - - abs - audio/x-mpeg - - - abw - application/x-abiword - - - ac - application/pkix-attr-cert - - - acc - application/vnd.americandynamics.acc - - - ace - application/x-ace-compressed - - - acu - application/vnd.acucobol - - - acutc - application/vnd.acucorp - - - adp - audio/adpcm - - - aep - application/vnd.audiograph - - - afm - application/x-font-type1 - - - afp - application/vnd.ibm.modcap - - - ahead - application/vnd.ahead.space - - - ai - application/postscript - - - aif - audio/x-aiff - - - aifc - audio/x-aiff - - - aiff - audio/x-aiff - - - aim - application/x-aim - - - air - application/vnd.adobe.air-application-installer-package+zip - - - ait - application/vnd.dvb.ait - - - ami - application/vnd.amiga.ami - - - anx - application/annodex - - - apk - application/vnd.android.package-archive - - - appcache - text/cache-manifest - - - application - application/x-ms-application - - - apr - application/vnd.lotus-approach - - - arc - application/x-freearc - - - art - image/x-jg - - - asc - application/pgp-signature - - - asf - video/x-ms-asf - - - asm - text/x-asm - - - aso - application/vnd.accpac.simply.aso - - - asx - video/x-ms-asf - - - atc - application/vnd.acucorp - - - atom - application/atom+xml - - - atomcat - application/atomcat+xml - - - atomsvc - application/atomsvc+xml - - - atx - application/vnd.antix.game-component - - - au - audio/basic - - - avi - video/x-msvideo - - - avx - video/x-rad-screenplay - - - aw - application/applixware - - - axa - audio/annodex - - - axv - video/annodex - - - azf - application/vnd.airzip.filesecure.azf - - - azs - application/vnd.airzip.filesecure.azs - - - azw - application/vnd.amazon.ebook - - - bat - application/x-msdownload - - - bcpio - application/x-bcpio - - - bdf - application/x-font-bdf - - - bdm - application/vnd.syncml.dm+wbxml - - - bed - application/vnd.realvnc.bed - - - bh2 - application/vnd.fujitsu.oasysprs - - - bin - application/octet-stream - - - blb - application/x-blorb - - - blorb - application/x-blorb - - - bmi - application/vnd.bmi - - - bmp - image/bmp - - - body - text/html - - - book - application/vnd.framemaker - - - box - application/vnd.previewsystems.box - - - boz - application/x-bzip2 - - - bpk - application/octet-stream - - - btif - image/prs.btif - - - bz - application/x-bzip - - - bz2 - application/x-bzip2 - - - c - text/x-c - - - c11amc - application/vnd.cluetrust.cartomobile-config - - - c11amz - application/vnd.cluetrust.cartomobile-config-pkg - - - c4d - application/vnd.clonk.c4group - - - c4f - application/vnd.clonk.c4group - - - c4g - application/vnd.clonk.c4group - - - c4p - application/vnd.clonk.c4group - - - c4u - application/vnd.clonk.c4group - - - cab - application/vnd.ms-cab-compressed - - - caf - audio/x-caf - - - cap - application/vnd.tcpdump.pcap - - - car - application/vnd.curl.car - - - cat - application/vnd.ms-pki.seccat - - - cb7 - application/x-cbr - - - cba - application/x-cbr - - - cbr - application/x-cbr - - - cbt - application/x-cbr - - - cbz - application/x-cbr - - - cc - text/x-c - - - cct - application/x-director - - - ccxml - application/ccxml+xml - - - cdbcmsg - application/vnd.contact.cmsg - - - cdf - application/x-cdf - - - cdkey - application/vnd.mediastation.cdkey - - - cdmia - application/cdmi-capability - - - cdmic - application/cdmi-container - - - cdmid - application/cdmi-domain - - - cdmio - application/cdmi-object - - - cdmiq - application/cdmi-queue - - - cdx - chemical/x-cdx - - - cdxml - application/vnd.chemdraw+xml - - - cdy - application/vnd.cinderella - - - cer - application/pkix-cert - - - cfs - application/x-cfs-compressed - - - cgm - image/cgm - - - chat - application/x-chat - - - chm - application/vnd.ms-htmlhelp - - - chrt - application/vnd.kde.kchart - - - cif - chemical/x-cif - - - cii - application/vnd.anser-web-certificate-issue-initiation - - - cil - application/vnd.ms-artgalry - - - cla - application/vnd.claymore - - - class - application/java - - - clkk - application/vnd.crick.clicker.keyboard - - - clkp - application/vnd.crick.clicker.palette - - - clkt - application/vnd.crick.clicker.template - - - clkw - application/vnd.crick.clicker.wordbank - - - clkx - application/vnd.crick.clicker - - - clp - application/x-msclip - - - cmc - application/vnd.cosmocaller - - - cmdf - chemical/x-cmdf - - - cml - chemical/x-cml - - - cmp - application/vnd.yellowriver-custom-menu - - - cmx - image/x-cmx - - - cod - application/vnd.rim.cod - - - com - application/x-msdownload - - - conf - text/plain - - - cpio - application/x-cpio - - - cpp - text/x-c - - - cpt - application/mac-compactpro - - - crd - application/x-mscardfile - - - crl - application/pkix-crl - - - crt - application/x-x509-ca-cert - - - cryptonote - application/vnd.rig.cryptonote - - - csh - application/x-csh - - - csml - chemical/x-csml - - - csp - application/vnd.commonspace - - - css - text/css - - - cst - application/x-director - - - csv - text/csv - - - cu - application/cu-seeme - - - curl - text/vnd.curl - - - cww - application/prs.cww - - - cxt - application/x-director - - - cxx - text/x-c - - - dae - model/vnd.collada+xml - - - daf - application/vnd.mobius.daf - - - dart - application/vnd.dart - - - dataless - application/vnd.fdsn.seed - - - davmount - application/davmount+xml - - - dbk - application/docbook+xml - - - dcr - application/x-director - - - dcurl - text/vnd.curl.dcurl - - - dd2 - application/vnd.oma.dd2+xml - - - ddd - application/vnd.fujixerox.ddd - - - deb - application/x-debian-package - - - def - text/plain - - - deploy - application/octet-stream - - - der - application/x-x509-ca-cert - - - dfac - application/vnd.dreamfactory - - - dgc - application/x-dgc-compressed - - - dib - image/bmp - - - dic - text/x-c - - - dir - application/x-director - - - dis - application/vnd.mobius.dis - - - dist - application/octet-stream - - - distz - application/octet-stream - - - djv - image/vnd.djvu - - - djvu - image/vnd.djvu - - - dll - application/x-msdownload - - - dmg - application/x-apple-diskimage - - - dmp - application/vnd.tcpdump.pcap - - - dms - application/octet-stream - - - dna - application/vnd.dna - - - doc - application/msword - - - docm - application/vnd.ms-word.document.macroenabled.12 - - - docx - application/vnd.openxmlformats-officedocument.wordprocessingml.document - - - dot - application/msword - - - dotm - application/vnd.ms-word.template.macroenabled.12 - - - dotx - application/vnd.openxmlformats-officedocument.wordprocessingml.template - - - dp - application/vnd.osgi.dp - - - dpg - application/vnd.dpgraph - - - dra - audio/vnd.dra - - - dsc - text/prs.lines.tag - - - dssc - application/dssc+der - - - dtb - application/x-dtbook+xml - - - dtd - application/xml-dtd - - - dts - audio/vnd.dts - - - dtshd - audio/vnd.dts.hd - - - dump - application/octet-stream - - - dv - video/x-dv - - - dvb - video/vnd.dvb.file - - - dvi - application/x-dvi - - - dwf - model/vnd.dwf - - - dwg - image/vnd.dwg - - - dxf - image/vnd.dxf - - - dxp - application/vnd.spotfire.dxp - - - dxr - application/x-director - - - ecelp4800 - audio/vnd.nuera.ecelp4800 - - - ecelp7470 - audio/vnd.nuera.ecelp7470 - - - ecelp9600 - audio/vnd.nuera.ecelp9600 - - - ecma - application/ecmascript - - - edm - application/vnd.novadigm.edm - - - edx - application/vnd.novadigm.edx - - - efif - application/vnd.picsel - - - ei6 - application/vnd.pg.osasli - - - elc - application/octet-stream - - - emf - application/x-msmetafile - - - eml - message/rfc822 - - - emma - application/emma+xml - - - emz - application/x-msmetafile - - - eol - audio/vnd.digital-winds - - - eot - application/vnd.ms-fontobject - - - eps - application/postscript - - - epub - application/epub+zip - - - es3 - application/vnd.eszigno3+xml - - - esa - application/vnd.osgi.subsystem - - - esf - application/vnd.epson.esf - - - et3 - application/vnd.eszigno3+xml - - - etx - text/x-setext - - - eva - application/x-eva - - - evy - application/x-envoy - - - exe - application/octet-stream - - - exi - application/exi - - - ext - application/vnd.novadigm.ext - - - ez - application/andrew-inset - - - ez2 - application/vnd.ezpix-album - - - ez3 - application/vnd.ezpix-package - - - f - text/x-fortran - - - f4v - video/x-f4v - - - f77 - text/x-fortran - - - f90 - text/x-fortran - - - fbs - image/vnd.fastbidsheet - - - fcdt - application/vnd.adobe.formscentral.fcdt - - - fcs - application/vnd.isac.fcs - - - fdf - application/vnd.fdf - - - fe_launch - application/vnd.denovo.fcselayout-link - - - fg5 - application/vnd.fujitsu.oasysgp - - - fgd - application/x-director - - - fh - image/x-freehand - - - fh4 - image/x-freehand - - - fh5 - image/x-freehand - - - fh7 - image/x-freehand - - - fhc - image/x-freehand - - - fig - application/x-xfig - - - flac - audio/flac - - - fli - video/x-fli - - - flo - application/vnd.micrografx.flo - - - flv - video/x-flv - - - flw - application/vnd.kde.kivio - - - flx - text/vnd.fmi.flexstor - - - fly - text/vnd.fly - - - fm - application/vnd.framemaker - - - fnc - application/vnd.frogans.fnc - - - for - text/x-fortran - - - fpx - image/vnd.fpx - - - frame - application/vnd.framemaker - - - fsc - application/vnd.fsc.weblaunch - - - fst - image/vnd.fst - - - ftc - application/vnd.fluxtime.clip - - - fti - application/vnd.anser-web-funds-transfer-initiation - - - fvt - video/vnd.fvt - - - fxp - application/vnd.adobe.fxp - - - fxpl - application/vnd.adobe.fxp - - - fzs - application/vnd.fuzzysheet - - - g2w - application/vnd.geoplan - - - g3 - image/g3fax - - - g3w - application/vnd.geospace - - - gac - application/vnd.groove-account - - - gam - application/x-tads - - - gbr - application/rpki-ghostbusters - - - gca - application/x-gca-compressed - - - gdl - model/vnd.gdl - - - geo - application/vnd.dynageo - - - gex - application/vnd.geometry-explorer - - - ggb - application/vnd.geogebra.file - - - ggt - application/vnd.geogebra.tool - - - ghf - application/vnd.groove-help - - - gif - image/gif - - - gim - application/vnd.groove-identity-message - - - gml - application/gml+xml - - - gmx - application/vnd.gmx - - - gnumeric - application/x-gnumeric - - - gph - application/vnd.flographit - - - gpx - application/gpx+xml - - - gqf - application/vnd.grafeq - - - gqs - application/vnd.grafeq - - - gram - application/srgs - - - gramps - application/x-gramps-xml - - - gre - application/vnd.geometry-explorer - - - grv - application/vnd.groove-injector - - - grxml - application/srgs+xml - - - gsf - application/x-font-ghostscript - - - gtar - application/x-gtar - - - gtm - application/vnd.groove-tool-message - - - gtw - model/vnd.gtw - - - gv - text/vnd.graphviz - - - gxf - application/gxf - - - gxt - application/vnd.geonext - - - gz - application/x-gzip - - - h - text/x-c - - - h261 - video/h261 - - - h263 - video/h263 - - - h264 - video/h264 - - - hal - application/vnd.hal+xml - - - hbci - application/vnd.hbci - - - hdf - application/x-hdf - - - hh - text/x-c - - - hlp - application/winhlp - - - hpgl - application/vnd.hp-hpgl - - - hpid - application/vnd.hp-hpid - - - hps - application/vnd.hp-hps - - - hqx - application/mac-binhex40 - - - htc - text/x-component - - - htke - application/vnd.kenameaapp - - - htm - text/html - - - html - text/html - - - hvd - application/vnd.yamaha.hv-dic - - - hvp - application/vnd.yamaha.hv-voice - - - hvs - application/vnd.yamaha.hv-script - - - i2g - application/vnd.intergeo - - - icc - application/vnd.iccprofile - - - ice - x-conference/x-cooltalk - - - icm - application/vnd.iccprofile - - - ico - image/x-icon - - - ics - text/calendar - - - ief - image/ief - - - ifb - text/calendar - - - ifm - application/vnd.shana.informed.formdata - - - iges - model/iges - - - igl - application/vnd.igloader - - - igm - application/vnd.insors.igm - - - igs - model/iges - - - igx - application/vnd.micrografx.igx - - - iif - application/vnd.shana.informed.interchange - - - imp - application/vnd.accpac.simply.imp - - - ims - application/vnd.ms-ims - - - in - text/plain - - - ink - application/inkml+xml - - - inkml - application/inkml+xml - - - install - application/x-install-instructions - - - iota - application/vnd.astraea-software.iota - - - ipfix - application/ipfix - - - ipk - application/vnd.shana.informed.package - - - irm - application/vnd.ibm.rights-management - - - irp - application/vnd.irepository.package+xml - - - iso - application/x-iso9660-image - - - itp - application/vnd.shana.informed.formtemplate - - - ivp - application/vnd.immervision-ivp - - - ivu - application/vnd.immervision-ivu - - - jad - text/vnd.sun.j2me.app-descriptor - - - jam - application/vnd.jam - - - jar - application/java-archive - - - java - text/x-java-source - - - jisp - application/vnd.jisp - - - jlt - application/vnd.hp-jlyt - - - jnlp - application/x-java-jnlp-file - - - joda - application/vnd.joost.joda-archive - - - jpe - image/jpeg - - - jpeg - image/jpeg - - - jpg - image/jpeg - - - jpgm - video/jpm - - - jpgv - video/jpeg - - - jpm - video/jpm - - - js - application/javascript - - - jsf - text/plain - - - json - application/json - - - jsonml - application/jsonml+json - - - jspf - text/plain - - - kar - audio/midi - - - karbon - application/vnd.kde.karbon - - - kfo - application/vnd.kde.kformula - - - kia - application/vnd.kidspiration - - - kml - application/vnd.google-earth.kml+xml - - - kmz - application/vnd.google-earth.kmz - - - kne - application/vnd.kinar - - - knp - application/vnd.kinar - - - kon - application/vnd.kde.kontour - - - kpr - application/vnd.kde.kpresenter - - - kpt - application/vnd.kde.kpresenter - - - kpxx - application/vnd.ds-keypoint - - - ksp - application/vnd.kde.kspread - - - ktr - application/vnd.kahootz - - - ktx - image/ktx - - - ktz - application/vnd.kahootz - - - kwd - application/vnd.kde.kword - - - kwt - application/vnd.kde.kword - - - lasxml - application/vnd.las.las+xml - - - latex - application/x-latex - - - lbd - application/vnd.llamagraphics.life-balance.desktop - - - lbe - application/vnd.llamagraphics.life-balance.exchange+xml - - - les - application/vnd.hhe.lesson-player - - - lha - application/x-lzh-compressed - - - link66 - application/vnd.route66.link66+xml - - - list - text/plain - - - list3820 - application/vnd.ibm.modcap - - - listafp - application/vnd.ibm.modcap - - - lnk - application/x-ms-shortcut - - - log - text/plain - - - lostxml - application/lost+xml - - - lrf - application/octet-stream - - - lrm - application/vnd.ms-lrm - - - ltf - application/vnd.frogans.ltf - - - lvp - audio/vnd.lucent.voice - - - lwp - application/vnd.lotus-wordpro - - - lzh - application/x-lzh-compressed - - - m13 - application/x-msmediaview - - - m14 - application/x-msmediaview - - - m1v - video/mpeg - - - m21 - application/mp21 - - - m2a - audio/mpeg - - - m2v - video/mpeg - - - m3a - audio/mpeg - - - m3u - audio/x-mpegurl - - - m3u8 - application/vnd.apple.mpegurl - - - m4a - audio/mp4 - - - m4b - audio/mp4 - - - m4r - audio/mp4 - - - m4u - video/vnd.mpegurl - - - m4v - video/mp4 - - - ma - application/mathematica - - - mac - image/x-macpaint - - - mads - application/mads+xml - - - mag - application/vnd.ecowin.chart - - - maker - application/vnd.framemaker - - - man - text/troff - - - mar - application/octet-stream - - - mathml - application/mathml+xml - - - mb - application/mathematica - - - mbk - application/vnd.mobius.mbk - - - mbox - application/mbox - - - mc1 - application/vnd.medcalcdata - - - mcd - application/vnd.mcd - - - mcurl - text/vnd.curl.mcurl - - - mdb - application/x-msaccess - - - mdi - image/vnd.ms-modi - - - me - text/troff - - - mesh - model/mesh - - - meta4 - application/metalink4+xml - - - metalink - application/metalink+xml - - - mets - application/mets+xml - - - mfm - application/vnd.mfmp - - - mft - application/rpki-manifest - - - mgp - application/vnd.osgeo.mapguide.package - - - mgz - application/vnd.proteus.magazine - - - mid - audio/midi - - - midi - audio/midi - - - mie - application/x-mie - - - mif - application/x-mif - - - mime - message/rfc822 - - - mj2 - video/mj2 - - - mjp2 - video/mj2 - - - mk3d - video/x-matroska - - - mka - audio/x-matroska - - - mks - video/x-matroska - - - mkv - video/x-matroska - - - mlp - application/vnd.dolby.mlp - - - mmd - application/vnd.chipnuts.karaoke-mmd - - - mmf - application/vnd.smaf - - - mmr - image/vnd.fujixerox.edmics-mmr - - - mng - video/x-mng - - - mny - application/x-msmoney - - - mobi - application/x-mobipocket-ebook - - - mods - application/mods+xml - - - mov - video/quicktime - - - movie - video/x-sgi-movie - - - mp1 - audio/mpeg - - - mp2 - audio/mpeg - - - mp21 - application/mp21 - - - mp2a - audio/mpeg - - - mp3 - audio/mpeg - - - mp4 - video/mp4 - - - mp4a - audio/mp4 - - - mp4s - application/mp4 - - - mp4v - video/mp4 - - - mpa - audio/mpeg - - - mpc - application/vnd.mophun.certificate - - - mpe - video/mpeg - - - mpeg - video/mpeg - - - mpega - audio/x-mpeg - - - mpg - video/mpeg - - - mpg4 - video/mp4 - - - mpga - audio/mpeg - - - mpkg - application/vnd.apple.installer+xml - - - mpm - application/vnd.blueice.multipass - - - mpn - application/vnd.mophun.application - - - mpp - application/vnd.ms-project - - - mpt - application/vnd.ms-project - - - mpv2 - video/mpeg2 - - - mpy - application/vnd.ibm.minipay - - - mqy - application/vnd.mobius.mqy - - - mrc - application/marc - - - mrcx - application/marcxml+xml - - - ms - text/troff - - - mscml - application/mediaservercontrol+xml - - - mseed - application/vnd.fdsn.mseed - - - mseq - application/vnd.mseq - - - msf - application/vnd.epson.msf - - - msh - model/mesh - - - msi - application/x-msdownload - - - msl - application/vnd.mobius.msl - - - msty - application/vnd.muvee.style - - - mts - model/vnd.mts - - - mus - application/vnd.musician - - - musicxml - application/vnd.recordare.musicxml+xml - - - mvb - application/x-msmediaview - - - mwf - application/vnd.mfer - - - mxf - application/mxf - - - mxl - application/vnd.recordare.musicxml - - - mxml - application/xv+xml - - - mxs - application/vnd.triscape.mxs - - - mxu - video/vnd.mpegurl - - - n-gage - application/vnd.nokia.n-gage.symbian.install - - - n3 - text/n3 - - - nb - application/mathematica - - - nbp - application/vnd.wolfram.player - - - nc - application/x-netcdf - - - ncx - application/x-dtbncx+xml - - - nfo - text/x-nfo - - - ngdat - application/vnd.nokia.n-gage.data - - - nitf - application/vnd.nitf - - - nlu - application/vnd.neurolanguage.nlu - - - nml - application/vnd.enliven - - - nnd - application/vnd.noblenet-directory - - - nns - application/vnd.noblenet-sealer - - - nnw - application/vnd.noblenet-web - - - npx - image/vnd.net-fpx - - - nsc - application/x-conference - - - nsf - application/vnd.lotus-notes - - - ntf - application/vnd.nitf - - - nzb - application/x-nzb - - - oa2 - application/vnd.fujitsu.oasys2 - - - oa3 - application/vnd.fujitsu.oasys3 - - - oas - application/vnd.fujitsu.oasys - - - obd - application/x-msbinder - - - obj - application/x-tgif - - - oda - application/oda - - - - odb - application/vnd.oasis.opendocument.database - - - - odc - application/vnd.oasis.opendocument.chart - - - - odf - application/vnd.oasis.opendocument.formula - - - odft - application/vnd.oasis.opendocument.formula-template - - - - odg - application/vnd.oasis.opendocument.graphics - - - - odi - application/vnd.oasis.opendocument.image - - - - odm - application/vnd.oasis.opendocument.text-master - - - - odp - application/vnd.oasis.opendocument.presentation - - - - ods - application/vnd.oasis.opendocument.spreadsheet - - - - odt - application/vnd.oasis.opendocument.text - - - oga - audio/ogg - - - ogg - audio/ogg - - - ogv - video/ogg - - - - ogx - application/ogg - - - omdoc - application/omdoc+xml - - - onepkg - application/onenote - - - onetmp - application/onenote - - - onetoc - application/onenote - - - onetoc2 - application/onenote - - - opf - application/oebps-package+xml - - - opml - text/x-opml - - - oprc - application/vnd.palm - - - org - application/vnd.lotus-organizer - - - osf - application/vnd.yamaha.openscoreformat - - - osfpvg - application/vnd.yamaha.openscoreformat.osfpvg+xml - - - otc - application/vnd.oasis.opendocument.chart-template - - - otf - application/x-font-otf - - - - otg - application/vnd.oasis.opendocument.graphics-template - - - - oth - application/vnd.oasis.opendocument.text-web - - - oti - application/vnd.oasis.opendocument.image-template - - - - otp - application/vnd.oasis.opendocument.presentation-template - - - - ots - application/vnd.oasis.opendocument.spreadsheet-template - - - - ott - application/vnd.oasis.opendocument.text-template - - - oxps - application/oxps - - - oxt - application/vnd.openofficeorg.extension - - - p - text/x-pascal - - - p10 - application/pkcs10 - - - p12 - application/x-pkcs12 - - - p7b - application/x-pkcs7-certificates - - - p7c - application/pkcs7-mime - - - p7m - application/pkcs7-mime - - - p7r - application/x-pkcs7-certreqresp - - - p7s - application/pkcs7-signature - - - p8 - application/pkcs8 - - - pas - text/x-pascal - - - paw - application/vnd.pawaafile - - - pbd - application/vnd.powerbuilder6 - - - pbm - image/x-portable-bitmap - - - pcap - application/vnd.tcpdump.pcap - - - pcf - application/x-font-pcf - - - pcl - application/vnd.hp-pcl - - - pclxl - application/vnd.hp-pclxl - - - pct - image/pict - - - pcurl - application/vnd.curl.pcurl - - - pcx - image/x-pcx - - - pdb - application/vnd.palm - - - pdf - application/pdf - - - pfa - application/x-font-type1 - - - pfb - application/x-font-type1 - - - pfm - application/x-font-type1 - - - pfr - application/font-tdpfr - - - pfx - application/x-pkcs12 - - - pgm - image/x-portable-graymap - - - pgn - application/x-chess-pgn - - - pgp - application/pgp-encrypted - - - pic - image/pict - - - pict - image/pict - - - pkg - application/octet-stream - - - pki - application/pkixcmp - - - pkipath - application/pkix-pkipath - - - plb - application/vnd.3gpp.pic-bw-large - - - plc - application/vnd.mobius.plc - - - plf - application/vnd.pocketlearn - - - pls - audio/x-scpls - - - pml - application/vnd.ctc-posml - - - png - image/png - - - pnm - image/x-portable-anymap - - - pnt - image/x-macpaint - - - portpkg - application/vnd.macports.portpkg - - - pot - application/vnd.ms-powerpoint - - - potm - application/vnd.ms-powerpoint.template.macroenabled.12 - - - potx - application/vnd.openxmlformats-officedocument.presentationml.template - - - ppam - application/vnd.ms-powerpoint.addin.macroenabled.12 - - - ppd - application/vnd.cups-ppd - - - ppm - image/x-portable-pixmap - - - pps - application/vnd.ms-powerpoint - - - ppsm - application/vnd.ms-powerpoint.slideshow.macroenabled.12 - - - ppsx - application/vnd.openxmlformats-officedocument.presentationml.slideshow - - - ppt - application/vnd.ms-powerpoint - - - pptm - application/vnd.ms-powerpoint.presentation.macroenabled.12 - - - pptx - application/vnd.openxmlformats-officedocument.presentationml.presentation - - - pqa - application/vnd.palm - - - prc - application/x-mobipocket-ebook - - - pre - application/vnd.lotus-freelance - - - prf - application/pics-rules - - - ps - application/postscript - - - psb - application/vnd.3gpp.pic-bw-small - - - psd - image/vnd.adobe.photoshop - - - psf - application/x-font-linux-psf - - - pskcxml - application/pskc+xml - - - ptid - application/vnd.pvi.ptid1 - - - pub - application/x-mspublisher - - - pvb - application/vnd.3gpp.pic-bw-var - - - pwn - application/vnd.3m.post-it-notes - - - pya - audio/vnd.ms-playready.media.pya - - - pyv - video/vnd.ms-playready.media.pyv - - - qam - application/vnd.epson.quickanime - - - qbo - application/vnd.intu.qbo - - - qfx - application/vnd.intu.qfx - - - qps - application/vnd.publishare-delta-tree - - - qt - video/quicktime - - - qti - image/x-quicktime - - - qtif - image/x-quicktime - - - qwd - application/vnd.quark.quarkxpress - - - qwt - application/vnd.quark.quarkxpress - - - qxb - application/vnd.quark.quarkxpress - - - qxd - application/vnd.quark.quarkxpress - - - qxl - application/vnd.quark.quarkxpress - - - qxt - application/vnd.quark.quarkxpress - - - ra - audio/x-pn-realaudio - - - ram - audio/x-pn-realaudio - - - rar - application/x-rar-compressed - - - ras - image/x-cmu-raster - - - rcprofile - application/vnd.ipunplugged.rcprofile - - - rdf - application/rdf+xml - - - rdz - application/vnd.data-vision.rdz - - - rep - application/vnd.businessobjects - - - res - application/x-dtbresource+xml - - - rgb - image/x-rgb - - - rif - application/reginfo+xml - - - rip - audio/vnd.rip - - - ris - application/x-research-info-systems - - - rl - application/resource-lists+xml - - - rlc - image/vnd.fujixerox.edmics-rlc - - - rld - application/resource-lists-diff+xml - - - rm - application/vnd.rn-realmedia - - - rmi - audio/midi - - - rmp - audio/x-pn-realaudio-plugin - - - rms - application/vnd.jcp.javame.midlet-rms - - - rmvb - application/vnd.rn-realmedia-vbr - - - rnc - application/relax-ng-compact-syntax - - - roa - application/rpki-roa - - - roff - text/troff - - - rp9 - application/vnd.cloanto.rp9 - - - rpss - application/vnd.nokia.radio-presets - - - rpst - application/vnd.nokia.radio-preset - - - rq - application/sparql-query - - - rs - application/rls-services+xml - - - rsd - application/rsd+xml - - - rss - application/rss+xml - - - rtf - application/rtf - - - rtx - text/richtext - - - s - text/x-asm - - - s3m - audio/s3m - - - saf - application/vnd.yamaha.smaf-audio - - - sbml - application/sbml+xml - - - sc - application/vnd.ibm.secure-container - - - scd - application/x-msschedule - - - scm - application/vnd.lotus-screencam - - - scq - application/scvp-cv-request - - - scs - application/scvp-cv-response - - - scurl - text/vnd.curl.scurl - - - sda - application/vnd.stardivision.draw - - - sdc - application/vnd.stardivision.calc - - - sdd - application/vnd.stardivision.impress - - - sdkd - application/vnd.solent.sdkm+xml - - - sdkm - application/vnd.solent.sdkm+xml - - - sdp - application/sdp - - - sdw - application/vnd.stardivision.writer - - - see - application/vnd.seemail - - - seed - application/vnd.fdsn.seed - - - sema - application/vnd.sema - - - semd - application/vnd.semd - - - semf - application/vnd.semf - - - ser - application/java-serialized-object - - - setpay - application/set-payment-initiation - - - setreg - application/set-registration-initiation - - - sfd-hdstx - application/vnd.hydrostatix.sof-data - - - sfs - application/vnd.spotfire.sfs - - - sfv - text/x-sfv - - - sgi - image/sgi - - - sgl - application/vnd.stardivision.writer-global - - - sgm - text/sgml - - - sgml - text/sgml - - - sh - application/x-sh - - - shar - application/x-shar - - - shf - application/shf+xml - - - - sid - image/x-mrsid-image - - - sig - application/pgp-signature - - - sil - audio/silk - - - silo - model/mesh - - - sis - application/vnd.symbian.install - - - sisx - application/vnd.symbian.install - - - sit - application/x-stuffit - - - sitx - application/x-stuffitx - - - skd - application/vnd.koan - - - skm - application/vnd.koan - - - skp - application/vnd.koan - - - skt - application/vnd.koan - - - sldm - application/vnd.ms-powerpoint.slide.macroenabled.12 - - - sldx - application/vnd.openxmlformats-officedocument.presentationml.slide - - - slt - application/vnd.epson.salt - - - sm - application/vnd.stepmania.stepchart - - - smf - application/vnd.stardivision.math - - - smi - application/smil+xml - - - smil - application/smil+xml - - - smv - video/x-smv - - - smzip - application/vnd.stepmania.package - - - snd - audio/basic - - - snf - application/x-font-snf - - - so - application/octet-stream - - - spc - application/x-pkcs7-certificates - - - spf - application/vnd.yamaha.smaf-phrase - - - spl - application/x-futuresplash - - - spot - text/vnd.in3d.spot - - - spp - application/scvp-vp-response - - - spq - application/scvp-vp-request - - - spx - audio/ogg - - - sql - application/x-sql - - - src - application/x-wais-source - - - srt - application/x-subrip - - - sru - application/sru+xml - - - srx - application/sparql-results+xml - - - ssdl - application/ssdl+xml - - - sse - application/vnd.kodak-descriptor - - - ssf - application/vnd.epson.ssf - - - ssml - application/ssml+xml - - - st - application/vnd.sailingtracker.track - - - stc - application/vnd.sun.xml.calc.template - - - std - application/vnd.sun.xml.draw.template - - - stf - application/vnd.wt.stf - - - sti - application/vnd.sun.xml.impress.template - - - stk - application/hyperstudio - - - stl - application/vnd.ms-pki.stl - - - str - application/vnd.pg.format - - - stw - application/vnd.sun.xml.writer.template - - - sub - text/vnd.dvb.subtitle - - - sus - application/vnd.sus-calendar - - - susp - application/vnd.sus-calendar - - - sv4cpio - application/x-sv4cpio - - - sv4crc - application/x-sv4crc - - - svc - application/vnd.dvb.service - - - svd - application/vnd.svd - - - svg - image/svg+xml - - - svgz - image/svg+xml - - - swa - application/x-director - - - swf - application/x-shockwave-flash - - - swi - application/vnd.aristanetworks.swi - - - sxc - application/vnd.sun.xml.calc - - - sxd - application/vnd.sun.xml.draw - - - sxg - application/vnd.sun.xml.writer.global - - - sxi - application/vnd.sun.xml.impress - - - sxm - application/vnd.sun.xml.math - - - sxw - application/vnd.sun.xml.writer - - - t - text/troff - - - t3 - application/x-t3vm-image - - - taglet - application/vnd.mynfc - - - tao - application/vnd.tao.intent-module-archive - - - tar - application/x-tar - - - tcap - application/vnd.3gpp2.tcap - - - tcl - application/x-tcl - - - teacher - application/vnd.smart.teacher - - - tei - application/tei+xml - - - teicorpus - application/tei+xml - - - tex - application/x-tex - - - texi - application/x-texinfo - - - texinfo - application/x-texinfo - - - text - text/plain - - - tfi - application/thraud+xml - - - tfm - application/x-tex-tfm - - - tga - image/x-tga - - - thmx - application/vnd.ms-officetheme - - - tif - image/tiff - - - tiff - image/tiff - - - tmo - application/vnd.tmobile-livetv - - - torrent - application/x-bittorrent - - - tpl - application/vnd.groove-tool-template - - - tpt - application/vnd.trid.tpt - - - tr - text/troff - - - tra - application/vnd.trueapp - - - trm - application/x-msterminal - - - tsd - application/timestamped-data - - - tsv - text/tab-separated-values - - - ttc - application/x-font-ttf - - - ttf - application/x-font-ttf - - - ttl - text/turtle - - - twd - application/vnd.simtech-mindmapper - - - twds - application/vnd.simtech-mindmapper - - - txd - application/vnd.genomatix.tuxedo - - - txf - application/vnd.mobius.txf - - - txt - text/plain - - - u32 - application/x-authorware-bin - - - udeb - application/x-debian-package - - - ufd - application/vnd.ufdl - - - ufdl - application/vnd.ufdl - - - ulw - audio/basic - - - ulx - application/x-glulx - - - umj - application/vnd.umajin - - - unityweb - application/vnd.unity - - - uoml - application/vnd.uoml+xml - - - uri - text/uri-list - - - uris - text/uri-list - - - urls - text/uri-list - - - ustar - application/x-ustar - - - utz - application/vnd.uiq.theme - - - uu - text/x-uuencode - - - uva - audio/vnd.dece.audio - - - uvd - application/vnd.dece.data - - - uvf - application/vnd.dece.data - - - uvg - image/vnd.dece.graphic - - - uvh - video/vnd.dece.hd - - - uvi - image/vnd.dece.graphic - - - uvm - video/vnd.dece.mobile - - - uvp - video/vnd.dece.pd - - - uvs - video/vnd.dece.sd - - - uvt - application/vnd.dece.ttml+xml - - - uvu - video/vnd.uvvu.mp4 - - - uvv - video/vnd.dece.video - - - uvva - audio/vnd.dece.audio - - - uvvd - application/vnd.dece.data - - - uvvf - application/vnd.dece.data - - - uvvg - image/vnd.dece.graphic - - - uvvh - video/vnd.dece.hd - - - uvvi - image/vnd.dece.graphic - - - uvvm - video/vnd.dece.mobile - - - uvvp - video/vnd.dece.pd - - - uvvs - video/vnd.dece.sd - - - uvvt - application/vnd.dece.ttml+xml - - - uvvu - video/vnd.uvvu.mp4 - - - uvvv - video/vnd.dece.video - - - uvvx - application/vnd.dece.unspecified - - - uvvz - application/vnd.dece.zip - - - uvx - application/vnd.dece.unspecified - - - uvz - application/vnd.dece.zip - - - vcard - text/vcard - - - vcd - application/x-cdlink - - - vcf - text/x-vcard - - - vcg - application/vnd.groove-vcard - - - vcs - text/x-vcalendar - - - vcx - application/vnd.vcx - - - vis - application/vnd.visionary - - - viv - video/vnd.vivo - - - vob - video/x-ms-vob - - - vor - application/vnd.stardivision.writer - - - vox - application/x-authorware-bin - - - vrml - model/vrml - - - vsd - application/vnd.visio - - - vsf - application/vnd.vsf - - - vss - application/vnd.visio - - - vst - application/vnd.visio - - - vsw - application/vnd.visio - - - vtu - model/vnd.vtu - - - vxml - application/voicexml+xml - - - w3d - application/x-director - - - wad - application/x-doom - - - wav - audio/x-wav - - - wax - audio/x-ms-wax - - - - wbmp - image/vnd.wap.wbmp - - - wbs - application/vnd.criticaltools.wbs+xml - - - wbxml - application/vnd.wap.wbxml - - - wcm - application/vnd.ms-works - - - wdb - application/vnd.ms-works - - - wdp - image/vnd.ms-photo - - - weba - audio/webm - - - webm - video/webm - - - webp - image/webp - - - wg - application/vnd.pmi.widget - - - wgt - application/widget - - - wks - application/vnd.ms-works - - - wm - video/x-ms-wm - - - wma - audio/x-ms-wma - - - wmd - application/x-ms-wmd - - - wmf - application/x-msmetafile - - - - wml - text/vnd.wap.wml - - - - wmlc - application/vnd.wap.wmlc - - - - wmls - text/vnd.wap.wmlscript - - - - wmlsc - application/vnd.wap.wmlscriptc - - - wmv - video/x-ms-wmv - - - wmx - video/x-ms-wmx - - - wmz - application/x-msmetafile - - - woff - application/x-font-woff - - - wpd - application/vnd.wordperfect - - - wpl - application/vnd.ms-wpl - - - wps - application/vnd.ms-works - - - wqd - application/vnd.wqd - - - wri - application/x-mswrite - - - wrl - model/vrml - - - wsdl - application/wsdl+xml - - - wspolicy - application/wspolicy+xml - - - wtb - application/vnd.webturbo - - - wvx - video/x-ms-wvx - - - x32 - application/x-authorware-bin - - - x3d - model/x3d+xml - - - x3db - model/x3d+binary - - - x3dbz - model/x3d+binary - - - x3dv - model/x3d+vrml - - - x3dvz - model/x3d+vrml - - - x3dz - model/x3d+xml - - - xaml - application/xaml+xml - - - xap - application/x-silverlight-app - - - xar - application/vnd.xara - - - xbap - application/x-ms-xbap - - - xbd - application/vnd.fujixerox.docuworks.binder - - - xbm - image/x-xbitmap - - - xdf - application/xcap-diff+xml - - - xdm - application/vnd.syncml.dm+xml - - - xdp - application/vnd.adobe.xdp+xml - - - xdssc - application/dssc+xml - - - xdw - application/vnd.fujixerox.docuworks - - - xenc - application/xenc+xml - - - xer - application/patch-ops-error+xml - - - xfdf - application/vnd.adobe.xfdf - - - xfdl - application/vnd.xfdl - - - xht - application/xhtml+xml - - - xhtml - application/xhtml+xml - - - xhvml - application/xv+xml - - - xif - image/vnd.xiff - - - xla - application/vnd.ms-excel - - - xlam - application/vnd.ms-excel.addin.macroenabled.12 - - - xlc - application/vnd.ms-excel - - - xlf - application/x-xliff+xml - - - xlm - application/vnd.ms-excel - - - xls - application/vnd.ms-excel - - - xlsb - application/vnd.ms-excel.sheet.binary.macroenabled.12 - - - xlsm - application/vnd.ms-excel.sheet.macroenabled.12 - - - xlsx - application/vnd.openxmlformats-officedocument.spreadsheetml.sheet - - - xlt - application/vnd.ms-excel - - - xltm - application/vnd.ms-excel.template.macroenabled.12 - - - xltx - application/vnd.openxmlformats-officedocument.spreadsheetml.template - - - xlw - application/vnd.ms-excel - - - xm - audio/xm - - - xml - application/xml - - - xo - application/vnd.olpc-sugar - - - xop - application/xop+xml - - - xpi - application/x-xpinstall - - - xpl - application/xproc+xml - - - xpm - image/x-xpixmap - - - xpr - application/vnd.is-xpr - - - xps - application/vnd.ms-xpsdocument - - - xpw - application/vnd.intercon.formnet - - - xpx - application/vnd.intercon.formnet - - - xsl - application/xml - - - xslt - application/xslt+xml - - - xsm - application/vnd.syncml+xml - - - xspf - application/xspf+xml - - - xul - application/vnd.mozilla.xul+xml - - - xvm - application/xv+xml - - - xvml - application/xv+xml - - - xwd - image/x-xwindowdump - - - xyz - chemical/x-xyz - - - xz - application/x-xz - - - yang - application/yang - - - yin - application/yin+xml - - - z - application/x-compress - - - Z - application/x-compress - - - z1 - application/x-zmachine - - - z2 - application/x-zmachine - - - z3 - application/x-zmachine - - - z4 - application/x-zmachine - - - z5 - application/x-zmachine - - - z6 - application/x-zmachine - - - z7 - application/x-zmachine - - - z8 - application/x-zmachine - - - zaz - application/vnd.zzazz.deck+xml - - - zip - application/zip - - - zir - application/vnd.zul - - - zirz - application/vnd.zul - - - zmm - application/vnd.handheld-entertainment+xml - - - - - - - - - - - - - - - - index.html - index.htm - index.jsp - - \ No newline at end of file diff --git a/akraino/pom.xml b/akraino/pom.xml index feb8002..515f0bd 100644 --- a/akraino/pom.xml +++ b/akraino/pom.xml @@ -2,9 +2,13 @@ 4.0.0 org.akraino camunda_workflow - 0.0.1-SNAPSHOT + 0.0.2-SNAPSHOT jar - + + + UTF-8 + + @@ -16,7 +20,7 @@ - + org.camunda.bpm.springboot @@ -27,52 +31,48 @@ com.h2database h2 - - org.yaml - snakeyaml - 1.21 + commons-net + commons-net + 3.3 + + + com.jcraft + jsch + 0.1.54 - - commons-net - commons-net - 3.3 - - - - com.jcraft - jsch - 0.1.54 - - io.springfox springfox-swagger2 2.7.0 - io.springfox springfox-swagger-ui 2.7.0 - - - org.springframework.boot - spring-boot-starter-test - test - 1.5.3.RELEASE - - - + + org.yaml + snakeyaml + 1.21 + + - - - - + + + org.springframework.boot spring-boot-maven-plugin + 2.1.2.RELEASE @@ -82,7 +82,5 @@ - - - + diff --git a/akraino/src/main/java/com/akraino/bpm/config/CamundaCorsFilter.java b/akraino/src/main/java/com/akraino/bpm/config/CamundaCorsFilter.java index 249d90a..0d051ff 100644 --- a/akraino/src/main/java/com/akraino/bpm/config/CamundaCorsFilter.java +++ b/akraino/src/main/java/com/akraino/bpm/config/CamundaCorsFilter.java @@ -16,10 +16,7 @@ package com.akraino.bpm.config; - import java.io.IOException; - - import javax.sql.DataSource; import org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl; @@ -44,28 +41,25 @@ import org.springframework.web.cors.CorsConfiguration; import org.springframework.web.cors.UrlBasedCorsConfigurationSource; import org.springframework.web.filter.CorsFilter; - - @Configuration +public class CamundaCorsFilter { + - public class CamundaCorsFilter { - - - @Value("${camunda.bpm.buildresponseurl}") + @Value("${camunda.bpm.buildresponseurl}") private String buildresponseurl; - - @Value("${camunda.bpm.tokenId}") + + @Value("${camunda.bpm.tokenId}") private String tokenId; - - @Autowired + + @Autowired private DataSource dataSource; - + @Autowired private PlatformTransactionManager transactionManager; - - @Autowired + + @Autowired private JobExecutor jobExecutor; - + public String getBuildresponseurl() { return buildresponseurl; } @@ -73,7 +67,7 @@ import org.springframework.web.filter.CorsFilter; public void setBuildresponseurl(String buildresponseurl) { this.buildresponseurl = buildresponseurl; } - + public String getTokenId() { return tokenId; } @@ -87,26 +81,23 @@ import org.springframework.web.filter.CorsFilter; // Do any additional configuration here return builder.build(); } - - - - + /*@Bean public JobExecutor jobExecutor() { final JobExecutor jobExecutor = new RuntimeContainerJobExecutor(); jobExecutor.setWaitTimeInMillis(5000); jobExecutor.setLockTimeInMillis(18000000); return jobExecutor; - } - @Bean - + } + @Bean + public ProcessEngineConfiguration SpringProcessEngineConfiguration () { - + ProcessEngineConfiguration ProcessEngineConfiguration=new SpringProcessEngineConfiguration().setJobExecutor(jobexecutor).setProcessEngineName("default"); return ProcessEngineConfiguration; }*/ - - @Bean + + @Bean @Primary public static JobExecutor jobExecutor(@Qualifier("camundaTaskExecutor") final TaskExecutor taskExecutor) { final SpringJobExecutor springJobExecutor = new SpringJobExecutor(); @@ -116,7 +107,7 @@ import org.springframework.web.filter.CorsFilter; springJobExecutor.setLockTimeInMillis(36000000); return springJobExecutor; } - + @Bean @Primary public ProcessEngineConfigurationImpl processEngineConfiguration() throws IOException { @@ -132,14 +123,13 @@ import org.springframework.web.filter.CorsFilter; //config.setProcessEnginePlugins(); return config; } - + @Bean public PlatformTransactionManager getTransactionManager() { PlatformTransactionManager ptm=new DataSourceTransactionManager(dataSource); return ptm; - } - - + } + @Bean public CorsFilter corsFilter() { UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource(); @@ -156,7 +146,7 @@ import org.springframework.web.filter.CorsFilter; source.registerCorsConfiguration("/**", config); return new CorsFilter(source); } - + @Bean(name="akrainoprocessExecutor") public TaskExecutor workExecutor() { ThreadPoolTaskExecutor threadPoolTaskExecutor = new ThreadPoolTaskExecutor(); @@ -166,7 +156,5 @@ import org.springframework.web.filter.CorsFilter; threadPoolTaskExecutor.setQueueCapacity(600); threadPoolTaskExecutor.afterPropertiesSet(); return threadPoolTaskExecutor; - } - } - - + } +} diff --git a/akraino/src/main/java/com/akraino/bpm/controller/CamundaRestController.java b/akraino/src/main/java/com/akraino/bpm/controller/CamundaRestController.java index a6e6cba..044400d 100644 --- a/akraino/src/main/java/com/akraino/bpm/controller/CamundaRestController.java +++ b/akraino/src/main/java/com/akraino/bpm/controller/CamundaRestController.java @@ -33,6 +33,7 @@ import com.akraino.bpm.model.BuildResponse; import com.akraino.bpm.model.Deploy; import com.akraino.bpm.model.Onap; import com.akraino.bpm.model.Tempest; +import com.akraino.bpm.model.MultiNodeDeploy; import com.akraino.bpm.service.AsyncProcessExecutorService; import io.swagger.annotations.Api; @@ -40,69 +41,58 @@ import io.swagger.annotations.Api; @Api @RestController public class CamundaRestController { - - - - @Autowired - private AsyncProcessExecutorService asyncProcessExecutorService; - - private static Logger logger = LoggerFactory.getLogger(CamundaRestController.class); - - @PostMapping("/build/") - public ResponseEntity build(@RequestBody Build build) { - logger.debug("Request received for Build ",build.toString()); - asyncProcessExecutorService.executeBuildProcess(build); - return new ResponseEntity(new BuildResponse("in progress",null,null,null,null,build.getSitename(),null,null,null),HttpStatus.OK); - + + @Autowired + private AsyncProcessExecutorService asyncProcessExecutorService; + + private static Logger logger = LoggerFactory.getLogger(CamundaRestController.class); + + @PostMapping("/build/") + public ResponseEntity build(@RequestBody Build build) { + logger.debug("Request received for Build {}",build.toString()); + asyncProcessExecutorService.executeBuildProcess(build); + return new ResponseEntity(new BuildResponse("in progress",null,null,null,null,build.getSitename(),null,null,null),HttpStatus.OK); } - - - @PostMapping("/deploy/") - public ResponseEntity deploy(@RequestBody Deploy deploy) { - logger.debug("Request received for executing {} and targetDirectory {} ",deploy.toString()); - asyncProcessExecutorService.executeDeployProcess(deploy); - return new ResponseEntity(new BuildResponse(null,"in progress","not started","not started","not started",deploy.getSitename(),null,null,null),HttpStatus.OK); + public ResponseEntity deploy(@RequestBody Deploy deploy) { + logger.debug("Request received for deploy {} ",deploy.toString()); + asyncProcessExecutorService.executeDeployProcess(deploy); + return new ResponseEntity(new BuildResponse(null,"in progress","not started","not started","not started",deploy.getSitename(),null,null,null),HttpStatus.OK); + } + + @PostMapping("/multinodedeploy/") + public ResponseEntity multiNodeDeploy(@RequestBody MultiNodeDeploy multiNodeDeploy) { + logger.debug("Request received for multi node deploy {} ",multiNodeDeploy.toString()); + asyncProcessExecutorService.executeMultiNodeDeployProcess(multiNodeDeploy); + return new ResponseEntity(new BuildResponse(null,"in progress","not started","not started","not started",multiNodeDeploy.getSitename(),null,null,null),HttpStatus.OK); } - - - @PostMapping("/airship/") public ResponseEntity airship(@RequestBody Airship airship) { - logger.debug("Request received for airship {} ",airship.toString()); - asyncProcessExecutorService.executeAirshipProcess(airship); - return new ResponseEntity(new BuildResponse(null,null,null,null,"in progress",airship.getSitename(),null,null,null),HttpStatus.OK); - } + logger.debug("Request received for airship {} ",airship.toString()); + asyncProcessExecutorService.executeAirshipProcess(airship); + return new ResponseEntity(new BuildResponse(null,null,null,null,"in progress",airship.getSitename(),null,null,null),HttpStatus.OK); + } - - - @PostMapping("/tempest/") - public ResponseEntity tempest(@RequestBody Tempest tempest) { - logger.debug("Request received for onap ",tempest.toString()); - asyncProcessExecutorService.executeTempestProcess(tempest); - return new ResponseEntity(new BuildResponse(null,null,null,null,null,tempest.getSitename(),null,null,"in progress"),HttpStatus.OK); + @PostMapping("/tempest/") + public ResponseEntity tempest(@RequestBody Tempest tempest) { + logger.debug("Request received for tempest {}",tempest.toString()); + asyncProcessExecutorService.executeTempestProcess(tempest); + return new ResponseEntity(new BuildResponse(null,null,null,null,null,tempest.getSitename(),null,null,"in progress"),HttpStatus.OK); } - - - - - @PostMapping("/apache/") - public ResponseEntity apache(@RequestBody Apache apache) { - logger.debug("Request received for onap ",apache.toString()); - asyncProcessExecutorService.executeApacheProcess(apache); - return new ResponseEntity(new BuildResponse(null,null,null,null,null,apache.getSitename(),null,"in progress",null),HttpStatus.OK); + + @PostMapping("/apache/") + public ResponseEntity apache(@RequestBody Apache apache) { + logger.debug("Request received for apache{} ",apache.toString()); + asyncProcessExecutorService.executeApacheProcess(apache); + return new ResponseEntity(new BuildResponse(null,null,null,null,null,apache.getSitename(),null,"in progress",null),HttpStatus.OK); } - - - - - @PostMapping("/onap/") - public ResponseEntity onap(@RequestBody Onap onap) { - logger.debug("Request received for onap ",onap.toString()); - asyncProcessExecutorService.executeOnapProcess(onap); - return new ResponseEntity(new BuildResponse(null,null,null,null,null,onap.getSitename(),"in progress",null,null),HttpStatus.OK); + + @PostMapping("/onap/") + public ResponseEntity onap(@RequestBody Onap onap) { + logger.debug("Request received for onap ",onap.toString()); + asyncProcessExecutorService.executeOnapProcess(onap); + return new ResponseEntity(new BuildResponse(null,null,null,null,null,onap.getSitename(),"in progress",null,null),HttpStatus.OK); } - } diff --git a/akraino/src/main/java/com/akraino/bpm/delegate/MultiNodeDeployRemoteScript1ExecutorTaskDelegate.java b/akraino/src/main/java/com/akraino/bpm/delegate/MultiNodeDeployRemoteScript1ExecutorTaskDelegate.java new file mode 100644 index 0000000..554a592 --- /dev/null +++ b/akraino/src/main/java/com/akraino/bpm/delegate/MultiNodeDeployRemoteScript1ExecutorTaskDelegate.java @@ -0,0 +1,62 @@ +/* + * Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.akraino.bpm.delegate; + +import org.camunda.bpm.engine.delegate.DelegateExecution; +import org.camunda.bpm.engine.delegate.JavaDelegate; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Component; + +import com.akraino.bpm.service.DeployResponseSenderService; +import com.akraino.bpm.service.RemoteScriptExecutionService; + + + +@Component +public class MultiNodeDeployRemoteScript1ExecutorTaskDelegate implements JavaDelegate { + + + private static Logger logger = LoggerFactory.getLogger(MultiNodeDeployRemoteScript1ExecutorTaskDelegate.class); + + @Autowired + RemoteScriptExecutionService remoteScriptExecutionService; + + @Autowired + DeployResponseSenderService deployResponseSenderService; + + + public void execute(DelegateExecution ctx) throws Exception { + + + String remotserver=(String)ctx.getVariable("remotserver"); + int portnumner=(Integer)ctx.getVariable("port"); + String username=(String)ctx.getVariable("username"); + String password=(String)ctx.getVariable("password"); + String filename=(String)ctx.getVariable("remotefile1"); + String fileparams=(String)ctx.getVariable("remotefile1params"); + String destdir=(String)ctx.getVariable("destdir1"); + + logger.debug("task execution started remotserver {} , portnumner {},username {}, password {},filename : {} ,fileparams={},dest dir={}", + remotserver,portnumner,username,password,filename,fileparams,destdir); + String command="cd "+destdir+ ";" +" bash "+filename+" "+ (fileparams!=null?fileparams:" ") ; + logger.debug("Execution command {}",command); + remoteScriptExecutionService.executeRemoteScript(remotserver,username,password,portnumner,filename,fileparams,null,destdir,command); + } + +} diff --git a/akraino/src/main/java/com/akraino/bpm/delegate/MultiNodeDeployRemoteScript2ExecutorTaskDelegate.java b/akraino/src/main/java/com/akraino/bpm/delegate/MultiNodeDeployRemoteScript2ExecutorTaskDelegate.java new file mode 100644 index 0000000..02ded79 --- /dev/null +++ b/akraino/src/main/java/com/akraino/bpm/delegate/MultiNodeDeployRemoteScript2ExecutorTaskDelegate.java @@ -0,0 +1,67 @@ +/* + * Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.akraino.bpm.delegate; + +import org.camunda.bpm.engine.delegate.DelegateExecution; +import org.camunda.bpm.engine.delegate.JavaDelegate; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Component; + +import com.akraino.bpm.model.BuildResponse; +import com.akraino.bpm.service.DeployResponseSenderService; +import com.akraino.bpm.service.RemoteScriptExecutionService; + + + +@Component +public class MultiNodeDeployRemoteScript2ExecutorTaskDelegate implements JavaDelegate { + + + private static Logger logger = LoggerFactory.getLogger(MultiNodeDeployRemoteScript2ExecutorTaskDelegate.class); + + @Autowired + RemoteScriptExecutionService remoteScriptExecutionService; + + @Autowired + DeployResponseSenderService deployResponseSenderService; + + + public void execute(DelegateExecution ctx) throws Exception { + String remotserver=(String)ctx.getVariable("remotserver"); + int portnumner=(Integer)ctx.getVariable("port"); + String username=(String)ctx.getVariable("username"); + String password=(String)ctx.getVariable("password"); + String filename=(String)ctx.getVariable("remotefile2"); + String fileparams=(String)ctx.getVariable("remotefile2params"); + String destdir=(String)ctx.getVariable("destdir2"); + String sitename=(String)ctx.getVariable("sitename"); + + deployResponseSenderService.sendResponse(new BuildResponse("completed", "completed", "completed", "inprogress","not started",sitename,null,null,null)); + + logger.debug("task execution started remotserver {} , portnumner {},username {}, password {},filename : {} ,fileparams={},dest dir={}", + remotserver,portnumner,username,password,filename,fileparams,destdir); + + String command="cd "+destdir+ ";" +" bash "+filename+" "+ (fileparams!=null?fileparams:" ") ; + logger.debug("Execution command {}",command); + remoteScriptExecutionService.executeRemoteScript(remotserver,username,password,portnumner,filename,fileparams,null,destdir,command); + + deployResponseSenderService.sendResponse(new BuildResponse("completed", "completed", "completed", "completed","completed",sitename,null,null,null)); + } + +} diff --git a/akraino/src/main/java/com/akraino/bpm/delegate/MultiNodeScript1ExecutorTaskDelegate.java b/akraino/src/main/java/com/akraino/bpm/delegate/MultiNodeScript1ExecutorTaskDelegate.java new file mode 100644 index 0000000..47a4020 --- /dev/null +++ b/akraino/src/main/java/com/akraino/bpm/delegate/MultiNodeScript1ExecutorTaskDelegate.java @@ -0,0 +1,57 @@ +/* + * Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.akraino.bpm.delegate; + +import org.camunda.bpm.engine.RuntimeService; +import org.camunda.bpm.engine.delegate.DelegateExecution; +import org.camunda.bpm.engine.delegate.JavaDelegate; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Component; + + +import com.akraino.bpm.service.ScriptExecutionService; + + +@Component +public class MultiNodeScript1ExecutorTaskDelegate implements JavaDelegate { + + @Autowired + RuntimeService runtimeService; + + private static Logger logger = LoggerFactory.getLogger(MultiNodeScript1ExecutorTaskDelegate.class); + + @Autowired + ScriptExecutionService scriptExecutionService; + + public void execute(DelegateExecution ctx) throws Exception { + String filename=(String)ctx.getVariable("file1"); + String fileparams=(String)ctx.getVariable("file1params"); + + int lastindex=filename.lastIndexOf("/"); + String srcdir=filename.substring(0,lastindex); + String task=filename.substring(lastindex+1,filename.length()); + + String file= task+" "+(fileparams!=null?fileparams.replaceAll(",", " "):" "); + + + logger.debug("task execution started filename:{}, directory:{}",file,srcdir); + scriptExecutionService.executeCDBashScript(srcdir, file); + } + +} diff --git a/akraino/src/main/java/com/akraino/bpm/delegate/MultiNodeWinScpScriptDelegate.java b/akraino/src/main/java/com/akraino/bpm/delegate/MultiNodeWinScpScriptDelegate.java new file mode 100644 index 0000000..c8c58d1 --- /dev/null +++ b/akraino/src/main/java/com/akraino/bpm/delegate/MultiNodeWinScpScriptDelegate.java @@ -0,0 +1,56 @@ +/* + * Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.akraino.bpm.delegate; + + +import org.camunda.bpm.engine.delegate.DelegateExecution; +import org.camunda.bpm.engine.delegate.JavaDelegate; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Component; + +import com.akraino.bpm.model.BuildResponse; +import com.akraino.bpm.service.DeployResponseSenderService; +import com.akraino.bpm.service.ScriptExecutionService; + + +@Component +public class MultiNodeWinScpScriptDelegate implements JavaDelegate { + + private static Logger logger = LoggerFactory.getLogger(MultiNodeWinScpScriptDelegate.class); + + @Autowired + DeployResponseSenderService deployResponseSenderService; + + @Autowired + ScriptExecutionService scriptExecutionService; + + public void execute(DelegateExecution ctx) throws Exception { + + String sitename=(String)ctx.getVariable("sitename"); + deployResponseSenderService.sendResponse(new BuildResponse("completed", "completed", "inprogress", "not started","not started",sitename,null,null,null)); + String filename=(String)ctx.getVariable("scpfilename"); + String dir=(String)ctx.getVariable("winscpdir"); + logger.debug("Win SCP task execution started filename:{},directory:{}",filename,dir); + + scriptExecutionService.executeCDBashScript(dir, filename); + + + } + +} diff --git a/akraino/src/main/java/com/akraino/bpm/delegate/ScriptExecutorTaskDelegate.java b/akraino/src/main/java/com/akraino/bpm/delegate/ScriptExecutorTaskDelegate.java index 59beee8..822b56d 100644 --- a/akraino/src/main/java/com/akraino/bpm/delegate/ScriptExecutorTaskDelegate.java +++ b/akraino/src/main/java/com/akraino/bpm/delegate/ScriptExecutorTaskDelegate.java @@ -40,8 +40,18 @@ public class ScriptExecutorTaskDelegate implements JavaDelegate { public void execute(DelegateExecution ctx) throws Exception { String filepath=(String)ctx.getVariable("filepath"); - logger.debug("task execution started :"+filepath); - scriptExecutionService.executeScript(filepath); + String fileparams=(String)ctx.getVariable("fileparams"); + logger.debug("task execution started {} :",filepath); + + + int lastindex=filepath.lastIndexOf("/"); + String srcdir=filepath.substring(0,lastindex); + String filename=filepath.substring(lastindex+1,filepath.length()); + String task= filename+" "+(fileparams!=null?fileparams.replaceAll(",", " "):" "); + + logger.debug("task execution started command: {} , src dir :{}",task,srcdir); + + scriptExecutionService.executeCDBashScript(srcdir,task); } } diff --git a/akraino/src/main/java/com/akraino/bpm/model/BuildResponse.java b/akraino/src/main/java/com/akraino/bpm/model/BuildResponse.java index c463fec..39ce79c 100644 --- a/akraino/src/main/java/com/akraino/bpm/model/BuildResponse.java +++ b/akraino/src/main/java/com/akraino/bpm/model/BuildResponse.java @@ -28,6 +28,7 @@ public class BuildResponse { private String vCDNStatus; private String tempestStatus; + public BuildResponse(String buildStatus, String createTarStatus, String genesisNodeStatus, String deployToolsStatus,String deployStatus, String siteName,String onapStatus,String vCDNStatus,String tempestStatus) { super(); @@ -41,8 +42,7 @@ public class BuildResponse { this.vCDNStatus=vCDNStatus; this.tempestStatus=tempestStatus; } - - + public String getBuildStatus() { return buildStatus; } @@ -131,7 +131,6 @@ public class BuildResponse { this.tempestStatus = tempestStatus; } - @Override public String toString() { return "BuildResponse [siteName=" + siteName + ", buildStatus=" + buildStatus + ", createTarStatus=" @@ -140,7 +139,9 @@ public class BuildResponse { + vCDNStatus + ", tempestStatus=" + tempestStatus + "]"; } + + } diff --git a/akraino/src/main/java/com/akraino/bpm/model/MultiNodeDeploy.java b/akraino/src/main/java/com/akraino/bpm/model/MultiNodeDeploy.java new file mode 100644 index 0000000..ab656fa --- /dev/null +++ b/akraino/src/main/java/com/akraino/bpm/model/MultiNodeDeploy.java @@ -0,0 +1,140 @@ +/* + * Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.akraino.bpm.model; + +public class MultiNodeDeploy { + + private String sitename; + private String file1; + private String file1params; + private String winscpfilepath; + private String winscpfileparams; + private String remotserver; + private int port; + private String username; + private String password; + private String destdir1; + private String remotefile1; + private String remotefile1params; + private String destdir2; + private String remotefile2; + private String remotefile2params; + public String getSitename() { + return sitename; + } + public void setSitename(String sitename) { + this.sitename = sitename; + } + public String getFile1() { + return file1; + } + public void setFile1(String file1) { + this.file1 = file1; + } + public String getFile1params() { + return file1params; + } + public void setFile1params(String file1params) { + this.file1params = file1params; + } + public String getWinscpfilepath() { + return winscpfilepath; + } + public void setWinscpfilepath(String winscpfilepath) { + this.winscpfilepath = winscpfilepath; + } + public String getWinscpfileparams() { + return winscpfileparams; + } + public void setWinscpfileparams(String winscpfileparams) { + this.winscpfileparams = winscpfileparams; + } + public String getRemotserver() { + return remotserver; + } + public void setRemotserver(String remotserver) { + this.remotserver = remotserver; + } + public int getPort() { + return port; + } + public void setPort(int port) { + this.port = port; + } + public String getUsername() { + return username; + } + public void setUsername(String username) { + this.username = username; + } + public String getPassword() { + return password; + } + public void setPassword(String password) { + this.password = password; + } + + public String getRemotefile1() { + return remotefile1; + } + public void setRemotefile1(String remotefile1) { + this.remotefile1 = remotefile1; + } + public String getRemotefile1params() { + return remotefile1params; + } + public void setRemotefile1params(String remotefile1params) { + this.remotefile1params = remotefile1params; + } + public String getRemotefile2() { + return remotefile2; + } + public void setRemotefile2(String remotefile2) { + this.remotefile2 = remotefile2; + } + public String getRemotefile2params() { + return remotefile2params; + } + public void setRemotefile2params(String remotefile2params) { + this.remotefile2params = remotefile2params; + } + public String getDestdir1() { + return destdir1; + } + public void setDestdir1(String destdir1) { + this.destdir1 = destdir1; + } + public String getDestdir2() { + return destdir2; + } + public void setDestdir2(String destdir2) { + this.destdir2 = destdir2; + } + + + @Override + public String toString() { + return "MultiNodeDeploy [sitename=" + sitename + ", file1=" + file1 + ", file1params=" + file1params + + ", winscpfilepath=" + winscpfilepath + ", winscpfileparams=" + winscpfileparams + ", remotserver=" + + remotserver + ", port=" + port + ", username=" + username + ", password=" + password + ", destdir1=" + + destdir1 + ", remotefile1=" + remotefile1 + ", remotefile1params=" + remotefile1params + ", destdir2=" + + destdir2 + ", remotefile2=" + remotefile2 + ", remotefile2params=" + remotefile2params + "]"; + } + + + + } diff --git a/akraino/src/main/java/com/akraino/bpm/service/AsyncProcessExecutorService.java b/akraino/src/main/java/com/akraino/bpm/service/AsyncProcessExecutorService.java index 0a78b78..ad05507 100644 --- a/akraino/src/main/java/com/akraino/bpm/service/AsyncProcessExecutorService.java +++ b/akraino/src/main/java/com/akraino/bpm/service/AsyncProcessExecutorService.java @@ -20,6 +20,7 @@ import com.akraino.bpm.model.Airship; import com.akraino.bpm.model.Apache; import com.akraino.bpm.model.Build; import com.akraino.bpm.model.Deploy; +import com.akraino.bpm.model.MultiNodeDeploy; import com.akraino.bpm.model.Onap; import com.akraino.bpm.model.Tempest; @@ -36,4 +37,6 @@ public interface AsyncProcessExecutorService { public void executeTempestProcess(Tempest tempest); public void executeApacheProcess(Apache apache); + + public void executeMultiNodeDeployProcess(MultiNodeDeploy multiNodeDeploy); } diff --git a/akraino/src/main/java/com/akraino/bpm/service/ScriptExecutionService.java b/akraino/src/main/java/com/akraino/bpm/service/ScriptExecutionService.java index 446e97e..2588a18 100644 --- a/akraino/src/main/java/com/akraino/bpm/service/ScriptExecutionService.java +++ b/akraino/src/main/java/com/akraino/bpm/service/ScriptExecutionService.java @@ -22,9 +22,6 @@ public interface ScriptExecutionService { public void executeCDScript(String dir,String cmd); + public void executeCDBashScript(String dir,String cmd); - - //public void executeAirshipScript(String cmd); - - } diff --git a/akraino/src/main/java/com/akraino/bpm/service/impl/AsyncProcessExecutorServiceImpl.java b/akraino/src/main/java/com/akraino/bpm/service/impl/AsyncProcessExecutorServiceImpl.java index 5179c51..695606e 100644 --- a/akraino/src/main/java/com/akraino/bpm/service/impl/AsyncProcessExecutorServiceImpl.java +++ b/akraino/src/main/java/com/akraino/bpm/service/impl/AsyncProcessExecutorServiceImpl.java @@ -31,6 +31,7 @@ import com.akraino.bpm.model.Apache; import com.akraino.bpm.model.Build; import com.akraino.bpm.model.BuildResponse; import com.akraino.bpm.model.Deploy; +import com.akraino.bpm.model.MultiNodeDeploy; import com.akraino.bpm.model.Onap; import com.akraino.bpm.model.Tempest; import com.akraino.bpm.service.AsyncProcessExecutorService; @@ -39,17 +40,17 @@ import com.akraino.bpm.service.DeployResponseSenderService; @Service("asyncProcessExecutorService") public class AsyncProcessExecutorServiceImpl implements AsyncProcessExecutorService{ - @Autowired - private ProcessEngine camunda; - - @Autowired - private DeployResponseSenderService deployResponseSenderService; - - private static Logger logger = LoggerFactory.getLogger(AsyncProcessExecutorServiceImpl.class); - + @Autowired + private ProcessEngine camunda; + + @Autowired + private DeployResponseSenderService deployResponseSenderService; + + private static Logger logger = LoggerFactory.getLogger(AsyncProcessExecutorServiceImpl.class); + @Async public void executeAirshipProcess(Airship airship) { - + try { executeAirshipservice(airship); }catch(TaskExecutorException ex) { @@ -57,29 +58,32 @@ public class AsyncProcessExecutorServiceImpl implements AsyncProcessExecutorServ deployResponseSenderService.sendResponse(new BuildResponse(null,null,null,null,"exception: "+ex.getMessage(),airship.getSitename(),null,null,null)); return; } - logger.debug("Airship execution sucess "); + logger.debug("Airship execution success "); deployResponseSenderService.sendResponse(new BuildResponse(null,null,null,null,"success",airship.getSitename(),null,null,null)); - - - } private ProcessInstance executeAirshipservice(Airship airship) { - + String filepath1=airship.getFilepath()+" "+(airship.getFileparams()!=null?airship.getFileparams().replaceAll(",", " "):" "); String filepath2=airship.getWinscpfilepath()+" "+(airship.getWinscpfileparams()!=null?airship.getWinscpfileparams().replaceAll(",", " "):" "); return camunda.getRuntimeService().startProcessInstanceByKey("airship", - Variables.putValue("filepath", filepath1).putValue("scpdir", airship.getWinscpdir()).putValue("ScpScriptFilepath", filepath2).putValue("remotserver", airship.getRemotserver()) + Variables.putValue("filepath", filepath1) + .putValue("scpdir", airship.getWinscpdir()) + .putValue("ScpScriptFilepath", filepath2) + .putValue("remotserver", airship.getRemotserver()) .putValue("username", airship.getUsername()) .putValue("password", airship.getPassword()) - .putValue("port", airship.getPort()).putValue("destdir",airship.getDestdir()).putValue("remotefilename", airship.getRemotefilename()) - .putValue("remotefileparams", airship.getRemotefileparams()).putValue("sitename", airship.getSitename())); - + .putValue("port", airship.getPort()) + .putValue("destdir",airship.getDestdir()) + .putValue("remotefilename", airship.getRemotefilename()) + .putValue("remotefileparams", airship.getRemotefileparams()) + .putValue("sitename", airship.getSitename()) + ); } @Async public void executeBuildProcess(Build build) { - + try { executeBuildService(build); }catch(TaskExecutorException ex) { @@ -87,62 +91,65 @@ public class AsyncProcessExecutorServiceImpl implements AsyncProcessExecutorServ deployResponseSenderService.sendResponse(new BuildResponse("exception: "+ex.getMessage(),null,null,null,null,build.getSitename(),null,null,null)); return; } - logger.debug("Build execution sucess "); + logger.debug("Build execution success "); deployResponseSenderService.sendResponse(new BuildResponse("success",null,null,null,null,build.getSitename(),null,null,null)); } - private ProcessInstance executeBuildService(Build build) { - - String filepath=build.getFilepath()+" "+(build.getFileparams()!=null?build.getFileparams().replaceAll(",", " "):" "); + return camunda.getRuntimeService().startProcessInstanceByKey("build", - Variables.putValue("filepath", filepath).putValue("targetfolder", build.getTargetfolder())); + Variables.putValue("filepath", build.getFilepath()) + .putValue("fileparams", build.getFileparams()) + .putValue("targetfolder", build.getTargetfolder()) + ); } - + @Async public void executeDeployProcess(Deploy deploy) { - - try { - executeDeployService(deploy); - }catch(TaskExecutorException ex) { - logger.error("deploy execution failed ",ex); - deployResponseSenderService.sendResponse(new BuildResponse(null,null,null,null,"exception: "+ex.getMessage(),deploy.getSitename(),null,null,null)); - return; + + try { + executeDeployService(deploy); + } catch (TaskExecutorException ex) { + logger.error("deploy execution failed ",ex); + deployResponseSenderService.sendResponse(new BuildResponse(null,null,null,null,"exception: "+ex.getMessage(),deploy.getSitename(),null,null,null)); + return; } - logger.debug("deploy execution sucess "); - deployResponseSenderService.sendResponse(new BuildResponse("success","success","success","success","success",deploy.getSitename(),null,null,null)); + logger.debug("deploy execution success "); + deployResponseSenderService.sendResponse(new BuildResponse("success","success","success","success","success",deploy.getSitename(),null,null,null)); } - - + + private ProcessInstance executeDeployService(Deploy deploy) { - - String filepath1=deploy.getFilepath()+" "+(deploy.getFileparams()!=null?deploy.getFileparams().replaceAll(",", " "):" "); - - - int lastindex=deploy.getWinscpfilepath().lastIndexOf("/"); - String scpSrcDir=deploy.getWinscpfilepath().substring(0,lastindex); - String scpfilename=deploy.getWinscpfilepath().substring(lastindex+1,deploy.getWinscpfilepath().length()); - String transferfile= scpfilename+" "+(deploy.getWinscpfileparams()!=null?deploy.getWinscpfileparams().replaceAll(",", " "):" "); - - - + + String filepath1 = deploy.getFilepath()+" "+(deploy.getFileparams()!=null?deploy.getFileparams().replaceAll(",", " "):" "); + String scpSrcDir = dirname(deploy.getWinscpfilepath()); + String scpfilename = filename(deploy.getWinscpfilepath()); + String transferfile = scpfilename+" "+(deploy.getWinscpfileparams()!=null?deploy.getWinscpfileparams().replaceAll(",", " "):" "); + return camunda.getRuntimeService().startProcessInstanceByKey("deploy", - Variables.putValue("filepath", filepath1).putValue("scpsrcdir", scpSrcDir). - putValue("ScpScriptFilepath", transferfile).putValue("remotserver", deploy.getRemotserver()) + Variables.putValue("filepath", filepath1) + .putValue("scpsrcdir", scpSrcDir) + .putValue("ScpScriptFilepath", transferfile) + .putValue("remotserver", deploy.getRemotserver()) .putValue("username", deploy.getUsername()) .putValue("password", deploy.getPassword()) - .putValue("port", deploy.getPort()).putValue("destdir",deploy.getDestdir()).putValue("remotefilename", deploy.getRemotefilename()) - .putValue("fileparams", deploy.getFileparams()). - putValue("verifier", deploy.getDeploymentverifier()).putValue("verifierfileparams", - deploy.getDeploymentverifierfileparams()).putValue("waittime", deploy.getWaittime()). - putValue("iterations", deploy.getNoofiterations()).putValue("postverificationscript", deploy.getPostverificationscript()). - putValue("postverificationScriptparams", deploy.getDeploymentverifierfileparams()).putValue("sitename", deploy.getSitename())); - + .putValue("port", deploy.getPort()) + .putValue("destdir",deploy.getDestdir()) + .putValue("remotefilename", deploy.getRemotefilename()) + .putValue("fileparams", deploy.getFileparams()) + .putValue("verifier", deploy.getDeploymentverifier()) + .putValue("verifierfileparams", deploy.getDeploymentverifierfileparams()) + .putValue("waittime", deploy.getWaittime()) + .putValue("iterations", deploy.getNoofiterations()) + .putValue("postverificationscript", deploy.getPostverificationscript()) + .putValue("postverificationScriptparams", deploy.getDeploymentverifierfileparams()) + .putValue("sitename", deploy.getSitename()) + ); } @Async public void executeOnapProcess(Onap onap) { - + try { executeOnapService(onap); }catch(TaskExecutorException ex) { @@ -150,34 +157,36 @@ public class AsyncProcessExecutorServiceImpl implements AsyncProcessExecutorServ deployResponseSenderService.sendResponse(new BuildResponse(null,null,null,null,null,onap.getSitename(),"exception: "+ex.getMessage(),null,null)); return; } - logger.debug("Onap execution sucess "); + logger.debug("Onap execution success "); deployResponseSenderService.sendResponse(new BuildResponse(null,null,null,null,null,onap.getSitename(),"succes",null,null)); - - } - - + + private ProcessInstance executeOnapService(Onap onap) { - - int lastindex=onap.getFiletrasferscript().lastIndexOf("/"); - String scpSrcDir=onap.getFiletrasferscript().substring(0,lastindex); - String scpfilename=onap.getFiletrasferscript().substring(lastindex+1,onap.getFiletrasferscript().length()); - String transferfile= scpfilename+" "+(onap.getFiletransferparams()!=null?onap.getFiletransferparams().replaceAll(",", " "):" "); - - + + String scpSrcDir = dirname(onap.getFiletrasferscript()); + String scpfilename = filename(onap.getFiletrasferscript()); + String transferfile = scpfilename+" "+(onap.getFiletransferparams()!=null?onap.getFiletransferparams().replaceAll(",", " "):" "); + return camunda.getRuntimeService().startProcessInstanceByKey("onap", - Variables.putValue("filename", onap.getFilename()).putValue("fileparams", onap.getFileparams()). - putValue("verifier", onap.getDeploymentverifier()).putValue("verifierfileparams", onap.getVerifierparams()).putValue("waittime", onap.getWaittime()). - putValue("iterations", onap.getNoofiterations()).putValue("remotserver", onap.getRemoteserver()) + Variables.putValue("filename", onap.getFilename()) + .putValue("fileparams", onap.getFileparams()) + .putValue("verifier", onap.getDeploymentverifier()) + .putValue("verifierfileparams", onap.getVerifierparams()) + .putValue("waittime", onap.getWaittime()) + .putValue("iterations", onap.getNoofiterations()) + .putValue("remotserver", onap.getRemoteserver()) .putValue("username", onap.getUsername()) .putValue("password", onap.getPassword()) - .putValue("port", onap.getPortnumber()).putValue("srcdir", onap.getSrcdir()).putValue("destdir",onap.getDestdir()).putValue("ScpScriptFilepath", transferfile). - putValue("scpsrcdir", scpSrcDir) - ); - + .putValue("port", onap.getPortnumber()) + .putValue("srcdir", onap.getSrcdir()) + .putValue("destdir",onap.getDestdir()) + .putValue("ScpScriptFilepath", transferfile) + .putValue("scpsrcdir", scpSrcDir) + ); } - - + + @Async public void executeTempestProcess(Tempest tempest) { try { @@ -187,67 +196,120 @@ public class AsyncProcessExecutorServiceImpl implements AsyncProcessExecutorServ deployResponseSenderService.sendResponse(new BuildResponse(null,null,null,null,null,tempest.getSitename(),null,null,"exception: "+ex.getMessage())); return; } - logger.debug("Tempest execution sucess "); + logger.debug("Tempest execution success "); deployResponseSenderService.sendResponse(new BuildResponse(null,null,null,null,null,tempest.getSitename(),null,null,"success")); - - } - - private ProcessInstance executeTempestService(Tempest tempest) { - - int lastindex=tempest.getFiletrasferscript().lastIndexOf("/"); - String scpSrcDir=tempest.getFiletrasferscript().substring(0,lastindex); - String scpfilename=tempest.getFiletrasferscript().substring(lastindex+1,tempest.getFiletrasferscript().length()); - String transferfile= scpfilename+" "+(tempest.getFiletransferparams()!=null?tempest.getFiletransferparams().replaceAll(",", " "):" "); - - return camunda.getRuntimeService().startProcessInstanceByKey("tempest", - Variables.putValue("filename", tempest.getFilename()).putValue("fileparams", tempest.getFileparams()). - putValue("verifier", tempest.getDeploymentverifier()).putValue("verifierfileparams", tempest.getVerifierparams()).putValue("waittime", tempest.getWaittime()). - putValue("iterations", tempest.getNoofiterations()).putValue("remotserver", tempest.getRemoteserver()) + + } + + private ProcessInstance executeTempestService(Tempest tempest) { + + String scpSrcDir = dirname(tempest.getFiletrasferscript()); + String scpfilename = filename(tempest.getFiletrasferscript()); + String transferfile = scpfilename+" "+(tempest.getFiletransferparams()!=null?tempest.getFiletransferparams().replaceAll(",", " "):" "); + + return camunda.getRuntimeService().startProcessInstanceByKey("tempest", + Variables.putValue("filename", tempest.getFilename()) + .putValue("fileparams", tempest.getFileparams()) + .putValue("verifier", tempest.getDeploymentverifier()) + .putValue("verifierfileparams", tempest.getVerifierparams()) + .putValue("waittime", tempest.getWaittime()) + .putValue("iterations", tempest.getNoofiterations()) + .putValue("remotserver", tempest.getRemoteserver()) .putValue("username", tempest.getUsername()) .putValue("password", tempest.getPassword()) - .putValue("port", tempest.getPortnumber()).putValue("srcdir", tempest.getSrcdir()).putValue("destdir",tempest.getDestdir()).putValue("ScpScriptFilepath", transferfile). - putValue("scpsrcdir", scpSrcDir) - ); - - } - - - @Async - public void executeApacheProcess(Apache apache) { - try { - executeApacheService(apache); - }catch(TaskExecutorException ex) { - logger.error("Apache execution failed ",ex); - deployResponseSenderService.sendResponse(new BuildResponse(null,null,null,null,null,apache.getSitename(),null,"exception: "+ex.getMessage(),null)); - return; - } - logger.debug("Apache execution sucess "); - deployResponseSenderService.sendResponse(new BuildResponse(null,null,null,null,null,apache.getSitename(),null,"success",null)); - - + .putValue("port", tempest.getPortnumber()) + .putValue("srcdir", tempest.getSrcdir()) + .putValue("destdir",tempest.getDestdir()) + .putValue("ScpScriptFilepath", transferfile) + .putValue("scpsrcdir", scpSrcDir) + ); + } + + + @Async + public void executeApacheProcess(Apache apache) { + try { + executeApacheService(apache); + }catch(TaskExecutorException ex) { + logger.error("Apache execution failed ",ex); + deployResponseSenderService.sendResponse(new BuildResponse(null,null,null,null,null,apache.getSitename(),null,"exception: "+ex.getMessage(),null)); + return; } - - - private ProcessInstance executeApacheService(Apache apache) { - - int lastindex=apache.getFiletrasferscript().lastIndexOf("/"); - String scpSrcDir=apache.getFiletrasferscript().substring(0,lastindex); - String scpfilename=apache.getFiletrasferscript().substring(lastindex+1,apache.getFiletrasferscript().length()); - - String transferfile= scpfilename+" "+(apache.getFiletransferparams()!=null?apache.getFiletransferparams().replaceAll(",", " "):" "); - - return camunda.getRuntimeService().startProcessInstanceByKey("apache", - Variables.putValue("filename", apache.getFilename()).putValue("fileparams", apache.getFileparams()). - putValue("verifier", apache.getDeploymentverifier()).putValue("verifierfileparams", apache.getVerifierparams()).putValue("waittime", apache.getWaittime()). - putValue("iterations", apache.getNoofiterations()).putValue("remotserver", apache.getRemoteserver()) - .putValue("username", apache.getUsername()) - .putValue("password", apache.getPassword()) - .putValue("port", apache.getPortnumber()). - putValue("srcdir", apache.getSrcdir()).putValue("destdir",apache.getDestdir()). - putValue("scpfilename", transferfile).putValue("scpdir", scpSrcDir) - ); - + logger.debug("Apache execution success "); + deployResponseSenderService.sendResponse(new BuildResponse(null,null,null,null,null,apache.getSitename(),null,"success",null)); + + + } + + private ProcessInstance executeApacheService(Apache apache) { + + String scpSrcDir = dirname(apache.getFiletrasferscript()); + String scpfilename = filename(apache.getFiletrasferscript()); + String transferfile = scpfilename+" "+(apache.getFiletransferparams()!=null?apache.getFiletransferparams().replaceAll(",", " "):" "); + + return camunda.getRuntimeService().startProcessInstanceByKey("apache", + Variables.putValue("filename", apache.getFilename()) + .putValue("fileparams", apache.getFileparams()) + .putValue("verifier", apache.getDeploymentverifier()) + .putValue("verifierfileparams", apache.getVerifierparams()) + .putValue("waittime", apache.getWaittime()) + .putValue("iterations", apache.getNoofiterations()) + .putValue("remotserver", apache.getRemoteserver()) + .putValue("username", apache.getUsername()) + .putValue("password", apache.getPassword()) + .putValue("port", apache.getPortnumber()) + .putValue("srcdir", apache.getSrcdir()) + .putValue("destdir",apache.getDestdir()) + .putValue("scpfilename", transferfile) + .putValue("scpdir", scpSrcDir) + ); + } + + @Async + public void executeMultiNodeDeployProcess(MultiNodeDeploy multiNodeDeploy) { + try { + executeMultiNodeDeployService(multiNodeDeploy); + }catch(TaskExecutorException ex) { + logger.error("MultiNodeDeploy execution failed ",ex); + deployResponseSenderService.sendResponse(new BuildResponse(null,null,null,null,"exception: "+ex.getMessage(),multiNodeDeploy.getSitename(),null,null,null)); + return; } - - + logger.debug("MultiNodeDeploy execution success "); + deployResponseSenderService.sendResponse(new BuildResponse("success","success","success","success","success",multiNodeDeploy.getSitename(),null,null,null)); + + } + + private ProcessInstance executeMultiNodeDeployService(MultiNodeDeploy multiNodeDeploy) { + + String scpSrcDir = dirname(multiNodeDeploy.getWinscpfilepath()); + String scpfilename = filename(multiNodeDeploy.getWinscpfilepath()); + String transferfile = scpfilename+" "+(multiNodeDeploy.getWinscpfileparams()!=null?multiNodeDeploy.getWinscpfileparams().replaceAll(",", " "):" "); + + return camunda.getRuntimeService().startProcessInstanceByKey("multinodedeploy", + Variables.putValue("file1", multiNodeDeploy.getFile1()) + .putValue("file1params", multiNodeDeploy.getFile1params()) + .putValue("winscpdir", scpSrcDir) + .putValue("scpfilename", transferfile) + .putValue("remotserver", multiNodeDeploy.getRemotserver()) + .putValue("username", multiNodeDeploy.getUsername()) + .putValue("password", multiNodeDeploy.getPassword()) + .putValue("port", multiNodeDeploy.getPort()) + .putValue("destdir1",multiNodeDeploy.getDestdir1()) + .putValue("destdir2", multiNodeDeploy.getDestdir2()) + .putValue("remotefile1", multiNodeDeploy.getRemotefile1()) + .putValue("remotefile1params", multiNodeDeploy.getRemotefile1params()) + .putValue("sitename", multiNodeDeploy.getSitename()) + .putValue("remotefile2", multiNodeDeploy.getRemotefile2()) + .putValue("remotefile2params", multiNodeDeploy.getRemotefile2params()) + ); + } + + private String dirname(final String s) { + int lastindex = s.lastIndexOf("/"); + return (lastindex < 0) ? "." : s.substring(0, lastindex); + } + private String filename(String s) { + int lastindex = s.lastIndexOf("/"); + return (lastindex < 0) ? s : s.substring(lastindex+1); } +} diff --git a/akraino/src/main/java/com/akraino/bpm/service/impl/ScriptExecutionServiceImpl.java b/akraino/src/main/java/com/akraino/bpm/service/impl/ScriptExecutionServiceImpl.java index 7462607..36842d3 100644 --- a/akraino/src/main/java/com/akraino/bpm/service/impl/ScriptExecutionServiceImpl.java +++ b/akraino/src/main/java/com/akraino/bpm/service/impl/ScriptExecutionServiceImpl.java @@ -46,7 +46,7 @@ public class ScriptExecutionServiceImpl implements ScriptExecutionService{ p.waitFor(); logger.debug("Script exit code :"+p.exitValue()); if(p.exitValue()!=0) { - throw new TaskExecutorException("problem while executing the script . exist code :"+p.exitValue()); + throw new TaskExecutorException("problem while executing the script . exit code :"+p.exitValue()); } @@ -85,6 +85,36 @@ public class ScriptExecutionServiceImpl implements ScriptExecutionService{ } + public void executeCDBashScript(String dir,String cmd) { + + try { + logger.debug("Executing the script.............dir:{},command:{}",dir,cmd); + + String[] command = { "/bin/bash", "-c", "bash "+cmd }; + Process p = Runtime.getRuntime().exec(command, null, new File(dir)); + p.waitFor(); + BufferedReader input = new BufferedReader(new InputStreamReader(p.getInputStream())); + String line = ""; + while ((line = input.readLine()) != null) { + logger.debug(line); + } + logger.debug("Script exit code :"+p.exitValue()); + if(p.exitValue()!=0) { + throw new TaskExecutorException("problem while executing the script . exit code :"+p.exitValue()); + } + + + } catch (IOException e) { + throw new TaskExecutorException(cmd + " not found."); + } catch (InterruptedException e) { + throw new TaskExecutorException("problem while executing the script "+cmd); + } + + } + + + + /*public void executeAirshipScript(String cmd) { try { diff --git a/akraino/src/main/resources/multinodedeploy.bpmn b/akraino/src/main/resources/multinodedeploy.bpmn new file mode 100644 index 0000000..cfe83e4 --- /dev/null +++ b/akraino/src/main/resources/multinodedeploy.bpmn @@ -0,0 +1,128 @@ + + + + + + SequenceFlow_125l5l0 + + + SequenceFlow_125l5l0 + SequenceFlow_05ubysv + + + SequenceFlow_05ubysv + SequenceFlow_1jh4nm3 + + + + SequenceFlow_1jh4nm3 + SequenceFlow_1b4e6j2 + + + + SequenceFlow_1b4e6j2 + + + + Rest + + + + Script 1 execution Task + + + + Win Scp Script Executor + + + + Remote Script 1 Executor + + + + Remote Script 2 executor + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/config/multinodedeploy.bpmn b/config/multinodedeploy.bpmn new file mode 100644 index 0000000..cfe83e4 --- /dev/null +++ b/config/multinodedeploy.bpmn @@ -0,0 +1,128 @@ + + + + + + SequenceFlow_125l5l0 + + + SequenceFlow_125l5l0 + SequenceFlow_05ubysv + + + SequenceFlow_05ubysv + SequenceFlow_1jh4nm3 + + + + SequenceFlow_1jh4nm3 + SequenceFlow_1b4e6j2 + + + + SequenceFlow_1b4e6j2 + + + + Rest + + + + Script 1 execution Task + + + + Win Scp Script Executor + + + + Remote Script 1 Executor + + + + Remote Script 2 executor + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pom.xml b/pom.xml index f142d61..515f0bd 100644 --- a/pom.xml +++ b/pom.xml @@ -2,9 +2,13 @@ 4.0.0 org.akraino camunda_workflow - 0.0.1-SNAPSHOT + 0.0.2-SNAPSHOT jar + + UTF-8 + + @@ -27,11 +31,6 @@ com.h2database h2 - - org.yaml - snakeyaml - 1.21 - commons-net commons-net @@ -42,6 +41,30 @@ jsch 0.1.54 + + io.springfox + springfox-swagger2 + 2.7.0 + + + io.springfox + springfox-swagger-ui + 2.7.0 + + + org.yaml + snakeyaml + 1.21 + + @@ -49,6 +72,7 @@ org.springframework.boot spring-boot-maven-plugin + 2.1.2.RELEASE @@ -57,6 +81,6 @@ - + - \ No newline at end of file + -- 2.16.6