Skip to content

Commit 49d4d35

Browse files
Merge branch 'main' into fix/devportal-overview
2 parents 665b4eb + 293d9e6 commit 49d4d35

File tree

234 files changed

+18977
-6048
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

234 files changed

+18977
-6048
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
with:
3131
node-version: '22'
3232
- name: Cache Maven packages
33-
uses: actions/cache@v2
33+
uses: actions/cache@v3
3434
with:
3535
path: ~/.m2
3636
key: ${{ runner.os }}-m2

.github/workflows/ui-test.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ jobs:
3030
with:
3131
java-version: 11.0.19+7
3232
distribution: 'temurin'
33-
- uses: actions/setup-node@v1
33+
- uses: actions/setup-node@v4
3434
with:
35-
node-version: '16'
35+
node-version: '22'
3636
- name: Cache maven packages
3737
uses: actions/cache@v2
3838
with:
@@ -53,39 +53,42 @@ jobs:
5353
ref: refs/heads/master
5454
path: product-apim
5555
- name: Build Product-Apim with Maven
56-
run: mvn clean install -Dcarbon.apimgt.ui.version=$(cat ../APIM_APPS_VERSION_FILE) -fae --file product-apim/pom.xml -DskipBenchMarkTest=true -DskipIntegrationTests=true
56+
run: mvn clean install -Dcarbon.apimgt.ui.version=$(cat ../APIM_APPS_VERSION_FILE) -fae --file product-apim/all-in-one-apim/pom.xml -DskipBenchMarkTest=true -DskipIntegrationTests=true
5757
- name: Get product.version
58-
run: mvn help:evaluate -Dexpression=project.version -q --file product-apim/pom.xml -DforceStdout > ../PRODUCT_APIM_VERSION_FILE
58+
run: mvn help:evaluate -Dexpression=project.version -q --file product-apim/all-in-one-apim/pom.xml -DforceStdout > ../PRODUCT_APIM_VERSION_FILE
5959
- name: Print product.apim.version
6060
run: |
6161
echo $(cat ../PRODUCT_APIM_VERSION_FILE)
6262
- name: start APIM server
6363
run: |
64-
unzip product-apim/modules/distribution/product/target/wso2am-$(cat ../PRODUCT_APIM_VERSION_FILE).zip
64+
unzip product-apim/all-in-one-apim/modules/distribution/product/target/wso2am-$(cat ../PRODUCT_APIM_VERSION_FILE).zip
6565
printf "\n[apim.devportal]\nenable_application_sharing = true\napplication_sharing_type = \"default\"\n" >> wso2am-$(cat ../PRODUCT_APIM_VERSION_FILE)/repository/conf/deployment.toml
6666
sh wso2am-$(cat ../PRODUCT_APIM_VERSION_FILE)/bin/api-manager.sh start
6767
sleep 5m # sleep for 5 min to start the server
6868
nc -zv localhost 9443
69+
- uses: actions/setup-node@v4
70+
with:
71+
node-version: '18'
6972
- name: Cypress run
7073
uses: cypress-io/github-action@v4
7174
with:
7275
record: false
7376
working-directory: 'apim-apps/tests'
7477
spec: '**/*.spec.js'
7578
- name: Upload ScreenShots
76-
uses: actions/upload-artifact@v2
79+
uses: actions/upload-artifact@v4
7780
if: failure()
7881
with:
7982
name: cypress-screenshots
8083
path: apim-apps/tests/cypress/screenshots
8184
- name: Upload videos
82-
uses: actions/upload-artifact@v2
85+
uses: actions/upload-artifact@v4
8386
if: always()
8487
with:
8588
name: cypress-videos
8689
path: apim-apps/tests/cypress/videos
8790
- name: Upload Logs
88-
uses: actions/upload-artifact@v2
91+
uses: actions/upload-artifact@v4
8992
if: always()
9093
with:
9194
name: server-logs

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<groupId>org.wso2.carbon.apimgt.ui</groupId>
77
<artifactId>apim.ui.apps</artifactId>
88
<packaging>pom</packaging>
9-
<version>9.2.16-SNAPSHOT</version>
9+
<version>9.2.86-SNAPSHOT</version>
1010
<name>WSO2 API Manager UI - Parent</name>
1111
<url>https://wso2.org</url>
1212

portals/admin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>org.wso2.carbon.apimgt.ui</groupId>
2222
<artifactId>apim.ui.apps</artifactId>
23-
<version>9.2.16-SNAPSHOT</version>
23+
<version>9.2.86-SNAPSHOT</version>
2424
<relativePath>../../pom.xml</relativePath>
2525
</parent>
2626

portals/admin/src/main/webapp/.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ module.exports = {
2323
jsx: true,
2424
modules: true,
2525
},
26+
requireConfigFile: false,
2627
babelOptions: {
2728
presets: ['@babel/preset-react', '@babel/preset-typescript'],
2829
},

portals/admin/src/main/webapp/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"scripts": {
1111
"test:ci": "echo To be implemented",
1212
"test:coverage": "jest --coverage",
13-
"build:prod": "rm -R site/public/dist/; npm run i18n:en && npm run i18n:fr && NODE_ENV=production NODE_OPTIONS=--max_old_space_size=4096 webpack --mode production --stats=errors-only",
14-
"build:dev": "NODE_ENV=development; npm run i18n:en && rimraf site/public/dist/ && webpack --mode development --watch",
13+
"build:prod": "rimraf site/public/dist/ && npm run i18n:en && npm run i18n:fr && NODE_ENV=production NODE_OPTIONS=--max_old_space_size=4096 webpack --mode production --stats=errors-only",
14+
"build:dev": "NODE_ENV=development && npm run i18n:en && rimraf site/public/dist/ && webpack --mode development --watch",
1515
"analysis": "NODE_ENV=analysis NODE_OPTIONS=--max_old_space_size=8172 webpack --mode production --progress",
1616
"lint": "eslint --ignore-pattern '*.test.js' --ignore-pattern '*.test.jsx' --quiet -c .eslintrc.js --ext .jsx,.js source",
1717
"i18n": "extract-messages -l=en,fr -o site/public/locales/ -d en --extractFromFormatMessageCall --flat 'source/src/app/**/*.jsx'",

portals/admin/src/main/webapp/site/public/conf/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
"timeout": 2000
2121
},
2222
"logoutSessionStateAppender" : "OIDC" ,
23-
"docUrl": "https://apim.docs.wso2.com/en/4.4.0/"
23+
"docUrl": "https://apim.docs.wso2.com/en/4.5.0/"
2424
}
2525
}

0 commit comments

Comments
 (0)