blob: 34c09fdf7cd8b268df5cf3eaa468f40861462b5b [file] [log] [blame]
ChrisC025301d2017-01-31 11:40:03 +01001SDNC Adapter is a conduit between MSO BPEL and SDNC
2SOAP requests from BPEL are sent as REST requests to SDNC
3BPEL get a SYNC response (with no data) right away
4On SDNC SYNC response, BPEL is sent an ASYNC (callback) response
5On SDNC ASYNC responses/notifications, BPEL is sent ASYNC responses
6Failure to send request to SDNC results in header to BPEL with respCode(4xx,5xx) and msg
7Success in sending requests to SDNC results in header to BPEL with 2xx respCode to BPEL and data received from SDNC
8SDNC data might have failures or success
9
10SDNCAdapter behaviour on being deployed in JBOSS
11-------------------------------------------------
12http://host:port/ - JBOSS Default Msg (Welcome to JBoss EAP 6)
13
14http://host:port/adapters/[check.html] - Application Ready
15
16http://host:port/adapters/rest/[anything] - SDNC Adapter Rest Services [: Anything]
17
18http://host:port/adapters/rest/properties/show - Lists all the properties loaded
19 org.openecomp.mso.adapters.sdnc.bpelcauth=avosAdmin:jboss123
20 org.openecomp.mso.adapters.sdnc.sdncconnecttime=2000
21 org.openecomp.mso.adapters.sdnc.myurl=http://192.20.205.182:8380/adapters/rest/SDNCNotify
22 org.openecomp.mso.adapters.sdnc.sdncurl=https://odl.node01.it.app.sdn.labs.att.com:8443/restconf/operations/L3SDN-API:
23 org.openecomp.mso.adapters.sdnc.sdncauth=admin:admin
24 org.openecomp.mso.adapters.sdnc.bpelurl=http://NJCDTL21RA1926.ITServices.sbc.com:8088/mockSDNCCallbackAdapterSoapHttpBinding?wsdl
25 org.openecomp.mso.adapters.sdnc.sdncreadtime=5000
26
27http://host:port/adapters/rest/properties/reload - Reloads all the properties
28 from $configDir/$configFile : /etc/ecomp/mso/config/mso.sdnc.properties
29
30http://host:port/adapters/rest/logging/setLevel//{logContext}/{level}") - changes application loglevel
31 where level is one of (ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF)
32 e.g
33 http://192.20.205.182:8380/adapters/rest/logging/setLevel/ROOT/INFO
34 log Level set to: INFO for
35 http://192.20.205.182:8380/adapters/rest/logging/setLevel/ROOT/INFO
36 log Level set to: DEBUG for com.att
37 http://192.20.205.182:8380/adapters/rest/logging/setLevel/garbage/DEBUG
38 Unknown logger: garbage
39
40http://host:port/adapters/rest/logging/loggers - shows all the loggers
41 :DEBUG (DEBUG)
42 com.att:INFO (INFO)
43 org.openecomp.mso:DEBUG (DEBUG)
44 org.openecomp.mso.adapters.sdnc.impl.SDNCAdapterPortTypeImpl:null (DEBUG)
45 org.openecomp.mso.adapters.sdnc.impl.SDNCRestClient:null (DEBUG)
46 org.openecomp.mso.adapters.sdnc.client.SDNCCallbackAdapterService:null (DEBUG)
47 org.openecomp.mso.adapters.sdnc.client.SDNCAdapterCallbackRequest:null (DEBUG)
48 org.openecomp.mso.adapters.sdnc.SDNCAdapterRequest:null (DEBUG)
49 org.openecomp.mso.adapters.sdnc.notify.SDNCNotifyResource:null (DEBUG)
50 org.openecomp.mso.adapters.vnf.MsoVnfAdapterImpl:null (DEBUG)
51 org.openecomp.mso.adapters.network.MsoNetworkAdapterImpl:null (DEBUG)
52 org.openecomp.mso.logger.MsoLoggingServlet:null (DEBUG)
53 org.openecomp.mso.logger.MsoLogger:null (DEBUG)
54 org.openecomp.mso.properties.MsoProperties:null (DEBUG)
55 org.openecomp.mso.properties.MsoPropertyInitializer:null (DEBUG)
56 org.jboss.resteasy.plugins.providers.YamlProvider:null (DEBUG)
57 org.jboss.resteasy.plugins.providers.RegisterBuiltin:null (DEBUG)
58 org.jboss.resteasy.plugins.providers.DocumentProvider:null (DEBUG)
59 org.jboss.resteasy.plugins.providers.IIOImageProvider:null (DEBUG)
60 org.jboss.resteasy.plugins.server.servlet.ConfigurationBootstrap:null (DEBUG)
61 org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher:null (DEBUG)
62 org.jboss.resteasy.spi.ResteasyDeployment:null (DEBUG)
63 org.jboss.resteasy.core.SynchronousDispatcher:null (DEBUG)
64 org.jboss.resteasy.core.ResourceMethodRegistry:null (DEBUG)
65 org.jboss.resteasy.util.PickConstructor:null (DEBUG)
66
67SDNC Adapter will use ActiveRequests DB to track SDNC_CALLBACK_BPEL_URL