Browse Source

Merge commit '57ecf955d19bef0cede147e8c54ca60cf5d5e908' into release/1.4.0

* commit '57ecf955d19bef0cede147e8c54ca60cf5d5e908':
  fix shell error
  modify version to 1.4.0 release, and add miss code
tags/1.4.0^2
huanghaiquan 3 years ago
parent
commit
5a87e20574
7 changed files with 52 additions and 4 deletions
  1. +1
    -1
      deploy/deploy-gateway/pom.xml
  2. +19
    -1
      deploy/deploy-peer/pom.xml
  3. +10
    -0
      deploy/deploy-peer/src/main/resources/scripts/active-parti.sh
  4. +10
    -0
      deploy/deploy-peer/src/main/resources/scripts/deactive-parti.sh
  5. +10
    -0
      deploy/deploy-peer/src/main/resources/scripts/reg-parti.sh
  6. +1
    -1
      deploy/pom.xml
  7. +1
    -1
      explorer

+ 1
- 1
deploy/deploy-gateway/pom.xml View File

@@ -5,7 +5,7 @@
<parent> <parent>
<groupId>com.jd.blockchain</groupId> <groupId>com.jd.blockchain</groupId>
<artifactId>deploy-root</artifactId> <artifactId>deploy-root</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>1.4.0.RELEASE</version>
</parent> </parent>
<artifactId>deploy-gateway</artifactId> <artifactId>deploy-gateway</artifactId>




+ 19
- 1
deploy/deploy-peer/pom.xml View File

@@ -5,7 +5,7 @@
<parent> <parent>
<groupId>com.jd.blockchain</groupId> <groupId>com.jd.blockchain</groupId>
<artifactId>deploy-root</artifactId> <artifactId>deploy-root</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>1.4.0.RELEASE</version>
</parent> </parent>
<artifactId>deploy-peer</artifactId> <artifactId>deploy-peer</artifactId>


@@ -58,6 +58,24 @@
<version>${core.version}</version> <version>${core.version}</version>
</dependency> </dependency>


<dependency>
<groupId>com.jd.blockchain</groupId>
<artifactId>tools-regparti-booter</artifactId>
<version>${core.version}</version>
</dependency>

<dependency>
<groupId>com.jd.blockchain</groupId>
<artifactId>tools-activeparti-booter</artifactId>
<version>${core.version}</version>
</dependency>

<dependency>
<groupId>com.jd.blockchain</groupId>
<artifactId>tools-deactiveparti-booter</artifactId>
<version>${core.version}</version>
</dependency>

</dependencies> </dependencies>


<build> <build>


+ 10
- 0
deploy/deploy-peer/src/main/resources/scripts/active-parti.sh View File

@@ -0,0 +1,10 @@
#!/bin/bash

HOME=$(cd `dirname $0`;cd ../; pwd)
boot_file=$(ls ../libs | grep tools-activeparti-booter-)
if [ ! -n "$boot_file" ]; then
echo "tools-activeparti-booter is null"
else
echo "active participant"
java -jar $HOME/libs/$boot_file $*
fi

+ 10
- 0
deploy/deploy-peer/src/main/resources/scripts/deactive-parti.sh View File

@@ -0,0 +1,10 @@
#!/bin/bash

HOME=$(cd `dirname $0`;cd ../; pwd)
boot_file=$(ls ../libs | grep tools-deactiveparti-booter-)
if [ ! -n "$boot_file" ]; then
echo "tools-deactiveparti-booter is null"
else
echo "deactive participant"
java -jar $HOME/libs/$boot_file $*
fi

+ 10
- 0
deploy/deploy-peer/src/main/resources/scripts/reg-parti.sh View File

@@ -0,0 +1,10 @@
#!/bin/bash

HOME=$(cd `dirname $0`;cd ../; pwd)
boot_file=$(ls ../libs | grep tools-regparti-booter-)
if [ ! -n "$boot_file" ]; then
echo "tools-regparti-booter is null"
else
echo "register new participant"
java -jar $HOME/libs/$boot_file $*
fi

+ 1
- 1
deploy/pom.xml View File

@@ -9,7 +9,7 @@
<relativePath>../project/parent</relativePath> <relativePath>../project/parent</relativePath>
</parent> </parent>
<artifactId>deploy-root</artifactId> <artifactId>deploy-root</artifactId>
<version>1.4.0-SNAPSHOT</version>
<version>1.4.0.RELEASE</version>
<packaging>pom</packaging> <packaging>pom</packaging>


<properties> <properties>


+ 1
- 1
explorer

@@ -1 +1 @@
Subproject commit f79293ab00e5ac74382d442ec5027604ee8260ea
Subproject commit 3ffc3324c9fe20307cc36c07c361daa1f5d3f11e

Loading…
Cancel
Save