Hi Amalka
+1 for the approach
@Samith: I dont really see the need of such approach. Any way I am *not *-1
for that. @Dimuthu : WDYT?

Thanks & Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729

On Sat, Nov 1, 2014 at 7:00 PM, Samith Dassanayake <[email protected]> wrote:

> Hi Amalka,
> I think it is better to define a new element to specify registry
> identifiers, under the ApplicationDeployment.DeploymentStage (for each
> cloud) in the appfactory.xml, instead of using the deployment stage name
> directly. That way it is more configurable.
>
> Thnaks,
> Samith
>
> On Fri, Oct 31, 2014 at 4:14 PM, Amalka Subasinghe <[email protected]>
> wrote:
>
>> Hi,
>>
>> I have mounted dev/test/prod SMs' registries to the App Factory as follows
>>
>> /_system/governance
>> /_system/Development/governance
>> /_system/Production/governance
>> /_system/Testing/governance
>>
>> thought It will be easy to construct the registry path (when accessing)
>> if we use the words 'Development', 'Testing' and 'Production' to mount the
>> registries
>>
>> can get the stages as:
>> var stages = getProperties(DEPLOYMENT_STAGES);
>>
>> construct the registry path as:
>> var regPath =
>> "/_system/"+stage+"/governance/dependencies/"+applicationKey;
>>
>> What do you think about this approach?
>>
>> Thanks
>> Amalka
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Best Regards
>
> Samith Dassanayake
> Software Engineer, WSO2 Inc.
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to