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 C313717BF0 for ; Wed, 2 Sep 2015 04:59:30 +0000 (UTC) Received: (qmail 51120 invoked by uid 500); 2 Sep 2015 04:59:30 -0000 Delivered-To: apmail-stratos-dev-archive@stratos.apache.org Received: (qmail 50988 invoked by uid 500); 2 Sep 2015 04:59:30 -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 50978 invoked by uid 99); 2 Sep 2015 04:59:30 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2015 04:59:30 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id D0497F0A39 for ; Wed, 2 Sep 2015 04:59:29 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.9 X-Spam-Level: ** X-Spam-Status: No, score=2.9 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id GklAXHUFWmcq for ; Wed, 2 Sep 2015 04:59:21 +0000 (UTC) Received: from mail-ig0-f180.google.com (mail-ig0-f180.google.com [209.85.213.180]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 28E37249EB for ; Wed, 2 Sep 2015 04:59:21 +0000 (UTC) Received: by igcrk20 with SMTP id rk20so17016469igc.1 for ; Tue, 01 Sep 2015 21:59:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=ER362z1jH8Uva/0LyopH4hspzQYIcLp4zOKSMWVMDXs=; b=Kg22Dz2M+2nR+4c5adNUjOCTSthm+buKh3uPjEfywB4f5sIWsQsmPTzKAKvfBw7ybQ zdKzOXKbolaiintZ/elK9VrJNVc3Wt/94JaIDAf6YWeVDPCxk19JnrB49KrI7KAoEvsc 41+PWYQKLw/i9vqPNM7mHlDV3qSYFtPSNvBHWySnsseFANcSp3Lbk8TWXPPOKM+scPnz rx0wK+KsBhANGG9k3dKAxstYFRimlwGIyexcPqw8+kXacI558gB6xCtkDLQdVNSzOrhV aqcn3PfcMwsBR4/hYbujeh4ECmb7ETZo3iT1Lua1LcN9EUTyqBYAIzaKn39d5c9eMr6d myiQ== X-Received: by 10.50.73.98 with SMTP id k2mr1520891igv.96.1441169960588; Tue, 01 Sep 2015 21:59:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.146.134 with HTTP; Tue, 1 Sep 2015 21:58:41 -0700 (PDT) From: Anuruddha Premalal Date: Wed, 2 Sep 2015 10:28:41 +0530 Message-ID: Subject: Deployment section in cartridge definition is not getting saved? To: dev@stratos.apache.org Content-Type: multipart/alternative; boundary=089e01184e1a8fe043051ebc87e0 --089e01184e1a8fe043051ebc87e0 Content-Type: text/plain; charset=UTF-8 Hi Devs, I'm trying to add the following[1] single tenant tomcat cartridge to stratos 4.1.1 via both api and UI. Even though it added successfully deployment section is missing from the definition(I got the definition using API). What would be the cause?. [1] { "type": "tomcat", "category": "framework", "provider": "apache", "host": "appfactory.private.wso2.com", "displayName": "Tomcat 7", "description": "Tomcat 7 Cartridge", "version": "7", "multiTenant": false, "loadBalancingIPType": "public", "portMapping": [ { "name": "http-8080", "protocol": "http", "port": 8080, "proxyPort": 80, "kubernetesPortType": "NodePort" } ], "iaasProvider": [ { "type": "kubernetes", "imageId": "wso2/tomcat:1.0.0", "networkInterfaces": [] } ], "property": [ { "name": "payload_parameter.S2GIT_IP", "value": "10.100.5.106" }, { "name": "payload_parameter.S2GIT_DOMAIN", "value": "s2git.appfactory.private.wso2.com" }, { "name": "payload_parameter.START_CMD", "value": "PCA" } ], "deployment": { "baseDir": "/opt/tomcat/webapps", "dir": [] } } Regards, -- *Anuruddha Premalala (MIEEE)Mobile : +94710461070E-mail : anuruddhapremalal@gmail.com web : www.anuruddha.org Sri Lanka.* --089e01184e1a8fe043051ebc87e0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Devs,

I'm trying to add the foll= owing[1] single tenant tomcat cartridge to stratos 4.1.1 via both api and U= I. Even though it added successfully deployment section is missing from the= definition(I got the definition using API). What would be the cause?.


[1] {
"type": "tomcat",
"category": "f= ramework",
"provider": "apache",
= "displayName":= "Tomcat 7",
"description": "Tomcat 7 Cartridge",
"version": &q= uot;7",
&= quot;multiTenant": false,
"loadBalancingIPType": "public",
=
"portMapping&q= uot;: [
{
"name"= ;: "http-8080",
"protocol": "http",
"port": 8080,
"proxyPort"= : 80,
"= kubernetesPortType": "NodePort"
}
],
"iaasProvider": [
{
"type": "kubernetes",
"imageId": "ws= o2/tomcat:1.0.0",
"networkInterfaces": []
}
],
"property": [
{
= "name": "payload_parameter.S2GIT_IP",
"value": = "10.100.5.106"
},
{
"na= me": "payload_parameter.S2GIT_DOMAIN",
},
{
<= div> "name": = "payload_parameter.START_CMD",
"value": "PCA"
}
],
"deployment": {
"baseDir": "/opt/= tomcat/webapps",
= "dir": []
}
}

Regards,
--
=
=
Anuruddha Premalala=C2=A0<= /b>(MIEEE)
Mobile : +94710461070
web =C2=A0 =C2=A0 =C2=A0: www.anuruddha.org
Sri Lanka.
--089e01184e1a8fe043051ebc87e0--