Thanks Vanji for fixing this. We thought setting false as removePolicy(
policyId, false) will behave as it was previously like removePolicy(policyId
) . if so there is no harm to test which use this method.  And
already overloaded the method as a new signature too.

@Asela:  Please let us know if it does not behave with param false as we
expected above.

Thanks,
Nuwanw

Thanks,
Nuwanw


On Fri, Aug 16, 2013 at 12:41 PM, Vanjikumaran Sivajothy <[email protected]>wrote:

> Hi,
>
> Due to signature change in EntitlementPolicyAdminService.
> java via r181264
> -       public void removePolicy(String policyId) throws
> EntitlementException {
> +       public void removePolicy(String policyId, boolean dePromote)
> throws EntitlementException
>
>
> this error has occurred!
>
>
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] WSO2 Carbon Automation - Parent core project ...... SUCCESS [1.144s]
> [INFO] WSO2 Carbon Automation - Test API ................. FAILURE
> [23.249s]
> [INFO] WSO2 Carbon Automation - Test Core ................ SKIPPED
> [INFO] WSO2 Carbon Automation - Common Utils ............. SKIPPED
> [INFO] WSO2 Carbon Automation - Jmeter Test Runner ....... SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 25.262s
> [INFO] Finished at: Fri Aug 16 12:08:49 IST 2013
> [INFO] Final Memory: 51M/1916M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
> (default-compile) on project org.wso2.carbon.automation.api: Compilation
> failure
> [ERROR]
> /home/esb/420/platform/4.2.0/platform-integration/test-automation-framework/org.wso2.carbon.automation.api/src/main/java/org/wso2/carbon/automation/api/clients/identity/entitlement/EntitlementPolicyServiceClient.java:[80,41]
> removePolicy(java.lang.String,boolean) in
> org.wso2.carbon.identity.entitlement.stub.EntitlementPolicyAdminServiceStub
> cannot be applied to (java.lang.String)
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :org.wso2.carbon.automation.api
> esb@ESB-Builder:~/420/platform/4.2.0/platform-integration/test-automation-framework$
> ld
> ld: no input files
>
>
>
>
> =================================
>
> Nevertheless, i have made the fix after discussing with QAA team and
> committed  using r181367.By default, i have assigned false to that
> parameter.
>
> If my correction is wrong please correct me.
>
>
> Thank you,
> Best regards
> vanji
>



-- 
Nuwan Wimalasekara
Senior Software Engineer - Test Automation
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

phone: +94 71 668 4620
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to