147 lines
3.0 KiB
JSON
147 lines
3.0 KiB
JSON
{
|
|
"add_database_data": [
|
|
{
|
|
"privileges_acl": [
|
|
{
|
|
"grantee": "postgres",
|
|
"grantor": "postgres",
|
|
"privileges": [
|
|
{
|
|
"privilege_type": "C",
|
|
"privilege": true,
|
|
"with_grant": true
|
|
},
|
|
{
|
|
"privilege_type": "T",
|
|
"privilege": true,
|
|
"with_grant": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"conn_limit": -1,
|
|
"owner": "postgres",
|
|
"fun_acl": [
|
|
{
|
|
"grantee": "postgres",
|
|
"grantor": "postgres",
|
|
"privileges": [
|
|
{
|
|
"privilege_type": "X",
|
|
"privilege": true,
|
|
"with_grant": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"seq_acl": [
|
|
{
|
|
"grantee": "postgres",
|
|
"grantor": "postgres",
|
|
"privileges": [
|
|
{
|
|
"privilege_type": "r",
|
|
"privilege": true,
|
|
"with_grant": false
|
|
},
|
|
{
|
|
"privilege_type": "w",
|
|
"privilege": true,
|
|
"with_grant": false
|
|
},
|
|
{
|
|
"privilege_type": "U",
|
|
"privilege": true,
|
|
"with_grant": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"tbl_acl": [
|
|
{
|
|
"grantee": "postgres",
|
|
"grantor": "postgres",
|
|
"privileges": [
|
|
{
|
|
"privilege_type": "a",
|
|
"privilege": true,
|
|
"with_grant": true
|
|
},
|
|
{
|
|
"privilege_type": "r",
|
|
"privilege": true,
|
|
"with_grant": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"type_acl": [
|
|
{
|
|
"grantee": "postgres",
|
|
"grantor": "postgres",
|
|
"privileges": [
|
|
{
|
|
"privilege_type": "U",
|
|
"privilege": true,
|
|
"with_grant": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"encoding": "UTF8",
|
|
"name": "test_db_automation",
|
|
"privileges": [],
|
|
"securities": [],
|
|
"variables": []
|
|
}
|
|
],
|
|
"db_update_data": [
|
|
{
|
|
"comment": "This is db update comment"
|
|
}
|
|
],
|
|
|
|
"lr_credentials": {
|
|
"can_login": "true",
|
|
"conn_limit": -1,
|
|
"create_role": "true",
|
|
"role_inherit": "true",
|
|
"role_membership": [],
|
|
"lr_name": "testlrg1",
|
|
"lr_password": "edb",
|
|
"lr_validity": "12/27/2016",
|
|
"sec_lable": [],
|
|
"variable":[
|
|
{"name":"work_mem",
|
|
"database":"postgres",
|
|
"value":65
|
|
}]
|
|
},
|
|
"lr_update_data": {
|
|
"comment": "This is db update comment"
|
|
},
|
|
|
|
"tablespc_credentials":[{
|
|
"tblspace_name": "test_tablespace",
|
|
"spc_seclable": [],
|
|
"spc_acl": [
|
|
{
|
|
"grantee":"postgres",
|
|
"grantor":"postgres",
|
|
"privileges":[
|
|
{
|
|
"privilege_type":"C",
|
|
"privilege":true,
|
|
"with_grant":false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"spc_opts": [],
|
|
"spc_user": "postgres"
|
|
}],
|
|
|
|
"tbspc_update_data": {
|
|
"comment": "This is tablespace update comment"
|
|
}
|
|
} |