mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
fixing api-mgt upgrading issues
This commit is contained in:
parent
556c82b2e8
commit
d1e058ce8e
@ -109,7 +109,7 @@ public class OAuthExtUtils {
|
||||
try {
|
||||
|
||||
Map<String, String> appScopes;
|
||||
ApiMgtDAO apiMgtDAO = new ApiMgtDAO();
|
||||
ApiMgtDAO apiMgtDAO = ApiMgtDAO.getInstance();
|
||||
|
||||
//Get all the scopes and permissions against the scopes defined for the APIs subscribed to the application.
|
||||
appScopes = apiMgtDAO.getScopeRolesOfApplication(consumerKey);
|
||||
|
||||
@ -49,6 +49,10 @@
|
||||
<artifactId>org.wso2.carbon.device.mgt.api.feature</artifactId>
|
||||
<type>zip</type>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.wso2.orbit.org.apache.pdfbox</groupId>
|
||||
<artifactId>pdfbox</artifactId>
|
||||
</dependency>
|
||||
<!--<dependency>-->
|
||||
<!--<groupId>org.wso2.carbon.commons</groupId>-->
|
||||
<!--<artifactId>org.wso2.carbon.email.verification</artifactId>-->
|
||||
@ -123,8 +127,12 @@
|
||||
<bundleDef>
|
||||
com.fasterxml.jackson.core:jackson-annotations:${jackson-annotations.version}
|
||||
</bundleDef>
|
||||
|
||||
<!-- Below should be bundled with the email verification -->
|
||||
</bundles>
|
||||
<importBundles>
|
||||
<importBundleDef>org.wso2.orbit.org.apache.pdfbox:pdfbox:${orbit.version.pdfbox}</importBundleDef>
|
||||
</importBundles>
|
||||
<importFeatures>
|
||||
<importFeatureDef>org.wso2.carbon.core.server:${carbon.kernel.version}</importFeatureDef>
|
||||
<importFeatureDef>org.wso2.carbon.apimgt.core:${carbon.api.mgt.version}</importFeatureDef>
|
||||
|
||||
@ -48,6 +48,10 @@
|
||||
<groupId>org.wso2.carbon.devicemgt</groupId>
|
||||
<artifactId>org.wso2.carbon.identity.authenticator.backend.oauth</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.wso2.carbon.apimgt</groupId>
|
||||
<artifactId>org.wso2.carbon.apimgt.keymgt.client</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
@ -80,6 +84,9 @@
|
||||
org.wso2.carbon.devicemgt:org.wso2.carbon.identity.authenticator.backend.oauth:${carbon.device.mgt.version}
|
||||
</bundleDef>
|
||||
</bundles>
|
||||
<importBundles>
|
||||
<importBundleDef>org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.keymgt.client:${carbon.api.mgt.version}</importBundleDef>
|
||||
</importBundles>
|
||||
<importFeatures>
|
||||
<importFeatureDef>org.wso2.carbon.core.server:${carbon.kernel.version}
|
||||
</importFeatureDef>
|
||||
|
||||
@ -53,6 +53,10 @@
|
||||
<groupId>org.wso2.carbon.devicemgt</groupId>
|
||||
<artifactId>org.wso2.carbon.policy.information.point</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.wso2.carbon.apimgt</groupId>
|
||||
<artifactId>org.wso2.carbon.apimgt.keymgt</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
@ -116,6 +120,9 @@
|
||||
org.wso2.carbon.devicemgt:org.wso2.carbon.policy.information.point:${carbon.device.mgt.version}
|
||||
</bundleDef>
|
||||
</bundles>
|
||||
<importBundles>
|
||||
<importBundleDef>org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.keymgt:${carbon.api.mgt.version}</importBundleDef>
|
||||
</importBundles>
|
||||
<importFeatures>
|
||||
<importFeatureDef>org.wso2.carbon.core.server:${carbon.kernel.version}
|
||||
</importFeatureDef>
|
||||
|
||||
@ -40,6 +40,14 @@
|
||||
<groupId>org.wso2.carbon.devicemgt</groupId>
|
||||
<artifactId>org.wso2.carbon.device.mgt.core</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.wso2.carbon.apimgt</groupId>
|
||||
<artifactId>org.wso2.carbon.apimgt.core</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.wso2.carbon</groupId>
|
||||
<artifactId>org.wso2.carbon.throttle.core</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
@ -93,6 +101,10 @@
|
||||
<bundleDef>org.wso2.carbon.devicemgt:org.wso2.carbon.webapp.authenticator.framework:${carbon.device.mgt.version}
|
||||
</bundleDef>
|
||||
</bundles>
|
||||
<importBundles>
|
||||
<importBundleDef>org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.core:${carbon.api.mgt.version}</importBundleDef>
|
||||
<importBundleDef>org.wso2.carbon:org.wso2.carbon.throttle.core:${carbon.throttle.module.version}</importBundleDef>
|
||||
</importBundles>
|
||||
<importFeatures>
|
||||
<importFeatureDef>org.wso2.carbon.core.server:${carbon.kernel.version}</importFeatureDef>
|
||||
<importFeatureDef>org.wso2.carbon.apimgt.core:${carbon.api.mgt.version}</importFeatureDef>
|
||||
|
||||
57
pom.xml
57
pom.xml
@ -708,7 +708,11 @@
|
||||
<artifactId>h2-database-engine</artifactId>
|
||||
<version>${orbit.version.h2.engine}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.wso2.orbit.org.owasp.encoder</groupId>
|
||||
<artifactId>encoder</artifactId>
|
||||
<version>${owasp.encoder.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.axis2.transport</groupId>
|
||||
<artifactId>axis2-transport-mail</artifactId>
|
||||
@ -738,6 +742,11 @@
|
||||
<artifactId>nimbus-jose-jwt</artifactId>
|
||||
<version>${nimbus.orbit.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.wso2.orbit.org.apache.pdfbox</groupId>
|
||||
<artifactId>pdfbox</artifactId>
|
||||
<version>${orbit.version.pdfbox}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- End of Orbit dependencies -->
|
||||
|
||||
@ -917,14 +926,14 @@
|
||||
<artifactId>org.wso2.carbon.apimgt.core</artifactId>
|
||||
<version>${carbon.api.mgt.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.wso2.carbon</groupId>
|
||||
<artifactId>org.wso2.carbon.core</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>org.wso2.carbon.apimgt</groupId>
|
||||
<artifactId>org.wso2.carbon.apimgt.keymgt.stub</artifactId>
|
||||
</exclusion>
|
||||
<!--<exclusion>-->
|
||||
<!--<groupId>org.wso2.carbon</groupId>-->
|
||||
<!--<artifactId>org.wso2.carbon.core</artifactId>-->
|
||||
<!--</exclusion>-->
|
||||
<!--<exclusion>-->
|
||||
<!--<groupId>org.wso2.carbon.apimgt</groupId>-->
|
||||
<!--<artifactId>org.wso2.carbon.apimgt.keymgt.stub</artifactId>-->
|
||||
<!--</exclusion>-->
|
||||
<exclusion>
|
||||
<groupId>org.wso2.carbon.apimgt</groupId>
|
||||
<artifactId>org.wso2.carbon.apimgt.usage.publisher</artifactId>
|
||||
@ -945,10 +954,10 @@
|
||||
<groupId>org.wso2.carbon.apimgt</groupId>
|
||||
<artifactId>org.wso2.carbon.ganalytics.publisher</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>org.wso2.carbon.apimgt</groupId>
|
||||
<artifactId>org.wso2.carbon.throttle.core</artifactId>
|
||||
</exclusion>
|
||||
<!--<exclusion>-->
|
||||
<!--<groupId>org.wso2.carbon.apimgt</groupId>-->
|
||||
<!--<artifactId>org.wso2.carbon.throttle.core</artifactId>-->
|
||||
<!--</exclusion>-->
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<!-- End of API Management dependencies -->
|
||||
@ -1502,17 +1511,21 @@
|
||||
<artifactId>jackson-annotations</artifactId>
|
||||
<version>${jackson-annotations.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.wso2.orbit.org.owasp.encoder</groupId>
|
||||
<artifactId>encoder</artifactId>
|
||||
<version>${owasp.encoder.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.hibernate</groupId>
|
||||
<artifactId>hibernate-validator</artifactId>
|
||||
<version>${hibernate-validator.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.wso2.carbon.apimgt</groupId>
|
||||
<artifactId>org.wso2.carbon.apimgt.keymgt.client</artifactId>
|
||||
<version>${carbon.api.mgt.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.wso2.carbon</groupId>
|
||||
<artifactId>org.wso2.carbon.throttle.core</artifactId>
|
||||
<version>${carbon.throttle.module.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
@ -1801,7 +1814,7 @@
|
||||
<version.commons.lang>2.6.0.wso2v1</version.commons.lang>
|
||||
|
||||
<!-- Carbon API Management -->
|
||||
<carbon.api.mgt.version>5.0.4</carbon.api.mgt.version>
|
||||
<carbon.api.mgt.version>5.0.5</carbon.api.mgt.version>
|
||||
<carbon.api.mgt.version.range>(5.0.0,6.0.0]</carbon.api.mgt.version.range>
|
||||
|
||||
<!-- Carbon Analytics Commons -->
|
||||
@ -1884,6 +1897,10 @@
|
||||
<owasp.encoder.version>1.2.0.wso2v1</owasp.encoder.version>
|
||||
|
||||
<hibernate-validator.version>5.0.2.Final</hibernate-validator.version>
|
||||
|
||||
<!-- apache pdfbox version -->
|
||||
<orbit.version.pdfbox>1.8.10.wso2v2</orbit.version.pdfbox>
|
||||
<carbon.throttle.module.version>4.2.1</carbon.throttle.module.version>
|
||||
</properties>
|
||||
|
||||
</project>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user