UI/Serialize DB Connection Attributes (#12770)

* creates serializer and moves available plugin types constant to util

* adds if block catch if no plugin_type, renames util file

* updates imports

* adds changelog

* fixes rendering of default attrs

* checks that plugin exists
This commit is contained in:
claire bontempo
2021-10-11 16:42:11 -07:00
committed by GitHub
parent 8c0cea56d9
commit 698d48526d
9 changed files with 239 additions and 213 deletions

View File

@@ -3,7 +3,7 @@ import { computed } from '@ember/object';
import { alias } from '@ember/object/computed';
import lazyCapabilities, { apiPath } from 'vault/macros/lazy-capabilities';
import { expandAttributeMeta } from 'vault/utils/field-to-attrs';
import { getRoleFields } from '../../utils/database-role-fields';
import { getRoleFields } from '../../utils/database-helpers';
export default Model.extend({
idPrefix: 'role/',