Uploaded image for project: 'Microservices Bus'
  1. Microservices Bus
  2. MSB-308

How to register SO with MSB for service instantiation

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • None
    • None

      PFB logs

      2018-12-26 07:10:17.121 INFO 457 — [http-nio-8082-exec-7] o.o.u.s.s.l.i.DefaultServiceLcmService : so instantiate is starting
      2018-12-26 07:10:17.121 INFO 457 — [http-nio-8082-exec-7] o.o.u.server.util.RestfulServices : The request body content is: {"service":{"name":"Tosca","description":"ts","serviceInvariantUuid":"01b17864-add6-4e72-88dd-f5698bbce4e5","serviceUuid":"03d116ef-2922-42bc-8b37-5afebaae96b5","globalSubscriberId":"demo","serviceType":"E2E","parameters":{"locationConstraints":[],"resources":[{"resourceName":"FH-01 Service Proxy","resourceInvariantUuid":"efe08a34-3691-41d7-a6dc-09f84e555488","resourceUuid":"39b178e9-4e43-42d7-a610-ef3e049b267b","resourceCustomizationUuid":"5c64f9c3-bb34-4df3-9009-94d997d4b11c","parameters":{"locationConstraints":[],"resources":[],"requestInputs":{}}}],"requestInputs":{}}}}
      2018-12-26 07:10:17.132 ERROR 457 — [main] o.o.u.server.util.DmaapSubscriber : getDMaaP Information failed :MessageBodyReader not found for media type=text/html;charset=UTF-8, type=interface java.util.List, genericType=interface java.util.List.
      2018-12-26 07:10:17.145 INFO 457 — [http-nio-8082-exec-7] o.o.u.s.s.l.i.DefaultServiceLcmService : so instantiate has finished
      2018-12-26 07:10:17.146 ERROR 457 — [http-nio-8082-exec-7] o.o.u.s.s.l.i.DefaultServiceLcmService : Can not instantiate service[code=502, message=Bad Gateway]
      2018-12-26 07:10:17.147 ERROR 457 — [http-nio-8082-exec-7] o.a.c.c.C.[.[.[.[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [/api/usecaseui/server/v1] threw exception [Request processing failed; nested exception is org.onap.usecaseui.server.service.lcm.domain.so.exceptions.SOException: SO Service is not available!] with root cause

      org.onap.usecaseui.server.service.lcm.domain.so.exceptions.SOException: SO instantiate service failed!
      at org.onap.usecaseui.server.service.lcm.impl.DefaultServiceLcmService.instantiateService(DefaultServiceLcmService.java:69) ~[classes!/:na]
      at org.onap.usecaseui.server.controller.lcm.ServiceLcmController.instantiateService(ServiceLcmController.java:52) ~[classes!/:na]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_171]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_171]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_171]
      at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_171]

      :

       

            suryanshpratap suryanshpratap
            suryanshpratap suryanshpratap
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: