Hi,

When I used CLI commands to describe application command it failed because
of the invalid JSON output from getApplicationInfo endpoint. Here I list
the output JSON String. Tenant range came with unrecognized elements.

"tenantRange* Connection #0 to host 175.41.153.66 left intact
":"*",

Full JSON is below,

{
   "applications":{
      "groups":{
         "alias":"mygroup2",
         "autoScalingPolicy":"autoscale_policy_group2",
         "clusters":{
            "serviceName":"tomcat1",
            "clusterId":"mygroup2tomcat1.tomcat1.domain",
            "tenantRange":"*",
            "hostNames":[
               "mygroup2tomcat1.isuruh.lk"
            ],
            "isLbCluster":false
         },
         "deploymentPolicy":"dep_policy_group2",
         "subGroups":[
            {
               "alias":"mygroup1",
               "autoScalingPolicy":"autoscale_policy_group1",
               "clusters":{
                  "serviceName":"tomcat2",
                  "clusterId":"mygroup1tomcat2.tomcat2.domain",
                  "member":[
                     {
                        "serviceName":"tomcat2",
                        "clusterId":"mygroup1tomcat2.tomcat2.domain",
                        "networkPartitionId":"ec2",
                        "partitionId":"P1",

"memberId":"mygroup1tomcat2.tomcat2.domainddb7bb3d-c1c1-46d6-8666-b9f2c2b7844d",
                        "status":"Created",
                        "memberIp":"10.142.81.166",
                        "memberPublicIp":"54.251.25.157",
                        "property":[
                           {
                              "name":"PRIMARY",
                              "value":false
                           },
                           {
                              "name":"MIN_COUNT",
                              "value":1
                           }
                        ]
                     }
                  ],
                  "tenantRange":"*",
                  "hostNames":[
                     "mygroup1tomcat2.isuruh.lk"
                  ],
                  "isLbCluster":false
               },
               "deploymentPolicy":"dep_policy_group1"
            }
         ]
      },
      "clusters":{
         "serviceName":"tomcat",
         "clusterId":"mytomcat.tomcat.domain",
         "tenantRange* Connection #0 to host 175.41.153.66 left intact
":"*",
         "hostNames":[
            "mytomcat.isuruh.lk"
         ],
         "isLbCluster":false
      },
      "id":"test_app_1",
      "tenantAdminUsername":"admin",
      "tenantDomain":"carbon.super"
   }
}

Thanks !

-- 
Regards,
Manula Chathurika Thantriwatte
Software Engineer
WSO2 Inc. : http://wso2.com
lean . enterprise . middleware

email : [email protected] / [email protected]
phone : +94 772492511
blog : http://manulachathurika.blogspot.com/

Reply via email to