Skip to content

Commit

Permalink
Add changes for wso2/api-manager#2943
Browse files Browse the repository at this point in the history
  • Loading branch information
YasasRangika committed Jul 8, 2024
1 parent a43fa7b commit 677f18c
Show file tree
Hide file tree
Showing 8 changed files with 57 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
org.wso2.carbon.base;version="${imp.pkg.version.org.wso2.carbon.base}",
org.wso2.carbon.context;version="${carbon.platform.package.import.version.range}",
org.wso2.carbon.apimgt.eventing.*;version="${carbon.apimgt.version}",
org.wso2.carbon.event.output.adapter.core.*;version="${carbon.analytics.common.version}",
*;resolution:=optional
</Import-Package>
</instructions>
Expand Down
11 changes: 10 additions & 1 deletion components/apimgt/org.wso2.carbon.apimgt.impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,6 @@
javax.servlet;version="${javax.servlet.imp.pkg.version}",
javax.servlet.http;version="${javax.servlet.imp.pkg.version}",
javax.servlet.resources;version="${javax.servlet.imp.pkg.version}",
org.eclipse.equinox.http.helper,
com.google.gson,
com.amazonaws.*; version="${com.amazonaws.version}",
org.apache.axis2.*; version="${imp.pkg.version.axis2}",
Expand Down Expand Up @@ -639,6 +638,16 @@
*;resolution:=optional
</Import-Package>
<DynamicImport-Package>*</DynamicImport-Package>
<Provide-Capability>
osgi.service;objectClass=org.wso2.carbon.apimgt.eventing.EventPublisherFactory,
osgi.service;objectClass=org.wso2.carbon.apimgt.impl.APIManagerConfigurationService,
osgi.service;objectClass=org.wso2.carbon.event.output.adapter.core.OutputEventAdapterService,
osgi.service;objectClass=org.wso2.carbon.identity.oauth.config.OAuthServerConfiguration,
osgi.service;objectClass=org.wso2.carbon.registry.indexing.service.TenantIndexingLoader,
osgi.service;objectClass=org.wso2.carbon.registry.core.service.RegistryService,
osgi.service;objectClass=org.wso2.carbon.registry.core.service.TenantRegistryLoader,
osgi.service;objectClass=org.wso2.carbon.user.core.service.RealmService
</Provide-Capability>
</instructions>
</configuration>
</plugin>
Expand Down
4 changes: 4 additions & 0 deletions components/apimgt/org.wso2.carbon.apimgt.notification/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@
*;resolution:=optional
</Import-Package>
<DynamicImport-Package>*</DynamicImport-Package>
<Provide-Capability>
osgi.service;objectClass=org.wso2.carbon.event.stream.core.EventStreamService,
osgi.service;objectClass=org.wso2.carbon.apimgt.impl.APIManagerConfigurationService
</Provide-Capability>
</instructions>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@
version="${carbon.apimgt.version}"
</Export-Package>
<Import-Package>
org.wso2.carbon.event.output.adapter.core.*; version="${carbon.analytics.common.version}",
org.apache.commons.*,
org.apache.http.*,
org.wso2.carbon.apimgt.impl; version="${carbon.apimgt.version}",
Expand Down
7 changes: 7 additions & 0 deletions components/apimgt/org.wso2.carbon.apimgt.persistence/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@
org.apache.cxf.jaxrs.ext.multipart.* version="${cxf.version}"
</Import-Package>
<DynamicImport-Package>*</DynamicImport-Package>
<Provide-Capability>
osgi.service;objectClass=org.wso2.carbon.registry.core.service.RegistryService,
osgi.service;objectClass=org.wso2.carbon.user.core.service.RealmService,
osgi.service;objectClass=org.wso2.carbon.registry.core.service.TenantRegistryLoader,
osgi.service;objectClass=org.wso2.carbon.registry.indexing.service.TenantIndexingLoader,
osgi.service;objectClass=org.wso2.carbon.utils.ConfigurationContextService
</Provide-Capability>
</instructions>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1330,6 +1330,18 @@ paths:
Retrieves all existing deny policies.
parameters:
- $ref: '#/components/parameters/Accept'
- name: query
in: query
description: |
**Search condition**.
You can search in attributes by using **"conditionType:"** modifier and **"conditionValue:"** modifier.
Eg.
The entry "conditionType:API" will result in a match with blocking conditions only if the conditionType is "API". Similarly, "conditionValue:test/1.0.0" will result in a match with blocking conditions only if the conditionValue is "test/1.0.0".
When you use "conditionType:API & conditionValue:test/1.0.0" as a combination, it will result in a match with blocking conditions only if both the conditionType is "API" and the conditionValue is "test/1.0.0".
If query attribute is provided, this returns the blocking conditions that match the specified attributes.
Please note that you need to use encoded URL (URL encoding) if you are using a client which does not support URL encoding (such as curl)
schema:
type: string
responses:
200:
description: |
Expand Down
6 changes: 5 additions & 1 deletion features/apimgt/org.wso2.carbon.apimgt.core.feature/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@
<groupId>org.apache.httpcomponents.wso2</groupId>
<artifactId>httpcore</artifactId>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.service.component</artifactId>
<version>1.5.1</version>
</dependency>
</dependencies>
<build>
<plugins>
Expand Down Expand Up @@ -224,7 +229,6 @@
</adviceFile>
<bundles>
<bundleDef>org.apache.velocity:velocity-engine-core:${velocity.version}</bundleDef>
<bundleDef>org.slf4j:slf4j-api:${slf4j.api.version}</bundleDef>
<bundleDef>io.github.openfeign:feign-core:${openfeign.version}</bundleDef>
<bundleDef>io.github.openfeign:feign-gson:${openfeign.version}</bundleDef>
<bundleDef>io.github.openfeign:feign-okhttp:${openfeign.version}</bundleDef>
Expand Down
38 changes: 19 additions & 19 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<source>1.8</source>
<source>17</source>
</configuration>
<executions>
<execution>
Expand Down Expand Up @@ -2015,23 +2015,23 @@
<carbon.apimgt.version>9.29.160-SNAPSHOT</carbon.apimgt.version>
<carbon.apimgt.imp.pkg.version>[9.0.0, 10.0.0)</carbon.apimgt.imp.pkg.version>

<carbon.analytics.common.version>5.3.11</carbon.analytics.common.version>
<carbon.analytics.common.version>5.3.14-SNAPSHOT</carbon.analytics.common.version>
<!-- Carbon kernel version -->
<carbon.kernel.version>4.9.26</carbon.kernel.version>
<carbon.kernel.version>4.9.27-SNAPSHOT</carbon.kernel.version>
<carbon.kernel.feature.version>${carbon.kernel.version}</carbon.kernel.feature.version>
<carbon.kernel.package.import.version.range>[4.5.0, 5.0.0)</carbon.kernel.package.import.version.range>

<carbon.commons.version>4.9.11</carbon.commons.version>
<carbon.commons.version>4.9.12-SNAPSHOT</carbon.commons.version>

<carbon.registry.version>4.8.32</carbon.registry.version>
<carbon.mediation.version>4.7.204</carbon.mediation.version>
<carbon.registry.version>4.8.36-SNAPSHOT</carbon.registry.version>
<carbon.mediation.version>4.7.210-SNAPSHOT</carbon.mediation.version>

<mongodb.driver.version>4.1.0</mongodb.driver.version>

<!-- Carbon Identity versions -->
<carbon.identity.version>5.25.705</carbon.identity.version>
<carbon.identity.version>5.25.707-SNAPSHOT</carbon.identity.version>
<carbon.identity.governance.version>1.8.107</carbon.identity.governance.version>
<carbon.identity-inbound-auth-oauth.version>6.13.16</carbon.identity-inbound-auth-oauth.version>
<carbon.identity-inbound-auth-oauth.version>6.13.18-SNAPSHOT</carbon.identity-inbound-auth-oauth.version>
<carbon.identity-oauth2-grant-jwt.version>2.2.4</carbon.identity-oauth2-grant-jwt.version>
<carbon.identity-user-ws.version>5.7.5</carbon.identity-user-ws.version>
<carbon.identity-data-publisher-application-authentication.version>5.6.8</carbon.identity-data-publisher-application-authentication.version>
Expand All @@ -2043,7 +2043,7 @@
<graphql.java.version>19.6.wso2v1</graphql.java.version>
<graphql.java.version.range>[19.0,20.0)</graphql.java.version.range>

<carbon.governance.version>4.8.33</carbon.governance.version>
<carbon.governance.version>4.8.34-SNAPSHOT</carbon.governance.version>
<carbon.deployment.version>4.11.14</carbon.deployment.version>
<carbon.multitenancy.version>4.9.27</carbon.multitenancy.version>
<wso2-uri-templates.version>1.6.5</wso2-uri-templates.version>
Expand All @@ -2055,7 +2055,7 @@

<!-- Carbon Identity import version ranges -->
<carbon.identity.imp.pkg.version>[5.14.0, 6.0.0)</carbon.identity.imp.pkg.version>
<carbon.identity.recovery.pkg.version>[1.6.0, 1.9.0)</carbon.identity.recovery.pkg.version>
<carbon.identity.recovery.pkg.version>[1.6.0, 3.0.0)</carbon.identity.recovery.pkg.version>
<carbon.identity-inbound-auth-oauth.imp.pkg.version>[6.0.0, 7.0.0)
</carbon.identity-inbound-auth-oauth.imp.pkg.version>
<carbon.identity-user-ws.imp.pkg.version>[5.3.0, 6.0.0)</carbon.identity-user-ws.imp.pkg.version>
Expand All @@ -2073,14 +2073,14 @@
<wsdl4j.version.range>[1.6.3.wso2v3, 1.7.0)</wsdl4j.version.range>

<!-- P2 Plugin Version -->
<carbon.p2.plugin.version>1.5.3</carbon.p2.plugin.version>
<carbon.p2.plugin.version>5.2.50-SNAPSHOT</carbon.p2.plugin.version>

<maven-bundle-plugin.version>3.2.0</maven-bundle-plugin.version>
<build-helper-maven-plugin.version>1.9.1</build-helper-maven-plugin.version>
<axis2-java2wsdl-maven-plugin.version>1.6.3</axis2-java2wsdl-maven-plugin.version>

<!-- Axis2 Version -->
<axis2.wso2.version>1.6.1-wso2v98</axis2.wso2.version>
<axis2.wso2.version>1.6.1-wso2v98-SNAPSHOT</axis2.wso2.version>
<axis2.osgi.version.range>[1.6.1, 1.7.0)</axis2.osgi.version.range>

<!-- Apache Axiom -->
Expand All @@ -2092,14 +2092,14 @@

<!-- Servlet API -->
<exp.pkg.version.javax.servlet>2.6.0</exp.pkg.version.javax.servlet>
<imp.pkg.version.javax.servlet>[2.6.0, 3.0.0)</imp.pkg.version.javax.servlet>
<javax.servlet.imp.pkg.version>[2.6.0, 3.0.0)</javax.servlet.imp.pkg.version>
<imp.pkg.version.javax.servlet>[2.6.0, 5.0.0)</imp.pkg.version.javax.servlet>
<javax.servlet.imp.pkg.version>[2.6.0, 5.0.0)</javax.servlet.imp.pkg.version>

<!-- Jaggery Version -->
<jaggery.version>0.14.13</jaggery.version>

<!-- OSGi -->
<imp.package.version.osgi.service>[1.2.0,1.3.0)</imp.package.version.osgi.service>
<imp.package.version.osgi.service>[1.2.0,2.0.0)</imp.package.version.osgi.service>
<imp.package.version.osgi.util>[1.2.0,2.0.0)</imp.package.version.osgi.util>
<imp.package.version.osgi.framework>[1.6.0, 2.0.0)</imp.package.version.osgi.framework>

Expand Down Expand Up @@ -2143,8 +2143,8 @@
<com.nimbusds.wso2.version>9.37.3.wso2v1</com.nimbusds.wso2.version>
<json-smart.version>2.5.0</json-smart.version>
<org.apache.velocity.version>2.3</org.apache.velocity.version>
<org.slf4j.version>2.0.12</org.slf4j.version>
<slf4j.api.version>2.0.12</slf4j.api.version>
<org.slf4j.version>2.0.13</org.slf4j.version>
<slf4j.api.version>2.0.13</slf4j.api.version>
<spring-web.version>5.3.23</spring-web.version>
<hibernate-validator.version>6.0.23.Final</hibernate-validator.version>
<swagger-jaxrs.version>1.6.1</swagger-jaxrs.version>
Expand Down Expand Up @@ -2172,7 +2172,7 @@
<cxf.version>3.6.3</cxf.version>
<carbon.metrics.version>1.3.12</carbon.metrics.version>
<!-- apache pdfbox version -->
<event.processor.version>2.3.10</event.processor.version>
<event.processor.version>2.3.13-SNAPSHOT</event.processor.version>
<pdfbox.version>3.0.1</pdfbox.version>
<pdfbox.io.version>3.0.1.wso2v1</pdfbox.io.version>
<swagger.inflector.version>1.0.16.wso2v1</swagger.inflector.version>
Expand All @@ -2194,7 +2194,7 @@
<waffle-jna.version>1.6.wso2v7</waffle-jna.version>
<version.snake.yaml>2.2</version.snake.yaml>
<wsdl4j.version>1.6.3.wso2v3</wsdl4j.version>
<slf4j.test.version>2.0.12</slf4j.test.version>
<slf4j.test.version>2.0.13</slf4j.test.version>
<reflection.version>0.9.11</reflection.version>
<jacoco.version>0.8.4</jacoco.version>
<xml-apis.version>1.4.01</xml-apis.version>
Expand Down

0 comments on commit 677f18c

Please sign in to comment.