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

Shavindri Dissanayake updated STRATOS-1227:
-------------------------------------------
    Description: 
When executing commands [1] and [3], the CLI Tool output gives a string of 
numbers as the created date [2] and [4]. The expected output should be as 
follows [5].

[1] command : describe-tenant franklin.com
[2]  output
-------------------------------------
Tenant Information:
-------------------------------------
Tenant domain: franklin.com
ID: 2
Email: [email protected]
Active: true
Created date: 1425468999343 

[3] command: list-tenants-by-partial-domain -d frank
[4] output
Tenants found:
+--------------+----------+--------+-------------+---------------+
| tenantDomain | tenantID | active | email       | createdDate   |
+--------------+----------+--------+-------------+---------------+
| frank.com    | 1        | false  | [email protected] | 1425468130532 |
+--------------+----------+--------+-------------+---------------+
| franklin.com | 2        | true   | [email protected] | 1425468999343 |
+--------------+----------+--------+-------------+---------------+

[5]
Tenants:
+--------------+-----------+-------------+-----------+------------------------------+
| Domain       | Tenant ID | Email       | State     | Created Date             
    |
+--------------+-----------+-------------+-----------+------------------------------+
| frank.com    | 1         | [email protected] | Active    | Wed Mar 04 17:06:39 IST 
2015 |
+--------------+-----------+-------------+-----------+------------------------------+

  was:
When executing commands [1] and [3], the CLI Tool output gives a string of 
numbers as the created date [2] and [4].

[1] command : describe-tenant franklin.com
[2]  output
-------------------------------------
Tenant Information:
-------------------------------------
Tenant domain: franklin.com
ID: 2
Email: [email protected]
Active: true
Created date: 1425468999343 

[3] command: list-tenants-by-partial-domain -d frank
[4] output
Tenants found:
+--------------+----------+--------+-------------+---------------+
| tenantDomain | tenantID | active | email       | createdDate   |
+--------------+----------+--------+-------------+---------------+
| frank.com    | 1        | false  | [email protected] | 1425468130532 |
+--------------+----------+--------+-------------+---------------+
| franklin.com | 2        | true   | [email protected] | 1425468999343 |
+--------------+----------+--------+-------------+---------------+



> Created Date Format in CLI
> --------------------------
>
>                 Key: STRATOS-1227
>                 URL: https://issues.apache.org/jira/browse/STRATOS-1227
>             Project: Stratos
>          Issue Type: Bug
>          Components: CLI
>            Reporter: Shavindri Dissanayake
>            Priority: Minor
>
> When executing commands [1] and [3], the CLI Tool output gives a string of 
> numbers as the created date [2] and [4]. The expected output should be as 
> follows [5].
> [1] command : describe-tenant franklin.com
> [2]  output
> -------------------------------------
> Tenant Information:
> -------------------------------------
> Tenant domain: franklin.com
> ID: 2
> Email: [email protected]
> Active: true
> Created date: 1425468999343 
> [3] command: list-tenants-by-partial-domain -d frank
> [4] output
> Tenants found:
> +--------------+----------+--------+-------------+---------------+
> | tenantDomain | tenantID | active | email       | createdDate   |
> +--------------+----------+--------+-------------+---------------+
> | frank.com    | 1        | false  | [email protected] | 1425468130532 |
> +--------------+----------+--------+-------------+---------------+
> | franklin.com | 2        | true   | [email protected] | 1425468999343 |
> +--------------+----------+--------+-------------+---------------+
> [5]
> Tenants:
> +--------------+-----------+-------------+-----------+------------------------------+
> | Domain       | Tenant ID | Email       | State     | Created Date           
>       |
> +--------------+-----------+-------------+-----------+------------------------------+
> | frank.com    | 1         | [email protected] | Active    | Wed Mar 04 17:06:39 
> IST 2015 |
> +--------------+-----------+-------------+-----------+------------------------------+



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

Reply via email to