we worked with Aniello and we fixed the issue ( for details see steps below
related to Jira ticket SDC-2196).
The procedure that we followed to add new resources requires to undeploy SDC,
build the code and redeploy the entire SDC. From an operation point of view it
is not a viable solution.
*Is there anyone that followed a different approach?*
We also faced with lack of documentation about the correct folder where to put
our custom resource. Is there anyone that can provide some information about
the *difference between the folders nfv-types, normative-types, heat-types,
etc* under {gerrit sdc code}/catalog-be/src/main/resources/import/tosca/
thanks?
best regards
Alessandro D'Alessandro
steps to fix the issue:
- Download SDC code from gerrit (git clone https://gerrit.onap.org/r/sdc (
https://mail.polito.it/SRedirect/CA95C01B/gerrit.onap.org/r/sdc ) ).
- Put cord-evc.yml and cord-evc.json to {gerrit sdc
code}/catalog-be/src/main/resources/import/tosca/heat-types/cord-evc/
- append new dataTypes to {gerrit sdc
code}/catalog-be/src/main/resources/import/tosca/data-types/datatypes.yml
- Add the new heatType name to the script "importHeatTypes.py" ({gerrit sdc
code}/catalog-be/src/main/resources/scripts/import/tosca ) into the array
HeatTypes
- Run: mvn clean install -P docker to build the docker image
- re-deploy SDC
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#16578): https://lists.onap.org/g/onap-discuss/message/16578
Mute This Topic: https://lists.onap.org/mt/31198417/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-