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:
parent
6fb3716ac9
commit
1685f7c862
@ -15,6 +15,6 @@
|
|||||||
# The name of the panel group to be added to HORIZON_CONFIG. Required.
|
# The name of the panel group to be added to HORIZON_CONFIG. Required.
|
||||||
PANEL_GROUP = 'tatu'
|
PANEL_GROUP = 'tatu'
|
||||||
# The display name of the PANEL_GROUP. Required.
|
# 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.
|
# The name of the dashboard the PANEL_GROUP associated with. Required.
|
||||||
PANEL_GROUP_DASHBOARD = 'project'
|
PANEL_GROUP_DASHBOARD = 'project'
|
||||||
|
@ -19,7 +19,7 @@ PANEL_DASHBOARD = 'project'
|
|||||||
# If set to True, this dashboard will not be added to the settings.
|
# If set to True, this dashboard will not be added to the settings.
|
||||||
DISABLED = False
|
DISABLED = False
|
||||||
|
|
||||||
ADD_PANEL = 'tatudashboard.dashboards.tatu.host.panel.HostCert'
|
ADD_PANEL = 'tatudashboard.dashboards.tatu.host_cert.panel.HostCert'
|
||||||
|
|
||||||
ADD_ANGULAR_MODULES = ['tatudashboard']
|
ADD_ANGULAR_MODULES = ['tatudashboard']
|
||||||
|
|
||||||
|
@ -96,7 +96,7 @@
|
|||||||
// listFunctions are expected to return data in "items"
|
// listFunctions are expected to return data in "items"
|
||||||
response.data.items = response.data.hosts;
|
response.data.items = response.data.hosts;
|
||||||
|
|
||||||
util.addTimestampIds(response.data.items, 'host_id');
|
util.addTimestampIds(response.data.items, 'id');
|
||||||
|
|
||||||
return response;
|
return response;
|
||||||
});
|
});
|
||||||
|
@ -36,7 +36,6 @@
|
|||||||
*/
|
*/
|
||||||
function apiService(apiPassthroughUrl, httpService, toastService) {
|
function apiService(apiPassthroughUrl, httpService, toastService) {
|
||||||
var service = {
|
var service = {
|
||||||
get: get,
|
|
||||||
list: list
|
list: list
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -87,7 +87,7 @@
|
|||||||
// listFunctions are expected to return data in "items"
|
// listFunctions are expected to return data in "items"
|
||||||
response.data.items = response.data.pats;
|
response.data.items = response.data.pats;
|
||||||
|
|
||||||
util.addTimestampIds(response.data.items, 'lport');
|
util.addTimestampIds(response.data.items, 'ip');
|
||||||
|
|
||||||
return response;
|
return response;
|
||||||
});
|
});
|
||||||
|
@ -96,15 +96,15 @@
|
|||||||
resourceType
|
resourceType
|
||||||
.tableColumns
|
.tableColumns
|
||||||
.append({
|
.append({
|
||||||
id: 'user_id',
|
id: 'serial',
|
||||||
priority: 1
|
priority: 1
|
||||||
})
|
})
|
||||||
.append({
|
.append({
|
||||||
id: 'fingerprint',
|
id: 'user_name',
|
||||||
priority: 2
|
priority: 2
|
||||||
})
|
})
|
||||||
.append({
|
.append({
|
||||||
id: 'auth_id',
|
id: 'principals',
|
||||||
priority: 2
|
priority: 2
|
||||||
})
|
})
|
||||||
.append({
|
.append({
|
||||||
@ -114,20 +114,12 @@
|
|||||||
.append({
|
.append({
|
||||||
id: 'expires_at',
|
id: 'expires_at',
|
||||||
priority: 2
|
priority: 2
|
||||||
})
|
});
|
||||||
.append({
|
/*.append({
|
||||||
id: 'principals',
|
|
||||||
priority: 2
|
|
||||||
})
|
|
||||||
.append({
|
|
||||||
id: 'serial',
|
|
||||||
priority: 2
|
|
||||||
})
|
|
||||||
.append({
|
|
||||||
id: 'cert',
|
id: 'cert',
|
||||||
priority: 2,
|
priority: 2,
|
||||||
filters: [function(input){ return $filter('limitTo')(input, 50, 0); }]
|
filters: [function(input){ return $filter('limitTo')(input, 50, 0); }]
|
||||||
});
|
});*/
|
||||||
|
|
||||||
|
|
||||||
function listUsers() {
|
function listUsers() {
|
||||||
|
Loading…
Reference in New Issue
Block a user