Hi Seb,
I check BE/Onboarding server logs, there are multiple warn records about: 2020-11-23 15:29:37.624:WARN:oeja.AnnotationParser:qtp215145189-16: org.aspectj.internal.lang.reflect.DeclareErrorOrWarningImpl scanned from multiple locations: jar:file:///tmp/jetty-0.0.0.0-8081-onboarding-be-1.5.2-SNAPSHOT.war-_onboarding-be-1.5.2-SNAPSHOT-any-4717463164343493158.dir/webapp/WEB-INF/lib/aspectjrt-1.8.9.jar!/org/aspectj/internal/lang/reflect/DeclareErrorOrWarningImpl.class, jar:file:///tmp/jetty-0.0.0.0-8081-onboarding-be-1.5.2-SNAPSHOT.war-_onboarding-be-1.5.2-SNAPSHOT-any-4717463164343493158.dir/webapp/WEB-INF/lib/aspectjweaver-1.8.9.jar!/org/aspectj/internal/lang/reflect/DeclareErrorOrWarningImpl.class In sdc-BE `/var/lib/jetty/logs/importNormativeAll.log`, there is no further stack trace. By the way, I want to check how to ‘merge’ (or pack ) my customed datatypes into a CSAR package, data.yml file more specifically. Base on my limited experience, I managed to use ‘assign a default value in customed datatype to CSAR. I want to find out the decent solution instead of this trick. BR, Zhuangyang From: <[email protected]> on behalf of sebdet <[email protected]> Reply to: <[email protected]>, <[email protected]> Date: Wednesday, November 25, 2020 at 12:19 AM To: "[email protected]" <[email protected]>, "[email protected]" <[email protected]> Subject: Re: [onap-discuss] #sdc importNormativeAll.log indicates 500 when invoking newly added datatype Hi, Have you look at the BE/Onboarding server logs as well ? No additional stack trace ? We will try your modification on our side and investigate it as well. Thanks, Seb From: [email protected] <[email protected]> On Behalf Of Zhuangyang Chen Sent: Monday, November 23, 2020 4:52 PM To: [email protected] Subject: [onap-discuss] #sdc importNormativeAll.log indicates 500 when invoking newly added datatype Hi team, I added one datatype in catalog-be/src/main/resources/import/tosca/datatype/datatypes.yml as: tosca.datatype.vpn.Ipv4LocalPoolServerParameters: derived_from: tosca.datatypes.Root description: VRF INFO properties: dnsServerIpList: type: list default: [ ] entry_schema: type: string Then invoking this datatype from newly add node: tosca_definitions_version: tosca_simple_yaml_1_0_0 node_types: org.openecomp.resource.vfc.vrftestv1: derived_from: tosca.nodes.Root description: VRF INFO properties: ipv4LocalPoolServer: type: tosca.datatype.vpn.Ipv4LocalPoolServerParameters But there is a 500 error in `/var/lib/jetty/logs/importNormativeAll.log` Are there any more detailed logs I could dig in? Or any ideas? BR, Zhuangyang -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22543): https://lists.onap.org/g/onap-discuss/message/22543 Mute This Topic: https://lists.onap.org/mt/78455863/21656 Mute #sdc:https://lists.onap.org/g/onap-discuss/mutehashtag/sdc Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
