Re: [Architecture] [Dev] Obtaining a registry value for a PHP application through the Registry REST API

2014-09-09 Thread Dimuthu Leelarathne
Hi Udara, Exactly! But the last time we were checking the cartridge agent script it gave very little information to the extension point. In order to do a meaningful curl we need at least - appname - tenant name thanks, dimuthu On Tue, Sep 9, 2014 at 3:10 PM, Udara Liyanage wrote: > Hi, >

Re: [Architecture] [Dev] Obtaining a registry value for a PHP application through the Registry REST API

2014-09-09 Thread Udara Liyanage
Hi Dimuthu, AFAIR tenant -id is passed as payload to the instance which is accessible via factor. Additionally any parameter can be sent to the instance at subscription time or in cartridge by declaring them as payload parameter. On Tue, Sep 9, 2014 at 3:17 PM, Dimuthu Leelarathne wrote: > Hi U

Re: [Architecture] [Dev] Obtaining a registry value for a PHP application through the Registry REST API

2014-09-09 Thread Udara Liyanage
Hi Dimutu, Below is an example payload of instance. Appname and tenantid is available. SERVICE_NAME=php,HOST_NAME=phptest1011. stratos.com ,MULTITENANT=false,TENANT_ID=-1234,TENANT_RANGE=-1234,CARTRIDGE_ALIAS=phptest1011,CLUSTER_