Skip to content

Commit

Permalink
added a flag to switch between jython and python in conf file of CLI …
Browse files Browse the repository at this point in the history
…& builder. Upated the version of cloudslang (#1307)

* added a flag in conf file and packaged python-3 along with cslang-cli

* Removed the python from cli zip file. python.path system property is configurable.

* updated the cslang version to 2.0.0

* updated the cslang-builder to have external python while running tests.

* Updating the score version as in master.
  • Loading branch information
praveenkumar-aa authored Jun 15, 2021
1 parent 7dbfeaf commit 7eb99df
Show file tree
Hide file tree
Showing 15 changed files with 18 additions and 16 deletions.
2 changes: 1 addition & 1 deletion cloudslang-all/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ http://www.apache.org/licenses/LICENSE-2.0
<parent>
<artifactId>cloudslang</artifactId>
<groupId>io.cloudslang.lang</groupId>
<version>1.0.262-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion cloudslang-api-commons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<artifactId>cloudslang</artifactId>
<groupId>io.cloudslang.lang</groupId>
<version>1.0.262-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
3 changes: 1 addition & 2 deletions cloudslang-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>cloudslang</artifactId>
<groupId>io.cloudslang.lang</groupId>
<version>1.0.262-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
</parent>

<artifactId>cloudslang-cli</artifactId>
Expand Down Expand Up @@ -257,7 +257,6 @@
<id>cslang</id>
</program>
</programs>
<extraJvmArguments>-Dpython.path=@BASEDIR@/python-lib</extraJvmArguments>
</configuration>
</plugin>
<plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ maven.settings.xml.path=${app.home}/maven/conf/settings.xml
maven.m2.conf.path=${app.home}/maven/conf/m2.conf
cloudslang.maven.repo.local=${app.home}/maven/repo
cloudslang.maven.repo.remote.url=http://repo1.maven.org/maven2
cloudslang.maven.plugins.remote.url=http://repo1.maven.org/maven2
cloudslang.maven.plugins.remote.url=http://repo1.maven.org/maven2
use.jython.expressions=true
#python.path=provide the python 3.8.7 path here
2 changes: 1 addition & 1 deletion cloudslang-commons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<artifactId>cloudslang</artifactId>
<groupId>io.cloudslang.lang</groupId>
<version>1.0.262-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion cloudslang-compiler/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<artifactId>cloudslang</artifactId>
<groupId>io.cloudslang.lang</groupId>
<version>1.0.262-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion cloudslang-content-maven-compiler/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<artifactId>cloudslang</artifactId>
<groupId>io.cloudslang.lang</groupId>
<version>1.0.262-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
3 changes: 1 addition & 2 deletions cloudslang-content-verifier/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<artifactId>cloudslang</artifactId>
<groupId>io.cloudslang.lang</groupId>
<version>1.0.262-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
</parent>

<artifactId>cloudslang-content-verifier</artifactId>
Expand Down Expand Up @@ -199,7 +199,6 @@
<id>cslang-builder</id>
</program>
</programs>
<extraJvmArguments>-Dpython.path=@BASEDIR@/python-lib</extraJvmArguments>
</configuration>
</plugin>
<plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ cloudslang.maven.repo.local=${app.home}/maven/repo
cloudslang.maven.repo.remote.url=http://repo1.maven.org/maven2
cloudslang.maven.plugins.remote.url=http://repo1.maven.org/maven2
cloudslang.test.case.report.location=${app.home}/report
use.jython.expressions=true
#python.path=provide the python 3.8.7 path here
2 changes: 1 addition & 1 deletion cloudslang-enforcer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<artifactId>cloudslang</artifactId>
<groupId>io.cloudslang.lang</groupId>
<version>1.0.262-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion cloudslang-entities/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<parent>
<artifactId>cloudslang</artifactId>
<groupId>io.cloudslang.lang</groupId>
<version>1.0.262-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
</parent>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion cloudslang-runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<artifactId>cloudslang</artifactId>
<groupId>io.cloudslang.lang</groupId>
<version>1.0.262-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion cloudslang-spi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<artifactId>cloudslang</artifactId>
<groupId>io.cloudslang.lang</groupId>
<version>1.0.262-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion cloudslang-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<parent>
<artifactId>cloudslang</artifactId>
<groupId>io.cloudslang.lang</groupId>
<version>1.0.262-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
-->
<groupId>io.cloudslang.lang</groupId>
<artifactId>cloudslang</artifactId>
<version>1.0.262-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
<packaging>pom</packaging>

<name>${project.groupId}:${project.artifactId}</name>
Expand Down

0 comments on commit 7eb99df

Please sign in to comment.