-
Notifications
You must be signed in to change notification settings - Fork 465
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[EAP7-1877-test-dev)]: Add tests for yaml
On branch EAP7-1877-test-dev Date: Wed Feb 28 11:37:46 2024 +0100 Signed-off-by: Emmanuel Hugonnet <[email protected]>
- Loading branch information
Showing
27 changed files
with
842 additions
and
301 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
299 changes: 0 additions & 299 deletions
299
.../test/java/org/jboss/as/test/manualmode/management/persistence/YamlExtensionTestCase.java
This file was deleted.
Oops, something went wrong.
676 changes: 676 additions & 0 deletions
676
.../java/org/jboss/as/test/manualmode/management/persistence/yaml/YamlExtensionTestCase.java
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
.../org/jboss/as/test/manualmode/management/persistence/yaml/test-adding-empty-extension.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,3 @@ | ||
wildfly-configuration: | ||
extension: | ||
|
10 changes: 10 additions & 0 deletions
10
...ode/management/persistence/yaml/test-adding-extension-path-deployment-overlay-ignored.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,10 @@ | ||
wildfly-configuration: | ||
extension: | ||
org.jboss.as.failure: | ||
module: org.jboss.as.failure | ||
deployment-overlay: | ||
dummy-overlay: | ||
path: | ||
test.path: | ||
relative-to: 'jboss.home.dir' | ||
path: bin |
File renamed without changes.
5 changes: 5 additions & 0 deletions
5
...urces/org/jboss/as/test/manualmode/management/persistence/yaml/test-indentation-wrong.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,5 @@ | ||
wildfly-configuration: | ||
socket-binding-group: | ||
standard-sockets: | ||
default-interface: public | ||
port-offset: ${jboss.socket.binding.port-offset:0} |
6 changes: 6 additions & 0 deletions
6
...nualmode/management/persistence/yaml/test-list-add-operation-to-non-existent-resource.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,6 @@ | ||
wildfly-configuration: | ||
subsystem: | ||
logging: | ||
root-logger: | ||
NON-EXISTENT: !list-add | ||
- level |
7 changes: 7 additions & 0 deletions
7
...s/test/manualmode/management/persistence/yaml/test-list-add-operation-to-string-fails.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,7 @@ | ||
wildfly-configuration: | ||
subsystem: | ||
logging: | ||
root-logger: | ||
ROOT: | ||
level: !list-add | ||
- TRACE |
File renamed without changes.
5 changes: 5 additions & 0 deletions
5
...s/org/jboss/as/test/manualmode/management/persistence/yaml/test-non-existent-resource.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,5 @@ | ||
wildfly-configuration: | ||
socket-binding-group: | ||
standard-sockets: | ||
default-interface: public | ||
non-existent-attribute: blabla |
16 changes: 16 additions & 0 deletions
16
...st/resources/org/jboss/as/test/manualmode/management/persistence/yaml/test-operations.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,16 @@ | ||
wildfly-configuration: | ||
socket-binding-group: | ||
standard-sockets: | ||
socket-binding: | ||
management-https: !remove | ||
|
||
subsystem: | ||
elytron: | ||
disallowed-providers: !undefine | ||
permission-set: | ||
default-permissions: | ||
permissions: !list-add | ||
- class-name: org.wildfly.security.auth.permission.LoginPermission | ||
module: org.wildfly.security.elytron-base | ||
target-name: "*" | ||
index: 0 |
4 changes: 4 additions & 0 deletions
4
...es/org/jboss/as/test/manualmode/management/persistence/yaml/test-port-offset-override.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,4 @@ | ||
wildfly-configuration: | ||
socket-binding-group: | ||
standard-sockets: | ||
port-offset: 0 |
6 changes: 6 additions & 0 deletions
6
...t/manualmode/management/persistence/yaml/test-remove-attribute-removes-above-resource.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,6 @@ | ||
wildfly-configuration: | ||
socket-binding-group: | ||
standard-sockets: | ||
socket-binding: | ||
management-https: | ||
port: !remove |
5 changes: 5 additions & 0 deletions
5
...boss/as/test/manualmode/management/persistence/yaml/test-remove-non-existent-resource.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,5 @@ | ||
wildfly-configuration: | ||
socket-binding-group: | ||
standard-sockets: | ||
remote-destination-outbound-socket-binding: | ||
non-existent-binding: !remove |
5 changes: 5 additions & 0 deletions
5
...resources/org/jboss/as/test/manualmode/management/persistence/yaml/test-remove-socket.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,5 @@ | ||
wildfly-configuration: | ||
socket-binding-group: | ||
standard-sockets: | ||
remote-destination-outbound-socket-binding: | ||
mail-snmt: !remove |
5 changes: 5 additions & 0 deletions
5
...jboss/as/test/manualmode/management/persistence/yaml/test-replacing-by-empty-resource.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,5 @@ | ||
wildfly-configuration: | ||
subsystem: | ||
logging: | ||
periodic-rotating-file-handler: | ||
FILE: |
5 changes: 5 additions & 0 deletions
5
...ss/as/test/manualmode/management/persistence/yaml/test-setting-non-existent-attribute.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,5 @@ | ||
wildfly-configuration: | ||
socket-binding-group: | ||
standard-sockets: | ||
default-interface: public | ||
non-existent-attribute: blabla |
10 changes: 10 additions & 0 deletions
10
...sources/org/jboss/as/test/manualmode/management/persistence/yaml/test-socket-override.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,10 @@ | ||
wildfly-configuration: | ||
socket-binding-group: | ||
standard-sockets: | ||
remote-destination-outbound-socket-binding: | ||
mail-snmt: | ||
host: foo-override | ||
port: 8083 | ||
foo2: | ||
host: foo2-override | ||
port: 8084 |
6 changes: 6 additions & 0 deletions
6
...s/as/test/manualmode/management/persistence/yaml/test-undefine-non-existent-attribute.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,6 @@ | ||
wildfly-configuration: | ||
socket-binding-group: | ||
standard-sockets: | ||
socket-binding: | ||
txn-status-manager: | ||
asfds: !undefine |
File renamed without changes.
File renamed without changes.
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