Return-Path: X-Original-To: apmail-stratos-dev-archive@minotaur.apache.org Delivered-To: apmail-stratos-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E525310861 for ; Wed, 3 Dec 2014 06:22:33 +0000 (UTC) Received: (qmail 57776 invoked by uid 500); 3 Dec 2014 06:22:33 -0000 Delivered-To: apmail-stratos-dev-archive@stratos.apache.org Received: (qmail 57723 invoked by uid 500); 3 Dec 2014 06:22:33 -0000 Mailing-List: contact dev-help@stratos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stratos.apache.org Delivered-To: mailing list dev@stratos.apache.org Received: (qmail 57713 invoked by uid 99); 3 Dec 2014 06:22:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Dec 2014 06:22:33 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 03 Dec 2014 06:22:32 +0000 Received: (qmail 55011 invoked by uid 99); 3 Dec 2014 06:22:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Dec 2014 06:22:12 +0000 Date: Wed, 3 Dec 2014 06:22:12 +0000 (UTC) From: "Nirmal Fernando (JIRA)" To: dev@stratos.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (STRATOS-1020) Auto-generate the deployment policy id MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Nirmal Fernando created STRATOS-1020: ---------------------------------------- Summary: 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: 4.1.0 Alpha 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)