Fix API invoking issue via invoker

apim420
Lasantha Dharmakeerthi 9 months ago
commit f8d2ffe5f8

@ -35,7 +35,7 @@
<dependency> <dependency>
<groupId>org.ops4j.pax.logging</groupId> <groupId>org.ops4j.pax.logging</groupId>
<artifactId>pax-logging-api</artifactId> <artifactId>pax-logging-api</artifactId>
<!-- <scope>provided</scope>--> <scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.testng</groupId> <groupId>org.testng</groupId>
@ -48,7 +48,6 @@
<dependency> <dependency>
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>
<artifactId>slf4j-ext</artifactId> <artifactId>slf4j-ext</artifactId>
<version>1.7.29</version>
</dependency> </dependency>
</dependencies> </dependencies>
@ -84,7 +83,6 @@
io.entgra.device.mgt.core.device.mgt.extensions.logger;version="[5.0,6)", io.entgra.device.mgt.core.device.mgt.extensions.logger;version="[5.0,6)",
io.entgra.device.mgt.core.device.mgt.extensions.logger.spi;version="[5.0,6)", io.entgra.device.mgt.core.device.mgt.extensions.logger.spi;version="[5.0,6)",
org.slf4j, org.slf4j,
org.slf4j.ext,
org.apache.commons.logging;version="[1.2,2)" org.apache.commons.logging;version="[1.2,2)"
</Import-Package> </Import-Package>
<Export-Package> <Export-Package>

@ -533,7 +533,7 @@ public class HandlerUtil {
if (scopes != null && scopes.isArray() && !scopes.isEmpty()) { if (scopes != null && scopes.isArray() && !scopes.isEmpty()) {
StringBuilder builder = new StringBuilder(); StringBuilder builder = new StringBuilder();
for (JsonNode objNode : scopes) { for (JsonNode objNode : scopes) {
builder.append(objNode).append(" "); builder.append(objNode.asText()).append(" ");
} }
return builder.toString(); return builder.toString();
} else { } else {

@ -40,7 +40,7 @@
<dependency> <dependency>
<groupId>org.ops4j.pax.logging</groupId> <groupId>org.ops4j.pax.logging</groupId>
<artifactId>pax-logging-api</artifactId> <artifactId>pax-logging-api</artifactId>
<!-- <scope>provided</scope>--> <scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.testng</groupId> <groupId>org.testng</groupId>

@ -1823,6 +1823,11 @@
<artifactId>org.apache.felix.scr.ds-annotations</artifactId> <artifactId>org.apache.felix.scr.ds-annotations</artifactId>
<version>${apache.felix.scr.ds.annotations.version}</version> <version>${apache.felix.scr.ds.annotations.version}</version>
</dependency> </dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-ext</artifactId>
<version>${slf4j.ext.version}</version>
</dependency>
</dependencies> </dependencies>
</dependencyManagement> </dependencyManagement>
@ -2173,6 +2178,7 @@
<power.mock.version>2.0.2</power.mock.version> <power.mock.version>2.0.2</power.mock.version>
<commons.dbcp.version>1.4.0.wso2v1</commons.dbcp.version> <commons.dbcp.version>1.4.0.wso2v1</commons.dbcp.version>
<slf4j.nop.version>1.7.25</slf4j.nop.version> <slf4j.nop.version>1.7.25</slf4j.nop.version>
<slf4j.ext.version>1.7.29</slf4j.ext.version>
<!-- app management related versions --> <!-- app management related versions -->
<googlecode.plist.version>1.21</googlecode.plist.version> <googlecode.plist.version>1.21</googlecode.plist.version>

Loading…
Cancel
Save