On Tue, Nov 24, 2015 at 2:40 PM, Rukshan Premathunga
wrote:
> Hi Lakshman,
>
> Yes. It is working if we set file type as "jar" like here[1]. But actually
> capp have .car file type. So is this way is correct?
>
> [1]
> https://github.com/arunasujith/capp-upload-admin-service-sample/blob/master/sr
Hi Lakshman,
Yes. It is working if we set file type as "jar" like here[1]. But actually
capp have .car file type. So is this way is correct?
[1]
https://github.com/arunasujith/capp-upload-admin-service-sample/blob/master/src/main/java/org/wso2/carbon/cappupload/sample/CarbonAppUploaderClient.java
For some time ago I used [1] to upload a capp written by aruna. You can use
that.
[1] https://github.com/arunasujith/capp-upload-admin-service-sample
Thanks
On Tue, Nov 24, 2015 at 2:17 PM, Lakshman Udayakantha
wrote:
> what is the error?
>
> On Tue, Nov 24, 2015 at 2:11 PM, Rukshan Premathung
what is the error?
On Tue, Nov 24, 2015 at 2:11 PM, Rukshan Premathunga
wrote:
> Hi,
>
> I was trying to deploy carbon-app (.car file) using java client. For that
> i used the *CarbonAppUploader *service.
>
> Below the code i used to deploy the capp and it is worked fine.
>
>
> File file = new F
Hi,
I was trying to deploy carbon-app (.car file) using java client. For that i
used the *CarbonAppUploader *service.
Below the code i used to deploy the capp and it is worked fine.
File file = new File(cAppPath);
//get the byte array of file
byte[] byteArray = FileUtils.readFileToByteArray(