Revision bd1f667b snf-astakos-app/astakos/im/management/commands/service-list.py
b/snf-astakos-app/astakos/im/management/commands/service-list.py | ||
---|---|---|
40 | 40 |
object_class = Service |
41 | 41 |
|
42 | 42 |
FIELDS = { |
43 |
"id": ("id", "ID"), |
|
43 |
"id": ("id", "Service ID"),
|
|
44 | 44 |
"name": ("name", "Service Name"), |
45 |
"url": ("url", "Service url"), |
|
46 |
"api_url": ("api_url", "Service API url"), |
|
47 |
"token": ("auth_token", "Authentication token"), |
|
48 |
"token created": ("auth_token_created", "Token creation date"), |
|
49 |
"token expires": ("auth_token_expires", "Token expiration date"), |
|
45 |
"component": ("component.name", "Service url"), |
|
50 | 46 |
"type": ("type", "Service type"), |
51 | 47 |
} |
52 | 48 |
|
53 |
fields = ["id", "name", "type", "token", "token created"] |
|
49 |
fields = ["id", "name", "component", "type"] |
Also available in: Unified diff