From 196a2297fc035862e78ef0f579e4b768057c1e00 Mon Sep 17 00:00:00 2001 From: Naduni Pamudika Date: Sat, 22 Apr 2023 19:58:45 +0530 Subject: [PATCH] Prepare for 3.2.7 Release --- README.md | 2 +- .../src/main/resources/templates/ballerinaToml.mustache | 4 ++-- .../micro-gateway-core/src/main/ballerina/Ballerina.toml | 4 ++-- .../main/ballerina/src/gateway/constants/constants.bal | 2 +- .../main/java/org/wso2/micro/gateway/core/Constants.java | 2 +- .../core/jwt/generator/MGWJWTGeneratorInvoker.java | 2 +- distribution/LICENSE-RUNTIME.txt | 2 +- distribution/LICENSE-TOOLKIT.txt | 8 ++++---- distribution/resources/bin/gateway | 2 +- distribution/resources/version.txt | 2 +- release-notes.html | 8 ++++---- samples/sample-jwt-generator/pom.xml | 2 +- 12 files changed, 20 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index d55d0d38fc..10d913146b 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ Let's expose the publicly available [petstore service](https://petstore.swagger. Docker ```bash - micro-gw build petstore --docker-image petstore:v1 --docker-base-image wso2/wso2micro-gw:3.2.6 + micro-gw build petstore --docker-image petstore:v1 --docker-base-image wso2/wso2micro-gw:3.2.7 ``` diff --git a/components/micro-gateway-cli/src/main/resources/templates/ballerinaToml.mustache b/components/micro-gateway-cli/src/main/resources/templates/ballerinaToml.mustache index 6c05692e80..9b802b2397 100644 --- a/components/micro-gateway-cli/src/main/resources/templates/ballerinaToml.mustache +++ b/components/micro-gateway-cli/src/main/resources/templates/ballerinaToml.mustache @@ -1,9 +1,9 @@ [project] org-name= "wso2" -version= "3.2.6" +version= "3.2.7" [dependencies] -"wso2/gateway" = { path = "{{toolkitHome}}/lib/gateway-balo/gateway-2020r1-java8-3.2.6.balo"} +"wso2/gateway" = { path = "{{toolkitHome}}/lib/gateway-balo/gateway-2020r1-java8-3.2.7.balo"} {{#each dependencies}} {{{.}}} {{/each}} diff --git a/components/micro-gateway-core/src/main/ballerina/Ballerina.toml b/components/micro-gateway-core/src/main/ballerina/Ballerina.toml index 03cfab8a24..392aec0f52 100644 --- a/components/micro-gateway-core/src/main/ballerina/Ballerina.toml +++ b/components/micro-gateway-core/src/main/ballerina/Ballerina.toml @@ -1,12 +1,12 @@ [project] org-name= "wso2" -version= "3.2.6" +version= "3.2.7" [platform] target = "java8" [[platform.libraries]] - path = "../../../target/org.wso2.micro.gateway.core-3.2.6.jar" + path = "../../../target/org.wso2.micro.gateway.core-3.2.7.jar" [[platform.libraries]] path = "../../../target/lib/dependencies/org.everit.json.schema-1.5.0.wso2.v1.jar" diff --git a/components/micro-gateway-core/src/main/ballerina/src/gateway/constants/constants.bal b/components/micro-gateway-core/src/main/ballerina/src/gateway/constants/constants.bal index 4cc65e1e7d..5039ca0adf 100644 --- a/components/micro-gateway-core/src/main/ballerina/src/gateway/constants/constants.bal +++ b/components/micro-gateway-core/src/main/ballerina/src/gateway/constants/constants.bal @@ -37,7 +37,7 @@ public const string SERVICE_ANN_NAME = "ServiceConfig"; public const string API_ANN_NAME = "API"; public const string FILTER_ANN_NAME = "Filters"; public const string SKIP_FILTERS_ANN_NAME = "SkipFilters"; -public const string GATEWAY_ANN_PACKAGE = "wso2/gateway:3.2.6"; +public const string GATEWAY_ANN_PACKAGE = "wso2/gateway:3.2.7"; public const string BASIC_PREFIX_WITH_SPACE = "Basic "; public const string AUTHORIZATION_HEADER = "Authorization"; diff --git a/components/micro-gateway-core/src/main/java/org/wso2/micro/gateway/core/Constants.java b/components/micro-gateway-core/src/main/java/org/wso2/micro/gateway/core/Constants.java index 9c886fd103..98d6517b16 100644 --- a/components/micro-gateway-core/src/main/java/org/wso2/micro/gateway/core/Constants.java +++ b/components/micro-gateway-core/src/main/java/org/wso2/micro/gateway/core/Constants.java @@ -35,7 +35,7 @@ public class Constants { /** * gateway package version. */ - public static final String PACKAGE_VERSION = "3.2.6"; + public static final String PACKAGE_VERSION = "3.2.7"; public static final String GATEWAY_VERSION = "MGW_VERSION"; diff --git a/components/micro-gateway-core/src/main/java/org/wso2/micro/gateway/core/jwt/generator/MGWJWTGeneratorInvoker.java b/components/micro-gateway-core/src/main/java/org/wso2/micro/gateway/core/jwt/generator/MGWJWTGeneratorInvoker.java index 2d3b63ea22..5c2bd0e4d8 100644 --- a/components/micro-gateway-core/src/main/java/org/wso2/micro/gateway/core/jwt/generator/MGWJWTGeneratorInvoker.java +++ b/components/micro-gateway-core/src/main/java/org/wso2/micro/gateway/core/jwt/generator/MGWJWTGeneratorInvoker.java @@ -106,7 +106,7 @@ public static BMap getRetrievedClaims(BMap authC if (claimList == null) { return null; } - BPackage packageId = new BPackage("wso2", "gateway", "3.2.6"); + BPackage packageId = new BPackage("wso2", "gateway", "3.2.7"); BMap bMap = BValueCreator.createRecordValue(packageId, "RetrievedUserClaimsListDTO"); bMap.put("count", claimList.size()); BArray bArray = (BArray) bMap.get("list"); diff --git a/distribution/LICENSE-RUNTIME.txt b/distribution/LICENSE-RUNTIME.txt index 2aab91ca55..d72ab5f694 100644 --- a/distribution/LICENSE-RUNTIME.txt +++ b/distribution/LICENSE-RUNTIME.txt @@ -13,7 +13,7 @@ below is and where the actual text of the license can be found. Name Version License _________________________________________________________________________________________________________________________________________________ -org.wso2.micro.gateway.tools-3.2.6.jar bundle apache2 +org.wso2.micro.gateway.tools-3.2.7.jar bundle apache2 jmx_prometheus_javaagent-0.17.2.jar jar apache2 diff --git a/distribution/LICENSE-TOOLKIT.txt b/distribution/LICENSE-TOOLKIT.txt index 773b7bbba6..4faab8c5f4 100644 --- a/distribution/LICENSE-TOOLKIT.txt +++ b/distribution/LICENSE-TOOLKIT.txt @@ -275,17 +275,17 @@ json-smart-2.3.jar asm-1.0.2.jar jarinbundle bsd guava-27.1-jre.jar bundle apache2 jackson-core-2.10.3.jar bundle apache2 -mgw-interceptor-3.2.6.jar jar apache2 +mgw-interceptor-3.2.7.jar jar apache2 disruptor-3.4.2.wso2v1.jar bundle apache2 org.wso2.carbon.databridge.commons-6.1.45.jar bundle apache2 org.wso2.carbon.databridge.commons.binary-6.1.45.jar bundle apache2 -mgw-jwt-transformer-3.2.6.jar jar apache2 -mgw-jwt-generator-3.2.6.jar jar apache2 +mgw-jwt-transformer-3.2.7.jar jar apache2 +mgw-jwt-generator-3.2.7.jar jar apache2 andes-client-3.3.9.jar bundle apache2 org.wso2.securevault-1.1.1.jar bundle apache2 jcommander-1.72.jar bundle apache2 toml4j-0.7.2.jar jar mit -org.wso2.micro.gateway.cli-3.2.6.jar bundle apache2 +org.wso2.micro.gateway.cli-3.2.7.jar bundle apache2 core-1.0.8.jar jar apache2 slf4j-api-1.7.26.jar bundle mit slf4j-jdk14-1.7.26.jar bundle mit diff --git a/distribution/resources/bin/gateway b/distribution/resources/bin/gateway index 3fa934d436..b1258e8662 100755 --- a/distribution/resources/bin/gateway +++ b/distribution/resources/bin/gateway @@ -45,7 +45,7 @@ PRGDIR=`dirname "$PRG"` # set BALLERINA_HOME GW_HOME=`cd "$PRGDIR/.." ; pwd` -export MGW_VERSION="3.2.6" +export MGW_VERSION="3.2.7" JAVA_PATH=$GW_HOME/lib/jdk8u332-b09-jre if [ -d "$JAVA_HOME" ]; then diff --git a/distribution/resources/version.txt b/distribution/resources/version.txt index 34cde5690e..406ebcbd95 100644 --- a/distribution/resources/version.txt +++ b/distribution/resources/version.txt @@ -1 +1 @@ -3.2.6 +3.2.7 diff --git a/release-notes.html b/release-notes.html index 634ca16cdd..a7192c8a70 100644 --- a/release-notes.html +++ b/release-notes.html @@ -3,16 +3,16 @@ - WSO2 API Microgateway v3.2.6 + WSO2 API Microgateway v3.2.7 -

WSO2 API Microgateway 3.2.6 Released!

-

What's new in 3.2.6

+

WSO2 API Microgateway 3.2.7 Released!

+

What's new in 3.2.7

This is a maintenance release of API Microgateway 3.2.0. This Release include below improvements and fixes.

Bug fixes

Fixed + href="https://github.com/wso2/product-microgateway/issues?q=is%3Aissue+milestone%3A3.2.7+is%3Aclosed">Fixed Issues

Known Issues

Open diff --git a/samples/sample-jwt-generator/pom.xml b/samples/sample-jwt-generator/pom.xml index b0f820c2d6..8f768f1dd8 100644 --- a/samples/sample-jwt-generator/pom.xml +++ b/samples/sample-jwt-generator/pom.xml @@ -29,7 +29,7 @@ org.wso2.am.microgw mgw-jwt-generator - 3.2.6 + 3.2.7