Merge pull request #19 from Gathika94/add-emm-analytics

fixed some version issues in pom files
revert-dabc3590
Charitha Goonetilleke 7 years ago committed by GitHub
commit b9d7563c93

@ -20,7 +20,7 @@
<parent> <parent>
<groupId>org.wso2.carbon.devicemgt-plugins</groupId> <groupId>org.wso2.carbon.devicemgt-plugins</groupId>
<artifactId>siddhi-extensions</artifactId> <artifactId>siddhi-extensions</artifactId>
<version>4.0.86-SNAPSHOT</version> <version>4.0.88-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath> <relativePath>../pom.xml</relativePath>
</parent> </parent>
@ -86,6 +86,26 @@
<artifactId>javax.cache.wso2</artifactId> <artifactId>javax.cache.wso2</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging-api</artifactId>
<version>RELEASE</version>
</dependency>
<dependency>
<groupId>org.wso2.carbon.devicemgt-plugins</groupId>
<artifactId>org.wso2.carbon.appmgt.mdm.restconnector</artifactId>
<version>4.0.88-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>asm</groupId>
<artifactId>asm</artifactId>
<version>RELEASE</version>
</dependency>
<dependency>
<groupId>asm</groupId>
<artifactId>asm</artifactId>
<version>RELEASE</version>
</dependency>
</dependencies> </dependencies>
<build> <build>

@ -31,6 +31,7 @@ import org.wso2.siddhi.core.executor.function.FunctionExecutor;
import org.wso2.siddhi.query.api.definition.Attribute; import org.wso2.siddhi.query.api.definition.Attribute;
import org.wso2.siddhi.query.api.exception.ExecutionPlanValidationException; import org.wso2.siddhi.query.api.exception.ExecutionPlanValidationException;
/** /**
* isDeviceInGroup(deviceId , groupId) * isDeviceInGroup(deviceId , groupId)
* Returns true if device belongs to group, otherwise false. * Returns true if device belongs to group, otherwise false.
@ -50,7 +51,7 @@ public class IsDeviceInGroupFunctionExecutor extends FunctionExecutor {
"Invalid no of arguments passed to group:isDeviceInGroup() function, required 3, but found " "Invalid no of arguments passed to group:isDeviceInGroup() function, required 3, but found "
+ attributeExpressionExecutors.length); + attributeExpressionExecutors.length);
} }
if (attributeExpressionExecutors[0].getReturnType() != Attribute.Type.INT) { if (attributeExpressionExecutors[0].getReturnType()!= Attribute.Type.INT) {
throw new ExecutionPlanValidationException( throw new ExecutionPlanValidationException(
"Invalid parameter type found for the first argument (group id) of group:isDeviceInGroup() " + "Invalid parameter type found for the first argument (group id) of group:isDeviceInGroup() " +
"function, required " + Attribute.Type.INT + ", but found " + "function, required " + Attribute.Type.INT + ", but found " +

@ -20,7 +20,7 @@
<parent> <parent>
<groupId>org.wso2.carbon.devicemgt-plugins</groupId> <groupId>org.wso2.carbon.devicemgt-plugins</groupId>
<artifactId>extensions-feature</artifactId> <artifactId>extensions-feature</artifactId>
<version>4.0.86-SNAPSHOT</version> <version>4.0.88-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath> <relativePath>../pom.xml</relativePath>
</parent> </parent>

@ -1179,7 +1179,7 @@
<javax.ws.rs.version>1.1.1</javax.ws.rs.version> <javax.ws.rs.version>1.1.1</javax.ws.rs.version>
<!-- Carbon Device Management --> <!-- Carbon Device Management -->
<carbon.devicemgt.version>3.0.135</carbon.devicemgt.version> <carbon.devicemgt.version>3.0.136-SNAPSHOT</carbon.devicemgt.version>
<carbon.devicemgt.version.range>[3.0.0, 4.0.0)</carbon.devicemgt.version.range> <carbon.devicemgt.version.range>[3.0.0, 4.0.0)</carbon.devicemgt.version.range>
<!-- Carbon App Management --> <!-- Carbon App Management -->

Loading…
Cancel
Save