Hi All,
We have deployed ONAP(Istanbul version) over OOM. Post to that we are following 
below steps for Schema Map update.

cd oom
git clone " https://gerrit.onap.org/r/oom/utils "
cd utils
git fetch " https://gerrit.onap.org/r/oom/utils " refs/changes/ 94 / 123794 / 7 
&& git checkout FETCH_HEAD

vi /root/oom/utils/external-schema-repo-generator/generator/environment.config:
...
# Source repository configuration
REPOSITORY_URL_HTTPS=https\: //forge.3gpp.org/rep/sa5/MnS.git
REPOSITORY_BRANCH= "Tag_Rel17_SA96"
SCHEMAS_LOCATION=OpenAPI
...

make all

But during make command, we are getting below highlighted error.. Can someone 
please help to check what is the issue here? Is the problem with Schema 
Reference? *REPOSITORY_BRANCH=* *"Tag_Rel17_SA96"*

When we try with REPOSITORY_BRANCH= " Rel-16-SA-91 " or REPOSITORY_BRANCH= " 
Rel-17-SA-91 " , "make all" is working fine.

root@onap02-helper-vm:~/oom/utils/external-schema-repo-generator/generator# 
make all
./clean.sh generated
Nothing to clean. No directory: ./generated/
./generate.sh https\://forge.3gpp.org/rep/sa5/MnS.git "Tag_Rel17_SA96" OpenAPI 
3gpp external-repo-configmap-spec external-repo-configmap ves-snippet.md specs 
generated
Cloning repository from branch Tag_Rel17_SA96
Creating ConfigMap spec file: external-repo-configmap-spec-Tag_Rel17_SA96.yaml
Adding schemas from branch Tag_Rel17_SA96 to spec
Creating ConfigMap spec file: external-repo-configmap-spec-schema-map.yaml
Generating mapping file in spec
Adding mappings from branch: Tag_Rel17_SA96
Generating snippets in file: ves-snippet.md
Moving back to: /root/oom/utils/external-schema-repo-generator/generator
./install.sh external-repo-configmap-spec external-repo-configmap specs 
generated
Moving to directory containing specs: generated/specs
installing ./external-repo-configmap-spec-schema-map.yaml
Applying ConfigMap external-repo-configmap
configmap/external-repo-configmap-schema-map configured
installing ./external-repo-configmap-spec-Tag_Rel17_SA96.yaml
ConfigMap spec file is too long for 'kubectl apply'. Actual spec length: 
700455, max spec length: 262144
Creating new ConfigMap external-repo-configmap
*The ConfigMap "external-repo-configmap-tag_rel17_sa96" is invalid: 
metadata.name: Invalid value: "external-repo-configmap-tag_rel17_sa96": a 
DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or 
'.', and must start and end with an alphanumeric character (e.g. 'example.com', 
regex used for validation is 
'[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')*
Moving back to: /root/oom/utils/external-schema-repo-generator/generator

Regards,
Sundar


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#24388): https://lists.onap.org/g/onap-discuss/message/24388
Mute This Topic: https://lists.onap.org/mt/98199392/21656
Mute #istanbul:https://lists.onap.org/g/onap-discuss/mutehashtag/istanbul
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to