Skip to content

Commit

Permalink
Bump REST API minor version for 4.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Lakith-Rambukkanage committed Feb 7, 2024
1 parent e6045f5 commit db009ef
Show file tree
Hide file tree
Showing 17 changed files with 52 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1290,8 +1290,8 @@
"type" : "string",
"example" : "EXCHANGED",
"description" : "The type of the tokens to be used (exchanged or without exchanged). Accepted values are EXCHANGED, DIRECT or BOTH.",
"enum" : [ "EXCHANGED", "DIRECT", "BOTH" ],
"default" : "DIRECT"
"default" : "DIRECT",
"enum" : [ "EXCHANGED", "DIRECT", "BOTH" ]
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5291,4 +5291,4 @@ components:
apim:scope_manage: Manage system scopes
apim:role_manage: Manage system roles
apim:admin_application_view: View Applications
apim:keymanagers_manage: Manage Key Managers
apim:keymanagers_manage: Manage Key Managers
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@

<bean id="URLValidationInterceptor" class="org.wso2.carbon.apimgt.rest.api.util.interceptors.URLValidationInterceptor">
<property name="majorVersion" value="v4" />
<property name="latestVersion" value="v4.0" />
<property name="latestVersion" value="v4.1" />
</bean>
<bean id="PreAuthenticationInterceptor" class="org.wso2.carbon.apimgt.rest.api.util.interceptors.PreAuthenticationInterceptor" />
<bean id="TokenMergeInterceptor" class="org.wso2.carbon.apimgt.rest.api.util.interceptors.auth.TokenMergeInterceptor" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@
<goal>copy-resources</goal>
</goals>
<configuration>
<overwrite>true</overwrite>
<outputDirectory>src/main/resources/</outputDirectory>
<resources>
<resource>
Expand All @@ -177,6 +178,7 @@
<goal>copy-resources</goal>
</goals>
<configuration>
<overwrite>true</overwrite>
<outputDirectory>src/main/resources/</outputDirectory>
<resources>
<resource>
Expand All @@ -197,6 +199,7 @@
<goal>copy-resources</goal>
</goals>
<configuration>
<overwrite>true</overwrite>
<outputDirectory>src/main/resources/</outputDirectory>
<resources>
<resource>
Expand All @@ -217,6 +220,7 @@
<goal>copy-resources</goal>
</goals>
<configuration>
<overwrite>true</overwrite>
<outputDirectory>src/main/resources/</outputDirectory>
<resources>
<resource>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1957,6 +1957,7 @@ paths:
- AM_APPLICATION_DELETION
- AM_API_STATE
- AM_API_PRODUCT_STATE
- AM_REVISION_DEPLOYMENT
responses:
200:
description: |
Expand Down Expand Up @@ -3432,6 +3433,8 @@ components:
properties:
defaultLimit:
$ref: '#/components/schemas/ThrottleLimit'
burstLimit:
$ref: '#/components/schemas/BurstLimit'
ApplicationThrottlePolicyList:
title: Application Level Throttling Policy List
type: object
Expand Down Expand Up @@ -3756,6 +3759,18 @@ components:
$ref: '#/components/schemas/BandwidthLimit'
eventCount:
$ref: '#/components/schemas/EventCountLimit'
BurstLimit:
title: Burst Limit object
type: object
properties:
rateLimitCount:
type: integer
description: Burst control request count
example: 10
rateLimitTimeUnit:
type: string
description: Burst control time unit
example: min
MonetizationInfo:
title: API monetization details object
required:
Expand Down Expand Up @@ -4524,6 +4539,22 @@ components:
self_validate_jwt: true
Username: admin
Password: admin
permissions:
type: object
properties:
permissionType:
type: string
example: ALLOW
default: PUBLIC
enum:
- PUBLIC
- ALLOW
- DENY
roles:
type: array
items:
type: string
example: Internal/subscriber
tokenType:
type: string
description: The type of the tokens to be used (exchanged or without exchanged).
Expand Down Expand Up @@ -4773,6 +4804,7 @@ components:
- API_PRODUCT_STATE
- SUBSCRIPTION_DELETION
- SUBSCRIPTION_UPDATE
- REVISION_DEPLOYMENT
workflowStatus:
type: string
description: |
Expand Down Expand Up @@ -5259,4 +5291,4 @@ components:
apim:scope_manage: Manage system scopes
apim:role_manage: Manage system roles
apim:admin_application_view: View Applications
apim:keymanagers_manage: Manage Key Managers
apim:keymanagers_manage: Manage Key Managers
Original file line number Diff line number Diff line change
Expand Up @@ -6102,4 +6102,4 @@ components:
apim:store_settings: Retrieve Developer Portal settings
apim:sub_alert_manage: Retrieve, subscribe and configure Developer Portal alert types
apim:app_import_export: Import and export applications related operations
apim:admin: Manage all admin operations
apim:admin: Manage all admin operations
Original file line number Diff line number Diff line change
Expand Up @@ -8943,7 +8943,6 @@ components:
readOnly: true
example: 01234567-0123-0123-0123-012345678901
name:
maxLength: 60
minLength: 1
pattern: '(^[^~!@#;:%^*()+={}|\\<>"'',&$\[\]\/]*$)'
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ info:
Navigate through the API descriptions to find the required API, obtain an access token as described above and invoke the API with the authentication header.
If you use a different authentication mechanism, this process may change.
version: '1.1'
version: '1.2'
servers:
- url: 'https://apis.wso2.com/api/service-catalog/v1'
- url: 'http://apis.wso2.com/api/service-catalog/v1'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ swagger: '2.0'
# Prolog
######################################################
info:
version: "v2.2"
version: "v2.3"
title: "WSO2 API Manager - Gateway"
description: |
This document specifies a **RESTful API** for WSO2 **API Manager** - Gateway.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

<bean id="URLValidationInterceptor" class="org.wso2.carbon.apimgt.rest.api.util.interceptors.URLValidationInterceptor">
<property name="majorVersion" value="v2" />
<property name="latestVersion" value="v2.2" />
<property name="latestVersion" value="v2.3" />
</bean>
<bean id="PreAuthenticationInterceptor" class="org.wso2.carbon.apimgt.rest.api.util.interceptors.PreAuthenticationInterceptor" />
<bean id="TokenMergeInterceptor" class="org.wso2.carbon.apimgt.rest.api.util.interceptors.auth.TokenMergeInterceptor" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"swagger" : "2.0",
"info" : {
"description" : "This document specifies a **RESTful API** for WSO2 **API Manager** - Gateway.\nPlease see [full swagger definition](https://raw.githubusercontent.com/wso2/carbon-apimgt/master/components/apimgt/org.wso2.carbon.apimgt.rest.api.gateway/src/main/resources/gateway-api.yaml) of the API which is written using [swagger 2.0](http://swagger.io/) specification.\n",
"version" : "v2.2",
"version" : "v2.3",
"title" : "WSO2 API Manager - Gateway",
"contact" : {
"name" : "WSO2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

<bean id="URLValidationInterceptor" class="org.wso2.carbon.apimgt.rest.api.util.interceptors.URLValidationInterceptor">
<property name="majorVersion" value="v4" />
<property name="latestVersion" value="v4.0" />
<property name="latestVersion" value="v4.1" />
</bean>
<bean id="PreAuthenticationInterceptor" class="org.wso2.carbon.apimgt.rest.api.util.interceptors.PreAuthenticationInterceptor" />
<bean id="TokenMergeInterceptor" class="org.wso2.carbon.apimgt.rest.api.util.interceptors.auth.TokenMergeInterceptor" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ info:
Navigate through the API descriptions to find the required API, obtain an access token as described above and invoke the API with the authentication header.
If you use a different authentication mechanism, this process may change.
version: '1.1'
version: '1.2'
servers:
- url: 'https://apis.wso2.com/api/service-catalog/v1'
- url: 'http://apis.wso2.com/api/service-catalog/v1'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

<bean id="URLValidationInterceptor" class="org.wso2.carbon.apimgt.rest.api.util.interceptors.URLValidationInterceptor">
<property name="majorVersion" value="v1" />
<property name="latestVersion" value="v1.1" />
<property name="latestVersion" value="v1.2" />
</bean>
<bean id="PreAuthenticationInterceptor" class="org.wso2.carbon.apimgt.rest.api.util.interceptors.PreAuthenticationInterceptor" />
<bean id="TokenMergeInterceptor" class="org.wso2.carbon.apimgt.rest.api.util.interceptors.auth.TokenMergeInterceptor" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6102,4 +6102,4 @@ components:
apim:store_settings: Retrieve Developer Portal settings
apim:sub_alert_manage: Retrieve, subscribe and configure Developer Portal alert types
apim:app_import_export: Import and export applications related operations
apim:admin: Manage all admin operations
apim:admin: Manage all admin operations
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

<bean id="URLValidationInterceptor" class="org.wso2.carbon.apimgt.rest.api.util.interceptors.URLValidationInterceptor">
<property name="majorVersion" value="v3" />
<property name="latestVersion" value="v3.0" />
<property name="latestVersion" value="v3.1" />
</bean>
<bean id="PreAuthenticationInterceptor" class="org.wso2.carbon.apimgt.rest.api.util.interceptors.PreAuthenticationInterceptor" />
<bean id="AuthenticationInterceptor" class="org.wso2.carbon.apimgt.rest.api.util.interceptors.auth.OAuthAuthenticationInterceptor" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@
<ServerUrl>https://localhost:9445/bpmn</ServerUrl>
<ServerUser>${admin.username}</ServerUser>
<ServerPassword>${admin.password}</ServerPassword>
<WorkflowCallbackAPI>https://localhost:${mgt.transport.https.port}/api/am/admin/v2/workflows/update-workflow-status</WorkflowCallbackAPI>
<WorkflowCallbackAPI>https://localhost:${mgt.transport.https.port}/api/am/admin/v4/workflows/update-workflow-status</WorkflowCallbackAPI>
<TokenEndPoint>https://localhost:${https.nio.port}/token</TokenEndPoint>
<DCREndPoint>https://localhost:${mgt.transport.https.port}/client-registration/v0.17/register</DCREndPoint>
<DCREndPointUser>${admin.username}</DCREndPointUser>
Expand Down

0 comments on commit db009ef

Please sign in to comment.