summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates
diff options
context:
space:
mode:
authorSingh, Ajay (as396y) <as396y@att.com>2018-09-12 20:56:24 -0400
committerSingh, Ajay (as396y) <as396y@att.com>2018-09-12 21:08:50 -0400
commitb88285b4c955fe5ddc2736b8ab9dcd300817cb50 (patch)
treeb13a860ec4cea15a0156d46f87368d49e2eeb49a /platform-logic/restapi-templates
parente83869ac2ab813b27036d8c8dca068c903da82c2 (diff)
self-serve-generate-name DG changes
Refactor the naming genereation sub dg for assign and un-assign to trigger the name generation rest API directly Change-Id: Ie060bed01f6c694f34e2c2518b69873e4728bd71 Issue-ID: CCSDK-482 Signed-off-by: Singh, Ajay (as396y) <as396y@att.com> Former-commit-id: 582888bc81e55ef4bf11d34c95eb7ac589de51b0
Diffstat (limited to 'platform-logic/restapi-templates')
-rw-r--r--platform-logic/restapi-templates/src/main/json/naming-ms-post-gen-name.json13
1 files changed, 13 insertions, 0 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/naming-ms-post-gen-name.json b/platform-logic/restapi-templates/src/main/json/naming-ms-post-gen-name.json
new file mode 100644
index 00000000..1887aedb
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/naming-ms-post-gen-name.json
@@ -0,0 +1,13 @@
+{
+ "elements": [
+ ${repeat:tmp.gen-name_length:
+ {
+ ${repeat:tmp.gen-name[${1}].element_length:
+ ${tmp.gen-name[${1}].element[${2}].name}: ${tmp.gen-name[${1}].element[${2}].value}
+ ,
+ },
+ },
+ }
+
+ ]
+ } \ No newline at end of file