xml-importer and xml-exporter added to z-distr
This commit is contained in:
parent
8d70db939f
commit
43162aa18a
6 changed files with 71 additions and 1 deletions
2
pom.xml
2
pom.xml
|
|
@ -53,6 +53,8 @@
|
||||||
<folder_root_registry-service>${folder_root_clearing}/clearing-parent/registry-service</folder_root_registry-service>
|
<folder_root_registry-service>${folder_root_clearing}/clearing-parent/registry-service</folder_root_registry-service>
|
||||||
<folder_root_scheduler-service>${folder_root_clearing}/clearing-parent/scheduler-service</folder_root_scheduler-service>
|
<folder_root_scheduler-service>${folder_root_clearing}/clearing-parent/scheduler-service</folder_root_scheduler-service>
|
||||||
<folder_root_gateway-api>${folder_root_clearing}/clearing-parent/gateway-api</folder_root_gateway-api>
|
<folder_root_gateway-api>${folder_root_clearing}/clearing-parent/gateway-api</folder_root_gateway-api>
|
||||||
|
<folder_root_xml-exporter>${folder_root_clearing}/clearing-parent/xml-exporter</folder_root_xml-exporter>
|
||||||
|
<folder_root_xml-importer>${folder_root_clearing}/clearing-parent/xml-importer</folder_root_xml-importer>
|
||||||
<!-- IMDG -->
|
<!-- IMDG -->
|
||||||
<external_libraries.hazelcast.version>3.12.4</external_libraries.hazelcast.version>
|
<external_libraries.hazelcast.version>3.12.4</external_libraries.hazelcast.version>
|
||||||
<external_libraries.slf4j.version>1.7.33</external_libraries.slf4j.version>
|
<external_libraries.slf4j.version>1.7.33</external_libraries.slf4j.version>
|
||||||
|
|
|
||||||
|
|
@ -568,6 +568,52 @@
|
||||||
</fileSets>
|
</fileSets>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>copy-xml-exporter-bin</id>
|
||||||
|
<phase>prepare-package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>copy</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<fileSets>
|
||||||
|
<fileSet>
|
||||||
|
<sourceFile>${folder_root_xml-exporter}/target/xml-exporter.jar</sourceFile>
|
||||||
|
<destinationFile>${folder.clearing.distr.bin}/xml-exporter.jar</destinationFile>
|
||||||
|
</fileSet>
|
||||||
|
<fileSet>
|
||||||
|
<sourceFile>${folder_root_xml-exporter}/target/xml-exporter.jar</sourceFile>
|
||||||
|
<destinationFile>${folder.clearing.distr.services}/xml-exporter/xml-exporter.jar</destinationFile>
|
||||||
|
</fileSet>
|
||||||
|
<fileSet>
|
||||||
|
<sourceFile>${folder_root_xml-exporter}/src/main/resources/application.properties</sourceFile>
|
||||||
|
<destinationFile>${folder.clearing.distr.settings}/xml-exporter/application.properties</destinationFile>
|
||||||
|
</fileSet>
|
||||||
|
</fileSets>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>copy-xml-importer-bin</id>
|
||||||
|
<phase>prepare-package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>copy</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<fileSets>
|
||||||
|
<fileSet>
|
||||||
|
<sourceFile>${folder_root_xml-importer}/target/xml-importer.jar</sourceFile>
|
||||||
|
<destinationFile>${folder.clearing.distr.bin}/xml-importer.jar</destinationFile>
|
||||||
|
</fileSet>
|
||||||
|
<fileSet>
|
||||||
|
<sourceFile>${folder_root_xml-importer}/target/xml-importer.jar</sourceFile>
|
||||||
|
<destinationFile>${folder.clearing.distr.services}/xml-importer/xml-importer.jar</destinationFile>
|
||||||
|
</fileSet>
|
||||||
|
<fileSet>
|
||||||
|
<sourceFile>${folder_root_xml-importer}/src/main/resources/application.properties</sourceFile>
|
||||||
|
<destinationFile>${folder.clearing.distr.settings}/xml-importer/application.properties</destinationFile>
|
||||||
|
</fileSet>
|
||||||
|
</fileSets>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
|
|
||||||
|
|
@ -19,4 +19,6 @@ kill -9 $(ps -ef | grep java | grep scheduler-service.jar | awk '{print $2}')
|
||||||
kill -9 $(ps -ef | grep java | grep reports-service.jar | awk '{print $2}')
|
kill -9 $(ps -ef | grep java | grep reports-service.jar | awk '{print $2}')
|
||||||
kill -9 $(ps -ef | grep java | grep registry-service.jar | awk '{print $2}')
|
kill -9 $(ps -ef | grep java | grep registry-service.jar | awk '{print $2}')
|
||||||
kill -9 $(ps -ef | grep java | grep swt-importer.jar | awk '{print $2}')
|
kill -9 $(ps -ef | grep java | grep swt-importer.jar | awk '{print $2}')
|
||||||
kill -9 $(ps -ef | grep java | grep gateway-api.jar | awk '{print $2}')
|
kill -9 $(ps -ef | grep java | grep gateway-api.jar | awk '{print $2}')
|
||||||
|
kill -9 $(ps -ef | grep java | grep xml-exporter.jar | awk '{print $2}')
|
||||||
|
kill -9 $(ps -ef | grep java | grep xml-importer.jar | awk '{print $2}')
|
||||||
|
|
@ -20,3 +20,5 @@ cd /opt/mfd/clearing/bin
|
||||||
/opt/mfd/clearing/bin/registry-service.sh
|
/opt/mfd/clearing/bin/registry-service.sh
|
||||||
/opt/mfd/clearing/bin/swt-importer.sh
|
/opt/mfd/clearing/bin/swt-importer.sh
|
||||||
/opt/mfd/clearing/bin/gateway-api.sh
|
/opt/mfd/clearing/bin/gateway-api.sh
|
||||||
|
/opt/mfd/clearing/bin/xml-exporter.sh
|
||||||
|
/opt/mfd/clearing/bin/xml-importer.sh
|
||||||
|
|
|
||||||
9
z-distr/src/main/resources/distr/sh/xml-exporter.sh
Normal file
9
z-distr/src/main/resources/distr/sh/xml-exporter.sh
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
CLEARING_HOME=/opt/mfd/clearing/
|
||||||
|
cd $CLEARING_HOME/bin
|
||||||
|
|
||||||
|
CMD="java -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=7031 -jar xml-exporter.jar --spring.config.location=$CLEARING_HOME/settings/xml-exporter/"
|
||||||
|
|
||||||
|
$CMD >/dev/null 2>&1 &
|
||||||
|
|
||||||
9
z-distr/src/main/resources/distr/sh/xml-importer.sh
Normal file
9
z-distr/src/main/resources/distr/sh/xml-importer.sh
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
CLEARING_HOME=/opt/mfd/clearing/
|
||||||
|
cd $CLEARING_HOME/bin
|
||||||
|
|
||||||
|
CMD="java -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=7041 -jar xml-importer.jar --spring.config.location=$CLEARING_HOME/settings/xml-importer/"
|
||||||
|
|
||||||
|
$CMD >/dev/null 2>&1 &
|
||||||
|
|
||||||
Loading…
Add table
Reference in a new issue