You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Nirmal Fernando <ni...@gmail.com> on 2014/08/19 06:37:36 UTC

Ability to pass any property via Partition definition

Hi All,

It's vital to be able to pass any additional property via a Partition
configuration and able to configure an IaaS provider dynamically. These
additional properties would not be validated.

One such use case is to provide a VPC subnet id in AWS EC2 via a Partition
configuration. In VPC subnet id case, they are dependent on the
availability zone. With this improvement you can define a Partition per an
availability zone and pass the subnet id too along with it [1].

Another use case would be to pass a docker host machine endpoint url via a
Partition definition.

Relevant Jira is at [2].

[1]

{
        "id": "P1",
        "provider": "ec2",
        "property": [
        {
                "name": "region",
                "value": "REGION"
        },
        {
                "name": "zone",
                "value": "AVAILABILITY_ZONE"
        },
        {
                "name": "subnetId",
                "value": "SUBNET_ID"
        }
        ]
}

[2] https://issues.apache.org/jira/browse/STRATOS-756

-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/