[UTILS] Fix and resolve remote references in standard defined domain 94/123794/18
authorKrzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>
Thu, 2 Sep 2021 07:39:44 +0000 (09:39 +0200)
committerKrzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>
Fri, 1 Oct 2021 14:23:46 +0000 (14:23 +0000)
commit5522f4473bc6f0256744b10f76a3ac3e06b8e654
treebc1d029718672c0b60c2d8ab1bb0b6ff012f3181
parent1898455d2fdd4c4f1f4914119e123babed60ce61
[UTILS] Fix and resolve remote references in standard defined domain

Add functionality to scripts that:
- Looks in cloned schema file for remote refs.
- Downloads remote refs to schema directory
- Splits schema directory directories less than 1mb
- Replace remote and local refs locations with local locations
and current directory structure
- Creates for each directory separate configmap less than 1mb

Signed-off-by: Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>
Issue-ID: DCAEGEN2-2893 DCAEGEN2-2894 DCAEGEN2-2895
Change-Id: Ia55e2fb29eb2fa6575821f12af5e22f0f1d8ff5a
external-schema-repo-generator/generator/Makefile
external-schema-repo-generator/generator/bin_packing.awk [new file with mode: 0644]
external-schema-repo-generator/generator/environment.config
external-schema-repo-generator/generator/generate.sh
external-schema-repo-generator/generator/utils.sh