Added panels for SSH hosts and PAT bastions.

Change-Id: I3cdc50f61c7f5aecc8cb50c23e4990e26cd96d80
Signed-off-by: Pino de Candia <giuseppe.decandia@gmail.com>
This commit is contained in:
Pino de Candia 2018-02-26 09:46:48 +00:00
parent 6fb3716ac9
commit 1685f7c862
6 changed files with 10 additions and 19 deletions

View File

@ -15,6 +15,6 @@
# The name of the panel group to be added to HORIZON_CONFIG. Required.
PANEL_GROUP = 'tatu'
# The display name of the PANEL_GROUP. Required.
PANEL_GROUP_NAME = 'Tatu'
PANEL_GROUP_NAME = 'SSH'
# The name of the dashboard the PANEL_GROUP associated with. Required.
PANEL_GROUP_DASHBOARD = 'project'

View File

@ -19,7 +19,7 @@ PANEL_DASHBOARD = 'project'
# If set to True, this dashboard will not be added to the settings.
DISABLED = False
ADD_PANEL = 'tatudashboard.dashboards.tatu.host.panel.HostCert'
ADD_PANEL = 'tatudashboard.dashboards.tatu.host_cert.panel.HostCert'
ADD_ANGULAR_MODULES = ['tatudashboard']

View File

@ -96,7 +96,7 @@
// listFunctions are expected to return data in "items"
response.data.items = response.data.hosts;
util.addTimestampIds(response.data.items, 'host_id');
util.addTimestampIds(response.data.items, 'id');
return response;
});

View File

@ -36,7 +36,6 @@
*/
function apiService(apiPassthroughUrl, httpService, toastService) {
var service = {
get: get,
list: list
};

View File

@ -87,7 +87,7 @@
// listFunctions are expected to return data in "items"
response.data.items = response.data.pats;
util.addTimestampIds(response.data.items, 'lport');
util.addTimestampIds(response.data.items, 'ip');
return response;
});

View File

@ -96,15 +96,15 @@
resourceType
.tableColumns
.append({
id: 'user_id',
id: 'serial',
priority: 1
})
.append({
id: 'fingerprint',
id: 'user_name',
priority: 2
})
.append({
id: 'auth_id',
id: 'principals',
priority: 2
})
.append({
@ -114,20 +114,12 @@
.append({
id: 'expires_at',
priority: 2
})
.append({
id: 'principals',
priority: 2
})
.append({
id: 'serial',
priority: 2
})
.append({
});
/*.append({
id: 'cert',
priority: 2,
filters: [function(input){ return $filter('limitTo')(input, 50, 0); }]
});
});*/
function listUsers() {