Small resources fixes
This commit is contained in:
parent
55306b9e3b
commit
7c777eabaa
@ -18,7 +18,7 @@ def test(resource):
|
||||
resp_json = resp.json()
|
||||
assert 'services' in resp_json
|
||||
|
||||
service = [s for s in resp_json['services'] if s['name'] == resource.name][0]
|
||||
service = [s for s in resp_json['services'] if s['name'] == resource.args['endpoint_name'].value][0]
|
||||
service_id = service['id']
|
||||
|
||||
assert service['description'] == resource.args['description'].value
|
||||
|
@ -8,6 +8,7 @@ input:
|
||||
db_name:
|
||||
schema: str!
|
||||
value:
|
||||
|
||||
login_user:
|
||||
schema: str!
|
||||
value:
|
||||
@ -17,6 +18,7 @@ input:
|
||||
login_port:
|
||||
schema: int!
|
||||
value:
|
||||
|
||||
ip:
|
||||
schema: str!
|
||||
value:
|
||||
|
@ -4,6 +4,8 @@
|
||||
- name: mariadb db
|
||||
mysql_db:
|
||||
name: {{ db_name }}
|
||||
#collation: utf8_encode_ci
|
||||
encoding: utf8
|
||||
state: present
|
||||
login_user: root
|
||||
login_password: {{ login_password }}
|
||||
|
@ -5,6 +5,9 @@ input:
|
||||
image:
|
||||
schema: str!
|
||||
value: mariadb
|
||||
root_user:
|
||||
schema: str!
|
||||
value: root
|
||||
root_password:
|
||||
schema: str!
|
||||
value: mariadb
|
||||
|
@ -11,9 +11,11 @@ input:
|
||||
user_name:
|
||||
schema: str!
|
||||
value:
|
||||
|
||||
db_name:
|
||||
schema: str!
|
||||
value:
|
||||
|
||||
login_password:
|
||||
schema: str!
|
||||
value:
|
||||
@ -23,6 +25,7 @@ input:
|
||||
login_user:
|
||||
schema: str!
|
||||
value:
|
||||
|
||||
ip:
|
||||
schema: str!
|
||||
value:
|
||||
|
Loading…
Reference in New Issue
Block a user