Hi,

I'm trying to add a new attribute which is  a JSON array to the existing 
cartridgeDefinitionBean/iaasProvider.   I've added the new bean and POJO 
classes for the new attribute.  Also added supported method in PojoConverter to 
convert the array of new bean objects to array of new POJO objects.

Questions:


  *   When I do a full build of Stratos, I got compilation error in the 
PojoConverter.java in the new method I added for the Bean conversion (shown 
below).   The references to the new POJO class cause compile error.   Do I need 
to modify CloudControllerService.wsdl of CC service stub?   At some point I was 
somehow able to do a full build but now it fails to build more consistent.
  *   When I was able to do a full build and started Stratos CC.  I checked the 
CloudControllerService.wsdl and it has references to the variable that holds 
the list of new POJO class in IaasConfig element block.  However, it's still 
not quite correct so I need to fix it.
  *   For changes like this, should I manually modify 
CloudControllerService.wsdl, or should it be automatically generated when I 
deploy new CC jar file that has the changes for my new POJO and bean classes?  
I seem to have a chicken and egg problem now since I can't build the code 
successfully if that's required to generate the new CloudControllerService.wsdl 
file for CC service stub.

Any pointers, suggestions would be greatly appreciated.

Thanks ,
-Jeffrey


[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) 
on project org.apache.stratos.rest.endpoint: Compilation failure: Compilation 
failure:
[ERROR] 
/github/stratos/incubator-stratos-alpha/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/bean/util/converter/PojoConverter.java:[115,19]
 error: cannot find symbol

Reply via email to