Hi Shaheed,

I have tried with single-cartridge application with following modification,

{
    "applicationId": "single-cartridge-app",
    "alias": "single-cartridge-app",
    "multiTenant": false,
    "components": {
        "cartridges": [
            {
                "type": "php",
                "cartridgeMin": 1,
                "cartridgeMax": 2,
                "subscribableInfo": {
                    "alias": "my-php",
                    "autoscalingPolicy": "autoscaling-policy-1",
                    "deploymentPolicy": "deployment-policy-1",
                    "artifactRepository": {
                        "privateRepo": false,
                        "repoUrl": "
https://github.com/imesh/stratos-php-applications.git";,
                        "repoUsername": "",
                        "repoPassword": ""
                    },
*                    "persistence": {*
*                        "volume" : [*
*                                {*
*                                        "id":
"2343dfb1-ad74-4649-9329-3f435b8b1bae",*
*                                        "device": "/dev/vdb",*
*                                        "size": "1",*
*                                        "removeOnTermination": "true"*
*                                }*
*                        ]*
                    }
                }
            }
        ]
    }
}

Thanks.


On Mon, Mar 23, 2015 at 8:58 PM, Shaheedur Haque (shahhaqu) <
shahh...@cisco.com> wrote:

>  Could somebody post an example of the Application JSON needed to specify
> the persistent volume please?
>
>
>
> *From:* Udara Liyanage [mailto:ud...@wso2.com]
> *Sent:* Monday, March 23, 2015 11:35 AM
> *To:* dev
> *Subject:* Re: Persistence Volume Mapping support
>
>
>
> Hi Lahiru,
>
>
>
> I was able to create an volume when the snapshot id is null. I get the
> same exception when we provide an existing snapshot id.
>
> I am looking into it and update the thread.
>
>
>
> On Sat, Mar 21, 2015 at 6:20 PM, Udara Liyanage <ud...@wso2.com> wrote:
>
> Hi Lahiru,
>
> May be jcloud upgrade might have an impact.
>
>
>
>
>
> --
>
>
> Udara Liyanage
>
> Software Engineer
>
> WSO2, Inc.: http://wso2.com
>
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
>
> phone: +94 71 443 6897
>



-- 
--
Lahiru Sandaruwan
Committer and PMC member, Apache Stratos,
Senior Software Engineer,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

phone: +94773325954
email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146

Reply via email to