Skip to content

Commit

Permalink
Update to MP6.1 (#217)
Browse files Browse the repository at this point in the history
* update versions

* update versions
  • Loading branch information
gkwan-ibm authored Feb 14, 2024
1 parent fe2f8b9 commit a4d9bfa
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 19 deletions.
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: maven
directory: "/"
schedule:
interval: monthly
open-pull-requests-limit: 50
2 changes: 1 addition & 1 deletion finish/backendServices/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<dependency>
<groupId>org.eclipse.microprofile</groupId>
<artifactId>microprofile</artifactId>
<version>6.0</version>
<version>6.1</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
Expand Down
6 changes: 3 additions & 3 deletions finish/backendServices/src/main/liberty/config/server.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
<feature>persistence-3.1</feature>
</featureManager>

<variable name="default.http.port" defaultValue="5050" />
<variable name="default.https.port" defaultValue="5051" />
<variable name="http.port" defaultValue="5050" />
<variable name="https.port" defaultValue="5051" />

<httpEndpoint httpPort="${default.http.port}" httpsPort="${default.https.port}"
<httpEndpoint httpPort="${http.port}" httpsPort="${https.port}"
id="defaultHttpEndpoint" host="*" />

<application location="backendServices.war" type="war" context-root="/"></application>
Expand Down
2 changes: 1 addition & 1 deletion finish/frontendUI/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<dependency>
<groupId>org.eclipse.microprofile</groupId>
<artifactId>microprofile</artifactId>
<version>6.0</version>
<version>6.1</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
Expand Down
8 changes: 4 additions & 4 deletions finish/frontendUI/src/main/liberty/config/server.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
<feature>jsonp-2.1</feature>
<feature>cdi-4.0</feature>
<feature>faces-4.0</feature>
<feature>mpConfig-3.0</feature>
<feature>mpConfig-3.1</feature>
<feature>mpRestClient-3.0</feature>
</featureManager>

<variable name="default.http.port" defaultValue="9090"/>
<variable name="default.https.port" defaultValue="9091"/>
<variable name="http.port" defaultValue="9090"/>
<variable name="https.port" defaultValue="9091"/>

<httpEndpoint httpPort="${default.http.port}" httpsPort="${default.https.port}"
<httpEndpoint httpPort="${http.port}" httpsPort="${https.port}"
id="defaultHttpEndpoint" host="*" />

<application location="frontendUI.war" context-root="/">
Expand Down
2 changes: 1 addition & 1 deletion scripts/dailyBuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ fi
sed -i "\#<artifactId>liberty-maven-plugin</artifactId>#a<configuration><install><runtimeUrl>https://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/runtime/nightly/$DATE/$DRIVER</runtimeUrl></install></configuration>" frontendUI/pom.xml
cat frontendUI/pom.xml

sed -i "\#<artifactId>liberty-maven-plugin</artifactId>#,\#<configuration>#c<artifactId>liberty-maven-plugin</artifactId><version>3.7.1</version><configuration><install><runtimeUrl>https://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/runtime/nightly/$DATE/$DRIVER</runtimeUrl></install>" backendServices/pom.xml
sed -i "\#<artifactId>liberty-maven-plugin</artifactId>#,\#<configuration>#c<artifactId>liberty-maven-plugin</artifactId><version>3.10</version><configuration><install><runtimeUrl>https://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/runtime/nightly/$DATE/$DRIVER</runtimeUrl></install>" backendServices/pom.xml
cat backendServices/pom.xml

../scripts/testApp.sh
2 changes: 1 addition & 1 deletion start/backendServices/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<dependency>
<groupId>org.eclipse.microprofile</groupId>
<artifactId>microprofile</artifactId>
<version>6.0</version>
<version>6.1</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
Expand Down
6 changes: 3 additions & 3 deletions start/backendServices/src/main/liberty/config/server.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
<feature>persistence-3.1</feature>
</featureManager>

<variable name="default.http.port" defaultValue="5050" />
<variable name="default.https.port" defaultValue="5051" />
<variable name="http.port" defaultValue="5050" />
<variable name="https.port" defaultValue="5051" />

<httpEndpoint httpPort="${default.http.port}" httpsPort="${default.https.port}"
<httpEndpoint httpPort="${http.port}" httpsPort="${https.port}"
id="defaultHttpEndpoint" host="*" />

<application location="backendServices.war" type="war" context-root="/"></application>
Expand Down
2 changes: 1 addition & 1 deletion start/frontendUI/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<dependency>
<groupId>org.eclipse.microprofile</groupId>
<artifactId>microprofile</artifactId>
<version>6.0</version>
<version>6.1</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
Expand Down
8 changes: 4 additions & 4 deletions start/frontendUI/src/main/liberty/config/server.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
<feature>jsonp-2.1</feature>
<feature>cdi-4.0</feature>
<feature>faces-4.0</feature>
<feature>mpConfig-3.0</feature>
<feature>mpConfig-3.1</feature>
<feature>mpRestClient-3.0</feature>
</featureManager>

<variable name="default.http.port" defaultValue="9090"/>
<variable name="default.https.port" defaultValue="9091"/>
<variable name="http.port" defaultValue="9090"/>
<variable name="https.port" defaultValue="9091"/>

<httpEndpoint httpPort="${default.http.port}" httpsPort="${default.https.port}"
<httpEndpoint httpPort="${http.port}" httpsPort="${https.port}"
id="defaultHttpEndpoint" host="*" />

<application location="frontendUI.war" context-root="/">
Expand Down

0 comments on commit a4d9bfa

Please sign in to comment.