Skip to content

Commit

Permalink
New UCN YAML format updates (#1162)
Browse files Browse the repository at this point in the history
Following changes in
hazelcast/hazelcast-mono#2446 these config
examples need to be updated.
  • Loading branch information
JamesHazelcast authored Jul 4, 2024
1 parent c88401a commit 2b1b075
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 20 deletions.
24 changes: 13 additions & 11 deletions docs/modules/clusters/pages/ucn-member-side.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ user-code-namespaces:
blacklist:
class:
- com.acme.app.BeanComparator
myNameSpace: []
name-spaces:
myNameSpace: []
----
====
Expand Down Expand Up @@ -101,16 +102,17 @@ YAML::
user-code-namespaces:
enabled: true
...
myNameSpace:
- id: jarID
resource-type: JAR
url: "file:///yoursrc/class/usercodedeployment/MyJarFile.jar"
- id: MyJARsInZIPFileID
resource-type: JARS_IN_ZIP
url: "file:///yoursrc/class/usercodedeployment/MyJarZIP.zip"
- id: classId
resource-type: CLASS
url: "file:///yoursrc/class/usercodedeployment/MyClass.class"
name-spaces:
myNameSpace:
- id: jarID
resource-type: JAR
url: "file:///yoursrc/class/usercodedeployment/MyJarFile.jar"
- id: MyJARsInZIPFileID
resource-type: JARS_IN_ZIP
url: "file:///yoursrc/class/usercodedeployment/MyJarZIP.zip"
- id: classId
resource-type: CLASS
url: "file:///yoursrc/class/usercodedeployment/MyClass.class"
----
====
Expand Down
20 changes: 11 additions & 9 deletions docs/modules/clusters/pages/ucn-non-associated.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ YAML::
user-code-namespaces:
enabled: true
...
default:
name-spaces:
default:
----
====

Expand Down Expand Up @@ -92,14 +93,15 @@ YAML::
user-code-namespaces:
enabled: true
...
default:
- id: jarID
url: "file:///yoursrc/class/ucnDefaults/MyJarFile.jar"
- id: MyJARsInZIPFileID
url: "file:///yoursrc/class/ucnDefaults/MyJarZIP.zip"
- id: classId
resource-type: class
url: "file:///yoursrc/class/ucnDefaults/MyClass.class"
name-spaces:
default:
- id: jarID
url: "file:///yoursrc/class/ucnDefaults/MyJarFile.jar"
- id: MyJARsInZIPFileID
url: "file:///yoursrc/class/ucnDefaults/MyJarZIP.zip"
- id: classId
resource-type: class
url: "file:///yoursrc/class/ucnDefaults/MyClass.class"
----
====

Expand Down

0 comments on commit 2b1b075

Please sign in to comment.