Hi SDC team, Is there any documentation on the what needs to be done to add new artifact type in SDC?
If not, can you please validate below? I tried to check how existing artifacts are added to the SDC by searching in source code repository. I have searched with one artifact type "APPC_CONFIG". Taking that as input, I feel following changes are required. https://github.com/onap/sdc/blob/5b593496b8f1b8e8be8d7d2dbcc223332e65a49b/common-app-api/src/main/java/org/openecomp/sdc/common/api/ArtifactTypeEnum.java Add - CLOUD_TECHNOLOGY_DESCRIPTION("CLOUD_TECHNOLOGY_DESCRIPTION") in public enum ArtifactTypeEnum https://github.com/onap/sdc/blob/aedee1fdb2a8f86efcdcdbeb62b50eb9a3e8a1e1/asdctool/src/main/resources/config/configuration.yaml https://github.com/onap/sdc/blob/aedee1fdb2a8f86efcdcdbeb62b50eb9a3e8a1e1/catalog-be/src/main/resources/config/configuration.yaml https://github.com/onap/sdc/blob/b907a0ffe1e060e075018b69fc733f8cb3547020/asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/templates/default/configuration.yaml.erb https://github.com/onap/sdc/blob/5cc93c4c9e4750a4630afa6f4509438ca4925f51/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/BE-configuration.yaml.erb In all above four files, Add following " CLOUD_TECHNOLOGY_DESCRIPTION: acceptedTypes: validForResourceType: - VF " Is that good enough? Also, the file format for this description is a tar.gz file (which is binary file). Almost all of the artifact accepted types are yaml, xml etc... I hope SDC accepts the binary files as types too. I did not find any type that indicates 'binary' and hence left the acceptedTypes blank. Please let us know if there are gaps you see in this. Thanks Srini -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15059): https://lists.onap.org/g/onap-discuss/message/15059 Mute This Topic: https://lists.onap.org/mt/29382106/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
