Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stricter but customizable configuration file names.
- Loading branch information
1 parent
77426d1
commit 140f70f
Showing
18 changed files
with
141 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
21 changes: 21 additions & 0 deletions
21
rapidoid-commons/src/test/resources/DataPermissionsTest/config.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
users: | ||
adm1: | ||
roles: administrator | ||
|
||
adm2: | ||
roles: administrator | ||
|
||
mng1: | ||
roles: manager | ||
|
||
mod1: | ||
roles: moderator | ||
|
||
mod2: | ||
roles: moderator | ||
|
||
abc: | ||
roles: abc | ||
|
||
other: | ||
roles: other_role |
20 changes: 0 additions & 20 deletions
20
rapidoid-commons/src/test/resources/DataPermissionsTest/users.yml
This file was deleted.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
rapidoid-commons/src/test/resources/MethodSecurityTest/config.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
users: | ||
adm1: | ||
roles: ["administrator"] | ||
|
||
adm2: | ||
roles: ["administrator"] | ||
|
||
mng1: | ||
roles: ["manager"] | ||
|
||
mod1: | ||
roles: ["moderator"] | ||
|
||
mod2: | ||
roles: ["moderator"] | ||
|
||
abc1: | ||
roles: abc | ||
|
||
abc2: | ||
roles: abc | ||
|
||
xyz1: | ||
roles: xyz |
23 changes: 0 additions & 23 deletions
23
rapidoid-commons/src/test/resources/MethodSecurityTest/users.yaml
This file was deleted.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
rapidoid-commons/src/test/resources/RoleBasedSecurityTest/config.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
users: | ||
adm1: | ||
roles: ["administrator"] | ||
|
||
adm2: | ||
roles: ["administrator"] | ||
|
||
mng1: | ||
roles: ["manager"] | ||
|
||
mod1: | ||
roles: ["moderator"] | ||
|
||
mod2: | ||
roles: ["moderator"] | ||
|
||
abc: | ||
roles: abc |
17 changes: 0 additions & 17 deletions
17
rapidoid-commons/src/test/resources/RoleBasedSecurityTest/users.yaml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
users: | ||
niko: | ||
email: niko@rapidoid.org.abcde | ||
password: easy | ||
roles: | ||
- owner | ||
- administrator | ||
- moderator | ||
|
||
chuck: | ||
password: chuck | ||
roles: ["moderator", "restarter"] | ||
|
||
abc: | ||
password: abc | ||
roles: guest , foo , bar |
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
rapidoid-integration-tests/src/test/resources/DynamicClientTest/MyClient.yml
This file was deleted.
Oops, something went wrong.
20 changes: 20 additions & 0 deletions
20
rapidoid-integration-tests/src/test/resources/DynamicClientTest/config.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
MyClient: | ||
abc: | ||
GET: http://localhost:8888/test-abc | ||
|
||
numbers: | ||
GET: http://localhost:8888/nums | ||
|
||
sizeOf: | ||
GET: http://localhost:8888/size?s=%s | ||
|
||
asyncSizeOf: | ||
GET: http://localhost:8888/size?s=%s | ||
|
||
theBean: | ||
POST: http://localhost:8888/echo?aa=%s&bb=%s&cc=%s | ||
|
||
asyncBean: | ||
POST: http://localhost:8888/echo?aa=%s&bb=%s&cc=%s | ||
data: | ||
aa: not-implemented |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters