stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gayan Gunarathne (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (STRATOS-1020) Auto-generate the deployment policy id
Date Fri, 16 Jan 2015 09:22:35 GMT

     [ https://issues.apache.org/jira/browse/STRATOS-1020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gayan Gunarathne updated STRATOS-1020:
--------------------------------------
    Fix Version/s:     (was: 4.1.0 Alpha)
                   FUTURE

> Auto-generate the deployment policy id
> --------------------------------------
>
>                 Key: STRATOS-1020
>                 URL: https://issues.apache.org/jira/browse/STRATOS-1020
>             Project: Stratos
>          Issue Type: Improvement
>          Components: Autoscaler
>    Affects Versions: 4.1.0 M4
>            Reporter: Nirmal Fernando
>            Assignee: Nirmal Fernando
>             Fix For: FUTURE
>
>
> Suggestion is to auto generate deployment policy as below:
> deployment policy id = application id + UUID
> Please refer to the dev@ thread: Deployment Policy per an Application? for more information.
> A sample json after this change:
> {
>     "applicationPolicy": {
>         "applicationId": "test_app_os4",
>         "networkPartition": [
>             {
>                 "id": "openstack_R1",
>                 "activeByDefault": "true",
>                 "partitions": [
>                     {
>                         "id": "P1",
>                         "provider": "openstack",
>                         "property": [
>                             {
>                                 "name": "region",
>                                 "value": "RegionOne"
>                             }
>                         ]
>                     }
>                 ]
>             }
>         ]
>     },
>     "childPolicies": [
>         {
>             "childId": "mytomcat",
>             "networkPartition": [
>                 {
>                     "id": "openstack_R1",
>                     "partitionAlgo": "one-after-another",
>                     "partitions": [
>                         {
>                             "id": "P1",
>                             "max": 5
>                         }
>                     ]
>                 }
>             ]
>         }
>     ]
> }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message