Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix changes #1720

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
- jsonPath: .spec.apiVersion
name: Version
type: string
- jsonPath: .spec.BasePath
- jsonPath: .spec.basePath
name: BasePath
type: string
- jsonPath: .spec.organization
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
- jsonPath: .spec.apiVersion
name: Version
type: string
- jsonPath: .spec.BasePath
- jsonPath: .spec.basePath
name: BasePath
type: string
- jsonPath: .spec.organization
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public static String generateAndRetrieveJWTToken(AbstractAPIMgtGatewayJWTGenerat
try {
Object token =
CacheProviderUtil.getOrganizationCache(organization).getGatewayJWTTokenCache().get(jwtTokenCacheKey);
if (!JWTConstants.UNAVAILABLE.equals(token)) {
if (token != null || !JWTConstants.UNAVAILABLE.equals(token)) {
endUserToken = (String) token;
String[] splitToken = endUserToken.split("\\.");
if (splitToken.length != 3) {
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/crds/dp.wso2.com_apis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spec:
- jsonPath: .spec.apiVersion
name: Version
type: string
- jsonPath: .spec.BasePath
- jsonPath: .spec.basePath
name: BasePath
type: string
- jsonPath: .spec.organization
Expand Down
Loading