Renamed Tatu API object keys with '.'

This commit is contained in:
Pino de Candia 2018-01-23 16:57:00 -06:00
parent 69b84cb134
commit 0c5e3d5aa8
4 changed files with 10 additions and 10 deletions

View File

@ -59,10 +59,10 @@
.setProperty('auth_id', {
label: gettext('Project/CA ID')
})
.setProperty('host_key.pub', {
.setProperty('ca_host_pub', {
label: gettext('Host Public Key')
})
.setProperty('user_key.pub', {
.setProperty('ca_user_pub', {
label: gettext('User Public Key')
});
@ -73,11 +73,11 @@
priority: 1
})
.append({
id: 'host_key.pub',
id: 'ca_host_pub',
priority: 2
})
.append({
id: 'user_key.pub',
id: 'ca_user_pub',
priority: 2
});

View File

@ -70,7 +70,7 @@
.setProperty('auth_id', {
label: gettext('Project/CA ID')
})
.setProperty('key-cert.pub', {
.setProperty('cert', {
label: gettext('Host Certificate')
})
.setProperty('pat_bastions', {
@ -108,7 +108,7 @@
filters: ['noName']
})
.append({
id: 'key-cert.pub',
id: 'cert',
priority: 2,
filters: [function(input){ return $filter('limitTo')(input, 50, 0); }]
})

View File

@ -119,14 +119,14 @@
"schema": {
"type": "object",
"properties": {
"key.pub": {
"'pub_key'": {
"type": "string"
}
}
},
"form": [
{
"key": "key.pub",
"key": "'pub_key'",
"type": "textarea",
"title": gettext("SSH Public Key"),
"description": gettext("The user's SSH public key."),

View File

@ -79,7 +79,7 @@
.setProperty('serial', {
label: gettext('Serial Number')
})
.setProperty('key-cert.pub', {
.setProperty('cert', {
label: gettext('User Certificate')
});
@ -106,7 +106,7 @@
priority: 2
})
.append({
id: 'key-cert.pub',
id: 'cert',
priority: 2,
filters: [function(input){ return $filter('limitTo')(input, 50, 0); }]
});