Hi all,

We should have given Deployment Stagers a different better name. Now it is
not the time to change.

-1 for adding another set of elements because it would be redundant data.

thanks,
dimuthu

On Sat, Nov 1, 2014 at 6:58 AM, Danushka Fernando <[email protected]>
wrote:

> 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.
>>
>>
>


-- 
Dimuthu Leelarathne
Architect & Product Lead of App Factory

WSO2, Inc. (http://wso2.com)
email: [email protected]
Mobile : 0773661935

Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to