From 2b1b0755f12de30d82f4707de8ef6c52430678e5 Mon Sep 17 00:00:00 2001 From: James Holgate <130981049+JamesHazelcast@users.noreply.github.com> Date: Thu, 4 Jul 2024 12:35:00 +0100 Subject: [PATCH] New UCN YAML format updates (#1162) Following changes in https://github.com/hazelcast/hazelcast-mono/pull/2446 these config examples need to be updated. --- .../clusters/pages/ucn-member-side.adoc | 24 ++++++++++--------- .../clusters/pages/ucn-non-associated.adoc | 20 +++++++++------- 2 files changed, 24 insertions(+), 20 deletions(-) diff --git a/docs/modules/clusters/pages/ucn-member-side.adoc b/docs/modules/clusters/pages/ucn-member-side.adoc index 28dff4451..f3ac610d8 100644 --- a/docs/modules/clusters/pages/ucn-member-side.adoc +++ b/docs/modules/clusters/pages/ucn-member-side.adoc @@ -60,7 +60,8 @@ user-code-namespaces: blacklist: class: - com.acme.app.BeanComparator - myNameSpace: [] + name-spaces: + myNameSpace: [] ---- ==== @@ -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" ---- ==== diff --git a/docs/modules/clusters/pages/ucn-non-associated.adoc b/docs/modules/clusters/pages/ucn-non-associated.adoc index 8a6ef3f2f..5e48bdb84 100644 --- a/docs/modules/clusters/pages/ucn-non-associated.adoc +++ b/docs/modules/clusters/pages/ucn-non-associated.adoc @@ -53,7 +53,8 @@ YAML:: user-code-namespaces: enabled: true ... - default: + name-spaces: + default: ---- ==== @@ -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" ---- ====