diff options
author | 2021-09-02 09:39:44 +0200 | |
---|---|---|
committer | 2021-10-01 14:23:46 +0000 | |
commit | 5522f4473bc6f0256744b10f76a3ac3e06b8e654 (patch) | |
tree | bc1d029718672c0b60c2d8ab1bb0b6ff012f3181 /external-schema-repo-generator/generator/environment.config | |
parent | 1898455d2fdd4c4f1f4914119e123babed60ce61 (diff) |
[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
Diffstat (limited to 'external-schema-repo-generator/generator/environment.config')
-rw-r--r-- | external-schema-repo-generator/generator/environment.config | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/external-schema-repo-generator/generator/environment.config b/external-schema-repo-generator/generator/environment.config index 95e94ba..86f70ad 100644 --- a/external-schema-repo-generator/generator/environment.config +++ b/external-schema-repo-generator/generator/environment.config @@ -9,8 +9,18 @@ EXTERNAL_REPO_CONFIGMAP_NAME_PREFIX=external-repo-configmap SNIPPET_FILENAME=ves-snippet.md # Source repository configuration +5G_API_REPOSITORY_URL_HTTPS=https\://forge.3gpp.org/rep/all/5G_APIs.git REPOSITORY_URL_HTTPS=https\://forge.3gpp.org/rep/sa5/MnS.git -REPOSITORY_BRANCH="SA88-Rel16 SA89-Rel17" +#REPOSITORY_BRANCH="Rel-16-SA-91" +#REPOSITORY_BRANCH="Rel-16-SA-91:TSG91-Rel16" +#REPOSITORY_BRANCH="SA88-Rel16" +# User can put here 5G_API specific repository tag name related to OPEN API schema branch after colon +# for example: Rel-16-SA-91:TSG91-Rel16 +# Having such information script will clone this specific 5G API branch and merge it with OPEN API schema +# If 5G_API specific repository branch after colon will not be set by user, then script will parse OPEN API if any +# reference to 5G_API specific repository is present and parse 5G_API branch from this reference. +# Next clone parsed 5G API branch and merge it with OPEN API schema +REPOSITORY_BRANCH="SA88-Rel16 Rel-16-SA-91:TSG91-Rel16 Rel-17-SA-91" SCHEMAS_LOCATION=OpenAPI # Vendor description |