moulinette/test/actionsmap/moulitest.yml

94 lines
2.4 KiB
YAML
Raw Normal View History

#############################
# Global parameters #
#############################
_global:
configuration:
authenticate:
- all
authenticator:
default:
vendor: dummy
help: Dummy Password
yoloswag:
vendor: dummy
help: Dummy Yoloswag Password
2020-01-07 18:38:59 +01:00
ldap:
vendor: ldap
help: admin_password
parameters:
uri: ldap://localhost:8080
base_dn: dc=yunohost,dc=org
user_rdn: cn=admin,dc=yunohost,dc=org
2019-12-28 16:31:23 +01:00
arguments:
-v:
full: --version
help: Display Yoloswag versions
action: callback
callback:
method: yoloswag_version
return: true
#############################
# Test Actions #
#############################
testauth:
actions:
none:
api: GET /test-auth/none
configuration:
authenticate: false
default:
api: GET /test-auth/default
2020-01-02 05:32:57 +01:00
only-api:
api: GET /test-auth/only-api
configuration:
authenticate:
- api
only-cli:
api: GET /test-auth/only-cli
configuration:
authenticate:
- cli
other-profile:
api: GET /test-auth/other-profile
configuration:
2020-01-02 05:32:57 +01:00
authenticate:
- all
authenticator: yoloswag
2019-12-28 16:31:23 +01:00
2020-01-07 18:38:59 +01:00
ldap:
api: GET /test-auth/ldap
configuration:
authenticate:
- all
authenticator: ldap
2019-12-28 16:31:23 +01:00
subcategories:
subcat:
actions:
none:
api: GET /test-auth/subcat/none
configuration:
authenticate: false
default:
api: GET /test-auth/subcat/default
post:
api: POST /test-auth/subcat/post
configuration:
2020-01-02 05:32:57 +01:00
authenticate:
- all
2019-12-28 16:31:23 +01:00
authenticator: default
other-profile:
api: GET /test-auth/subcat/other-profile
configuration:
authenticator: yoloswag