regexp: wrong basic header: -u sample1:sample1 ves curl -vk --cert rootCA.crt --key rootCA.key --pass collector -u sample1:sample1 -vX POST https://localhost:8443/eventListener/v7/eventBatch -d @event_list.json --header "Content-Type: application/json" Note: Unnecessary use of -X or --request, POST is already inferred. * Trying 127.0.0.1... * TCP_NODELAY set * Connected to localhost (127.0.0.1) port 8443 (#0) * ALPN, offering h2 * ALPN, offering http/1.1 * successfully set certificate verify locations: * CAfile: /etc/ssl/certs/ca-certificates.crt CApath: /etc/ssl/certs * TLSv1.2 (OUT), TLS handshake, Client hello (1): * TLSv1.2 (IN), TLS handshake, Server hello (2): * TLSv1.2 (IN), TLS handshake, Certificate (11): * TLSv1.2 (IN), TLS handshake, Server key exchange (12): * TLSv1.2 (IN), TLS handshake, Server finished (14): * TLSv1.2 (OUT), TLS handshake, Client key exchange (16): * TLSv1.2 (OUT), TLS change cipher, Client hello (1): * TLSv1.2 (OUT), TLS handshake, Finished (20): * TLSv1.2 (IN), TLS handshake, Finished (20): * SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384 * ALPN, server did not agree to a protocol * Server certificate: * subject: C=US; ST=NJ; L=Middletown; O=DCAE; OU=OPEN-DCAE; CN=DCAELOCAL * start date: Oct 20 19:24:22 2016 GMT * expire date: Jan 18 19:24:22 2017 GMT * issuer: C=US; ST=NJ; L=Middletown; O=DCAE; OU=OPEN-DCAE; CN=DCAELOCAL * SSL certificate verify result: self signed certificate (18), continuing anyway. * Server auth using Basic with user 'sample1' > POST /eventListener/v7/eventBatch HTTP/1.1 > Host: localhost:8443 > Authorization: Basic c2FtcGxlMTpzYW1wbGUx > User-Agent: curl/7.58.0 > Accept: */* > Content-Type: application/json > Content-Length: 2428 > Expect: 100-continue > < HTTP/1.1 100 * We are completely uploaded and fine < HTTP/1.1 202 < Content-Type: application/json < Content-Length: 8 < Date: Wed, 17 Apr 2019 12:32:26 GMT < * Connection #0 to host localhost left intact Accepted% 14:32:23.303 [main] DEBUG org.apache.commons.configuration.PropertiesConfiguration - Base path set to file:///home/zlatko/repo/onap/dcaegen2/collectors/ves/etc/collector.properties __ __ _____ ____ ____ _ _ _ \ \ / / | ____| / ___| / ___| ___ | | | | ___ ___ | |_ ___ _ __ \ \ / / | _| \___ \ | | / _ \ | | | | / _ \ / __| | __| / _ \ | '__| \ V / | |___ ___) | | |___ | (_) | | | | | | __/ | (__ | |_ | (_) | | | \_/ |_____| |____/ \____| \___/ |_| |_| \___| \___| \__| \___/ |_| 2019-04-17 14:32:24.042 INFO 5851 --- [ main] org.onap.dcae.VesApplication : Starting VesApplication on murgoski with PID 5851 (/home/zlatko/repo/onap/dcaegen2/collectors/ves/target/classes started by zlatko in /home/zlatko/repo/onap/dcaegen2/collectors/ves) 2019-04-17 14:32:24.043 INFO 5851 --- [ main] org.onap.dcae.VesApplication : No active profile set, falling back to default profiles: default 2019-04-17 14:32:24.859 INFO 5851 --- [ main] o.o.dcae.common.configuration.CertAuth : Enabling SSL 2019-04-17 14:32:24.859 INFO 5851 --- [ main] o.o.dcae.common.configuration.CertAuth : Using keyStore path: /home/zlatko/repo/onap/dcaegen2/collectors/ves/etc/keystore 2019-04-17 14:32:24.859 INFO 5851 --- [ main] o.o.dcae.common.configuration.CertAuth : Using keyStore password from: /home/zlatko/repo/onap/dcaegen2/collectors/ves/etc/passwordfile 2019-04-17 14:32:24.869 INFO 5851 --- [ main] o.o.dcae.common.configuration.CertAuth : Actual key store alias is: tomcat 2019-04-17 14:32:24.870 INFO 5851 --- [ main] o.o.dcae.common.configuration.BasicAuth : Application work in basicAuth mode on 8443 port. 2019-04-17 14:32:25.015 INFO 5851 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8443 (https) 2019-04-17 14:32:25.027 INFO 5851 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2019-04-17 14:32:25.028 INFO 5851 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/9.0.12 2019-04-17 14:32:25.032 INFO 5851 --- [ main] o.a.catalina.core.AprLifecycleListener : The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib] 2019-04-17 14:32:25.091 INFO 5851 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2019-04-17 14:32:25.091 INFO 5851 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 1017 ms 2019-04-17 14:32:25.105 INFO 5851 --- [ main] o.s.b.w.servlet.ServletRegistrationBean : Servlet dispatcherServlet mapped to [/] 2019-04-17 14:32:25.108 INFO 5851 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*] 2019-04-17 14:32:25.468 INFO 5851 --- [ main] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [public org.springframework.http.ResponseEntity springfox.documentation.swagger2.web.Swagger2Controller.getDocumentation(java.lang.String,javax.servlet.http.HttpServletRequest)] 2019-04-17 14:32:25.566 INFO 5851 --- [ main] d.s.w.p.DocumentationPluginsBootstrapper : Context refreshed 2019-04-17 14:32:25.574 INFO 5851 --- [ main] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) 2019-04-17 14:32:25.595 INFO 5851 --- [ main] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references 2019-04-17 14:32:25.703 INFO 5851 --- [ main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: receiveEventUsingPOST_1 2019-04-17 14:32:25.705 INFO 5851 --- [ main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: receiveEventUsingPOST_2 2019-04-17 14:32:25.706 INFO 5851 --- [ main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: receiveEventUsingPOST_3 2019-04-17 14:32:25.707 INFO 5851 --- [ main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: receiveEventUsingPOST_4 2019-04-17 14:32:25.708 INFO 5851 --- [ main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: receiveEventUsingPOST_5 2019-04-17 14:32:25.710 INFO 5851 --- [ main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: receiveEventUsingPOST_6 2019-04-17 14:32:25.711 INFO 5851 --- [ main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: receiveEventUsingPOST_7 2019-04-17 14:32:25.713 INFO 5851 --- [ main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: receiveEventUsingPOST_8 2019-04-17 14:32:25.714 INFO 5851 --- [ main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: receiveEventUsingPOST_9 2019-04-17 14:32:25.715 INFO 5851 --- [ main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: receiveEventUsingPOST_10 2019-04-17 14:32:25.716 INFO 5851 --- [ main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: receiveEventUsingPOST_11 2019-04-17 14:32:25.868 INFO 5851 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8443 (https) with context path '' 2019-04-17 14:32:25.871 INFO 5851 --- [ main] org.onap.dcae.VesApplication : Started VesApplication in 2.258 seconds (JVM running for 3.025) 2019-04-17 14:32:25.873 INFO 5851 --- [ main] org.onap.dcae.controller.ConfigLoader : Trying to dynamically update config from Config Binding Service 2019-04-17 14:32:25.874 INFO 5851 --- [ main] o.o.dcae.controller.EnvPropertiesReader : Loading necessary environment variables for dynamic configuration update 2019-04-17 14:32:25.874 WARN 5851 --- [ main] o.o.dcae.controller.EnvPropertiesReader : Consul port (env var: 'CONSUL_PORT') is missing from environment variables. Using default value of 8500 2019-04-17 14:32:25.874 WARN 5851 --- [ main] o.o.dcae.controller.EnvPropertiesReader : Consul protocol (env var: 'CONSUL_PROTOCOL') is missing from environment variables. 2019-04-17 14:32:25.874 WARN 5851 --- [ main] o.o.dcae.controller.EnvPropertiesReader : Consul protocol (env var: 'CBS_PROTOCOL') is missing from environment variables. 2019-04-17 14:32:25.875 WARN 5851 --- [ main] o.o.dcae.controller.EnvPropertiesReader : Consul host (env var: 'CONSUL_HOST') (without port) is missing from environment variables. 2019-04-17 14:32:25.875 WARN 5851 --- [ main] o.o.dcae.controller.EnvPropertiesReader : Name of CBS Service (as registered in Consul) (env var: 'CONFIG_BINDING_SERVICE') is missing from environment variables. 2019-04-17 14:32:25.875 WARN 5851 --- [ main] o.o.dcae.controller.EnvPropertiesReader : App service name (as registered in CBS) (env var: 'HOSTNAME' / 'SERVICE_NAME') is missing error environment variables. 2019-04-17 14:32:25.880 WARN 5851 --- [ main] o.o.dcae.controller.EnvPropertiesReader : Some required environment variables are missing 2019-04-17 14:32:25.880 WARN 5851 --- [ main] org.onap.dcae.controller.ConfigLoader : Skipping dynamic configuration update 2019-04-17 14:32:26.714 INFO 5851 --- [nio-8443-exec-4] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' 2019-04-17 14:32:26.714 INFO 5851 --- [nio-8443-exec-4] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 2019-04-17 14:32:26.719 INFO 5851 --- [nio-8443-exec-4] o.s.web.servlet.DispatcherServlet : Completed initialization in 5 ms 2019-04-17 14:32:26.729 INFO 5851 --- [nio-8443-exec-4] o.onap.dcae.restapi.ApiAuthInterceptor : SubjectDN didn't match with any regexp from /home/zlatko/repo/onap/dcaegen2/collectors/ves/etc/certSubjectMatcher.properties 2019-04-17 14:32:26.833 INFO 5851 --- [nio-8443-exec-4] o.onap.dcae.restapi.ApiAuthInterceptor : Request is authorized by basic auth 2019-04-17 14:32:26.853 INFO 5851 --- [nio-8443-exec-4] org.onap.dcae.common.input : Received a VESEvent '{"eventList":[{"commonEventHeader":{"sourceId":"de305d54-75b4-431b-adb2-eb6b9e546014","startEpochMicrosec":1413378172000000,"eventId":"fault0000250","nfcNamingCode":"ssc","timeZoneOffset":"UTC-05:30","reportingEntityId":"cc305d54-75b4-431b-adb2-eb6b9e541234","priority":"High","version":"4.0.1","nfVendorName":"Ericsson","reportingEntityName":"ibcx0001vm002oam0011234","sequence":1,"domain":"fault","lastEpochMicrosec":1413378172000000,"eventName":"Fault_Vscf:Acs-Ericcson_PilotNumberPoolExhaustion","vesEventListenerVersion":"7.0.1","sourceName":"scfx0001vm002cap001","nfNamingCode":"scfx"},"faultFields":{"eventSeverity":"CRITICAL","alarmCondition":"PilotNumberPoolExhaustion","faultFieldsVersion":"4.0","specificProblem":"Calls cannot complete - pilot numbers are unavailable","alarmAdditionalInformation":{"PilotNumberPoolSize":"1000"},"eventSourceType":"other","vfStatus":"Active"}},{"commonEventHeader":{"sourceId":"de305d54-75b4-431b-adb2-eb6b9e546014","startEpochMicrosec":1413378172000010,"eventId":"fault0000251","nfcNamingCode":"ssc","timeZoneOffset":"UTC-05:30","reportingEntityId":"cc305d54-75b4-431b-adb2-eb6b9e541234","priority":"High","version":"4.0.1","nfVendorName":"Ericsson","reportingEntityName":"ibcx0001vm002oam0011234","sequence":0,"domain":"fault","lastEpochMicrosec":1413378172000010,"eventName":" Fault_Vscf:Acs-Ericcson_RecordingServerUnreachable","vesEventListenerVersion":"7.0.1","sourceName":"scfx0001vm002cap001","nfNamingCode":"scfx"},"faultFields":{"eventSeverity":"CRITICAL","alarmCondition":"RecordingServerUnreachable","faultFieldsVersion":"4.0","specificProblem":"Recording server unreachable","eventSourceType":"other","vfStatus":"Active"}}]}', marked with unique identifier '613f03ad-99ba-4497-a2af-4437c73298a7', on api version 'v7', from host: '127.0.0.1' 2019-04-17 14:32:26.894 INFO 5851 --- [nio-8443-exec-4] com.att.ecomp.metrics : EVENT_PUBLISH_START 2019-04-17 14:32:26.894 INFO 5851 --- [pool-3-thread-1] org.onap.dcae.common.EventProcessor : QueueSize:0 EventProcessor Removing element: {"VESversion":"v7","VESuniqueId":"613f03ad-99ba-4497-a2af-4437c73298a7-0","event":{"commonEventHeader":{"sourceId":"de305d54-75b4-431b-adb2-eb6b9e546014","startEpochMicrosec":1413378172000000,"eventId":"fault0000250","nfcNamingCode":"ssc","timeZoneOffset":"UTC-05:30","reportingEntityId":"cc305d54-75b4-431b-adb2-eb6b9e541234","priority":"High","version":"4.0.1","nfVendorName":"Ericsson","reportingEntityName":"ibcx0001vm002oam0011234","sequence":1,"domain":"fault","lastEpochMicrosec":1413378172000000,"eventName":"Fault_Vscf:Acs-Ericcson_PilotNumberPoolExhaustion","vesEventListenerVersion":"7.0.1","sourceName":"scfx0001vm002cap001","nfNamingCode":"scfx"},"faultFields":{"eventSeverity":"CRITICAL","alarmCondition":"PilotNumberPoolExhaustion","faultFieldsVersion":"4.0","specificProblem":"Calls cannot complete - pilot numbers are unavailable","alarmAdditionalInformation":{"PilotNumberPoolSize":"1000"},"eventSourceType":"other","vfStatus":"Active"}}} 2019-04-17 14:32:26.895 INFO 5851 --- [nio-8443-exec-4] com.att.ecomp.metrics : EVENT_PUBLISH_START 2019-04-17 14:32:26.895 INFO 5851 --- [nio-8443-exec-4] com.att.ecomp.metrics : EVENT_PUBLISH_END 2019-04-17 14:32:26.896 INFO 5851 --- [pool-3-thread-1] org.onap.dcae.common.EventSender : Invoking publisher for streamId:ves-fault 2019-04-17 14:32:26.896 INFO 5851 --- [pool-3-thread-1] org.onap.dcae.common.EventSender : parse eventTransform.json 2019-04-17 14:32:26.897 INFO 5851 --- [pool-3-thread-2] org.onap.dcae.common.EventProcessor : QueueSize:0 EventProcessor Removing element: {"VESversion":"v7","VESuniqueId":"613f03ad-99ba-4497-a2af-4437c73298a7-1","event":{"commonEventHeader":{"sourceId":"de305d54-75b4-431b-adb2-eb6b9e546014","startEpochMicrosec":1413378172000010,"eventId":"fault0000251","nfcNamingCode":"ssc","timeZoneOffset":"UTC-05:30","reportingEntityId":"cc305d54-75b4-431b-adb2-eb6b9e541234","priority":"High","version":"4.0.1","nfVendorName":"Ericsson","reportingEntityName":"ibcx0001vm002oam0011234","sequence":0,"domain":"fault","lastEpochMicrosec":1413378172000010,"eventName":" Fault_Vscf:Acs-Ericcson_RecordingServerUnreachable","vesEventListenerVersion":"7.0.1","sourceName":"scfx0001vm002cap001","nfNamingCode":"scfx"},"faultFields":{"eventSeverity":"CRITICAL","alarmCondition":"RecordingServerUnreachable","faultFieldsVersion":"4.0","specificProblem":"Recording server unreachable","eventSourceType":"other","vfStatus":"Active"}}} 2019-04-17 14:32:26.897 INFO 5851 --- [pool-3-thread-2] org.onap.dcae.common.EventSender : Invoking publisher for streamId:ves-fault 2019-04-17 14:32:26.898 INFO 5851 --- [pool-3-thread-2] org.onap.dcae.common.EventSender : parse eventTransform.json 2019-04-17 14:32:26.926 INFO 5851 --- [pool-3-thread-1] org.onap.dcae.common.ConfigProcessors : heartbeat==event.commonEventHeader.domain==fault==false 2019-04-17 14:32:26.927 INFO 5851 --- [pool-3-thread-1] org.onap.dcae.common.EventSender : functionName==addAttribute | args=={"field":"event.commonEventHeader.version","value":"3.0","fieldType":"number"} 2019-04-17 14:32:26.927 INFO 5851 --- [pool-3-thread-1] org.onap.dcae.common.ConfigProcessors : fieldType==number 2019-04-17 14:32:26.928 ERROR 5851 --- [pool-3-thread-1] org.onap.dcae.common.EventSender : EventProcessor Exceptionnulljava.lang.reflect.InvocationTargetExceptionjava.lang.NumberFormatException: For input string: "3,0" 2019-04-17 14:32:26.928 INFO 5851 --- [pool-3-thread-1] org.onap.dcae.common.EventSender : functionName==addAttribute | args=={"field":"event.faultFields.faultFieldsVersion","value":"3.0","fieldType":"number"} 2019-04-17 14:32:26.929 INFO 5851 --- [pool-3-thread-1] org.onap.dcae.common.ConfigProcessors : fieldType==number 2019-04-17 14:32:26.929 ERROR 5851 --- [pool-3-thread-1] org.onap.dcae.common.EventSender : EventProcessor Exceptionnulljava.lang.reflect.InvocationTargetExceptionjava.lang.NumberFormatException: For input string: "3,0" 2019-04-17 14:32:26.929 INFO 5851 --- [pool-3-thread-1] org.onap.dcae.common.EventSender : functionName==map | args=={"field":"event.faultFields.alarmAdditionalInformation","mapType":"HashmapToNameValueArray"} 2019-04-17 14:32:26.929 ERROR 5851 --- [pool-3-thread-1] org.onap.dcae.common.EventSender : EventProcessor Exceptionnulljava.lang.reflect.InvocationTargetExceptionorg.json.JSONException: JSONObject["oldField"] not found. 2019-04-17 14:32:26.929 INFO 5851 --- [pool-3-thread-2] org.onap.dcae.common.ConfigProcessors : heartbeat==event.commonEventHeader.domain==fault==false 2019-04-17 14:32:26.929 INFO 5851 --- [pool-3-thread-1] org.onap.dcae.common.ConfigProcessors : thresholdCrossingAlert==event.commonEventHeader.domain==fault==false 2019-04-17 14:32:26.929 INFO 5851 --- [pool-3-thread-2] org.onap.dcae.common.EventSender : functionName==addAttribute | args=={"field":"event.commonEventHeader.version","value":"3.0","fieldType":"number"} 2019-04-17 14:32:26.929 INFO 5851 --- [pool-3-thread-1] org.onap.dcae.common.ConfigProcessors : measurement==event.commonEventHeader.domain==fault==false 2019-04-17 14:32:26.929 INFO 5851 --- [pool-3-thread-2] org.onap.dcae.common.ConfigProcessors : fieldType==number 2019-04-17 14:32:26.929 INFO 5851 --- [pool-3-thread-1] org.onap.dcae.common.ConfigProcessors : v4==VESversion==v7==false 2019-04-17 14:32:26.929 ERROR 5851 --- [pool-3-thread-2] org.onap.dcae.common.EventSender : EventProcessor Exceptionnulljava.lang.reflect.InvocationTargetExceptionjava.lang.NumberFormatException: For input string: "3,0" 2019-04-17 14:32:26.929 INFO 5851 --- [pool-3-thread-1] org.onap.dcae.common.ConfigProcessors : v4==VESversion==v7==false 2019-04-17 14:32:26.929 INFO 5851 --- [pool-3-thread-2] org.onap.dcae.common.EventSender : functionName==addAttribute | args=={"field":"event.faultFields.faultFieldsVersion","value":"3.0","fieldType":"number"} 2019-04-17 14:32:26.929 INFO 5851 --- [pool-3-thread-1] org.onap.dcae.common.ConfigProcessors : v4==VESversion==v7==false 2019-04-17 14:32:26.929 INFO 5851 --- [pool-3-thread-2] org.onap.dcae.common.ConfigProcessors : fieldType==number 2019-04-17 14:32:26.929 INFO 5851 --- [pool-3-thread-1] org.onap.dcae.common.ConfigProcessors : v4==VESversion==v7==false 2019-04-17 14:32:26.929 ERROR 5851 --- [pool-3-thread-2] org.onap.dcae.common.EventSender : EventProcessor Exceptionnulljava.lang.reflect.InvocationTargetExceptionjava.lang.NumberFormatException: For input string: "3,0" 2019-04-17 14:32:26.929 INFO 5851 --- [pool-3-thread-2] org.onap.dcae.common.EventSender : functionName==map | args=={"field":"event.faultFields.alarmAdditionalInformation","mapType":"HashmapToNameValueArray"} 2019-04-17 14:32:26.930 ERROR 5851 --- [pool-3-thread-2] org.onap.dcae.common.EventSender : EventProcessor Exceptionnulljava.lang.reflect.InvocationTargetExceptionorg.json.JSONException: JSONObject["oldField"] not found. 2019-04-17 14:32:26.930 INFO 5851 --- [pool-3-thread-2] org.onap.dcae.common.ConfigProcessors : thresholdCrossingAlert==event.commonEventHeader.domain==fault==false 2019-04-17 14:32:26.930 INFO 5851 --- [pool-3-thread-2] org.onap.dcae.common.ConfigProcessors : measurement==event.commonEventHeader.domain==fault==false 2019-04-17 14:32:26.930 INFO 5851 --- [pool-3-thread-2] org.onap.dcae.common.ConfigProcessors : v4==VESversion==v7==false 2019-04-17 14:32:26.930 INFO 5851 --- [pool-3-thread-2] org.onap.dcae.common.ConfigProcessors : v4==VESversion==v7==false 2019-04-17 14:32:26.930 INFO 5851 --- [pool-3-thread-2] org.onap.dcae.common.ConfigProcessors : v4==VESversion==v7==false 2019-04-17 14:32:26.930 INFO 5851 --- [pool-3-thread-2] org.onap.dcae.common.ConfigProcessors : v4==VESversion==v7==false 2019-04-17 14:32:26.984 INFO 5851 --- [pool-3-thread-2] o.o.d.c.publishing.DMaaPEventPublisher : Event: '{"event":{"commonEventHeader":{"sourceId":"de305d54-75b4-431b-adb2-eb6b9e546014","startEpochMicrosec":1413378172000010,"eventId":"fault0000251","nfcNamingCode":"ssc","timeZoneOffset":"UTC-05:30","reportingEntityId":"cc305d54-75b4-431b-adb2-eb6b9e541234","internalHeaderFields":{"collectorTimeStamp":"Śr, 04 17 2019 02:32:26 CEST"},"priority":"High","version":"4.0.1","nfVendorName":"Ericsson","reportingEntityName":"ibcx0001vm002oam0011234","sequence":0,"domain":"fault","lastEpochMicrosec":1413378172000010,"eventName":" Fault_Vscf:Acs-Ericcson_RecordingServerUnreachable","vesEventListenerVersion":"7.0.1","sourceName":"scfx0001vm002cap001","nfNamingCode":"scfx"},"faultFields":{"eventSeverity":"CRITICAL","alarmCondition":"RecordingServerUnreachable","faultFieldsVersion":"4.0","specificProblem":"Recording server unreachable","eventSourceType":"other","vfStatus":"Active"}}}' scheduled to be send asynchronously on domain: 'ves-fault' 2019-04-17 14:32:26.984 INFO 5851 --- [pool-3-thread-1] o.o.d.c.publishing.DMaaPEventPublisher : Event: '{"event":{"commonEventHeader":{"sourceId":"de305d54-75b4-431b-adb2-eb6b9e546014","startEpochMicrosec":1413378172000000,"eventId":"fault0000250","nfcNamingCode":"ssc","timeZoneOffset":"UTC-05:30","reportingEntityId":"cc305d54-75b4-431b-adb2-eb6b9e541234","internalHeaderFields":{"collectorTimeStamp":"Śr, 04 17 2019 02:32:26 CEST"},"priority":"High","version":"4.0.1","nfVendorName":"Ericsson","reportingEntityName":"ibcx0001vm002oam0011234","sequence":1,"domain":"fault","lastEpochMicrosec":1413378172000000,"eventName":"Fault_Vscf:Acs-Ericcson_PilotNumberPoolExhaustion","vesEventListenerVersion":"7.0.1","sourceName":"scfx0001vm002cap001","nfNamingCode":"scfx"},"faultFields":{"eventSeverity":"CRITICAL","alarmCondition":"PilotNumberPoolExhaustion","faultFieldsVersion":"4.0","specificProblem":"Calls cannot complete - pilot numbers are unavailable","alarmAdditionalInformation":{"PilotNumberPoolSize":"1000"},"eventSourceType":"other","vfStatus":"Active"}}}' scheduled to be send asynchronously on domain: 'ves-fault' 2019-04-17 14:32:26.984 INFO 5851 --- [pool-3-thread-2] org.onap.dcae.common.output : Event: '{"event":{"commonEventHeader":{"sourceId":"de305d54-75b4-431b-adb2-eb6b9e546014","startEpochMicrosec":1413378172000010,"eventId":"fault0000251","nfcNamingCode":"ssc","timeZoneOffset":"UTC-05:30","reportingEntityId":"cc305d54-75b4-431b-adb2-eb6b9e541234","internalHeaderFields":{"collectorTimeStamp":"Śr, 04 17 2019 02:32:26 CEST"},"priority":"High","version":"4.0.1","nfVendorName":"Ericsson","reportingEntityName":"ibcx0001vm002oam0011234","sequence":0,"domain":"fault","lastEpochMicrosec":1413378172000010,"eventName":" Fault_Vscf:Acs-Ericcson_RecordingServerUnreachable","vesEventListenerVersion":"7.0.1","sourceName":"scfx0001vm002cap001","nfNamingCode":"scfx"},"faultFields":{"eventSeverity":"CRITICAL","alarmCondition":"RecordingServerUnreachable","faultFieldsVersion":"4.0","specificProblem":"Recording server unreachable","eventSourceType":"other","vfStatus":"Active"}}}' scheduled to be send asynchronously on domain: 'ves-fault' 2019-04-17 14:32:26.984 INFO 5851 --- [pool-3-thread-1] org.onap.dcae.common.output : Event: '{"event":{"commonEventHeader":{"sourceId":"de305d54-75b4-431b-adb2-eb6b9e546014","startEpochMicrosec":1413378172000000,"eventId":"fault0000250","nfcNamingCode":"ssc","timeZoneOffset":"UTC-05:30","reportingEntityId":"cc305d54-75b4-431b-adb2-eb6b9e541234","internalHeaderFields":{"collectorTimeStamp":"Śr, 04 17 2019 02:32:26 CEST"},"priority":"High","version":"4.0.1","nfVendorName":"Ericsson","reportingEntityName":"ibcx0001vm002oam0011234","sequence":1,"domain":"fault","lastEpochMicrosec":1413378172000000,"eventName":"Fault_Vscf:Acs-Ericcson_PilotNumberPoolExhaustion","vesEventListenerVersion":"7.0.1","sourceName":"scfx0001vm002cap001","nfNamingCode":"scfx"},"faultFields":{"eventSeverity":"CRITICAL","alarmCondition":"PilotNumberPoolExhaustion","faultFieldsVersion":"4.0","specificProblem":"Calls cannot complete - pilot numbers are unavailable","alarmAdditionalInformation":{"PilotNumberPoolSize":"1000"},"eventSourceType":"other","vfStatus":"Active"}}}' scheduled to be send asynchronously on domain: 'ves-fault' 2019-04-17 14:32:27.083 INFO 5851 --- [pool-4-thread-1] c.a.n.c.c.i.CambriaSimplerBatchPublisher : sending 2 msgs to /events/unauthenticated.SEC_FAULT_OUTPUT. Oldest: 97 ms 2019-04-17 14:32:27.095 INFO 5851 --- [pool-4-thread-1] com.att.nsa.apiClient.http.HttpClient : POST http://onap-dmaap:3904/events/unauthenticated.SEC_FAULT_OUTPUT (anonymous) ... 2019-04-17 14:32:27.133 WARN 5851 --- [pool-4-thread-1] com.att.nsa.apiClient.http.HttpClient : Unknown host onap-dmaap; blacklisting for 10 minutes 2019-04-17 14:32:27.136 WARN 5851 --- [pool-4-thread-1] c.a.n.c.c.i.CambriaSimplerBatchPublisher : onap-dmaap: Ta nazwa lub usługa jest nieznana java.net.UnknownHostException: onap-dmaap: Ta nazwa lub usługa jest nieznana at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) ~[na:1.8.0_201] at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:929) ~[na:1.8.0_201] at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1324) ~[na:1.8.0_201] at java.net.InetAddress.getAllByName0(InetAddress.java:1277) ~[na:1.8.0_201] at java.net.InetAddress.getAllByName(InetAddress.java:1193) ~[na:1.8.0_201] at java.net.InetAddress.getAllByName(InetAddress.java:1127) ~[na:1.8.0_201] at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45) ~[httpclient-4.5.6.jar:4.5.6] at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:112) ~[httpclient-4.5.6.jar:4.5.6] at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:373) ~[httpclient-4.5.6.jar:4.5.6] at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:394) ~[httpclient-4.5.6.jar:4.5.6] at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:237) ~[httpclient-4.5.6.jar:4.5.6] at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185) ~[httpclient-4.5.6.jar:4.5.6] at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) ~[httpclient-4.5.6.jar:4.5.6] at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) ~[httpclient-4.5.6.jar:4.5.6] at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) ~[httpclient-4.5.6.jar:4.5.6] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) ~[httpclient-4.5.6.jar:4.5.6] at com.att.nsa.apiClient.http.HttpClient.runCall(HttpClient.java:622) ~[saClientLibrary-0.0.1.jar:na] at com.att.nsa.apiClient.http.HttpClient.post(HttpClient.java:452) ~[saClientLibrary-0.0.1.jar:na] at com.att.nsa.cambria.client.impl.CambriaSimplerBatchPublisher.sendBatch(CambriaSimplerBatchPublisher.java:315) [cambriaClient-0.0.1.jar:na] at com.att.nsa.cambria.client.impl.CambriaSimplerBatchPublisher.send(CambriaSimplerBatchPublisher.java:232) [cambriaClient-0.0.1.jar:na] at com.att.nsa.cambria.client.impl.CambriaSimplerBatchPublisher.access$100(CambriaSimplerBatchPublisher.java:30) [cambriaClient-0.0.1.jar:na] at com.att.nsa.cambria.client.impl.CambriaSimplerBatchPublisher$1.run(CambriaSimplerBatchPublisher.java:384) [cambriaClient-0.0.1.jar:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_201] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [na:1.8.0_201] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_201] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [na:1.8.0_201] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_201] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_201] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_201] 2019-04-17 14:32:27.136 WARN 5851 --- [pool-4-thread-1] c.a.n.c.c.i.CambriaSimplerBatchPublisher : Send failed, 2 message to send. 2019-04-17 14:32:28.181 INFO 5851 --- [pool-4-thread-1] c.a.n.c.c.i.CambriaSimplerBatchPublisher : sending 2 msgs to /events/unauthenticated.SEC_FAULT_OUTPUT. Oldest: 1197 ms 2019-04-17 14:32:28.182 WARN 5851 --- [pool-4-thread-1] com.att.nsa.apiClient.http.HostSelector : All hosts were blacklisted; reverting to full set of hosts. 2019-04-17 14:32:28.182 INFO 5851 --- [pool-4-thread-1] com.att.nsa.apiClient.http.HttpClient : POST http://onap-dmaap:3904/events/unauthenticated.SEC_FAULT_OUTPUT (anonymous) ... 2019-04-17 14:32:28.182 WARN 5851 --- [pool-4-thread-1] com.att.nsa.apiClient.http.HttpClient : Unknown host onap-dmaap; blacklisting for 10 minutes 2019-04-17 14:32:28.183 WARN 5851 --- [pool-4-thread-1] c.a.n.c.c.i.CambriaSimplerBatchPublisher : onap-dmaap regexp: wrong basic header: -u sample1:WRONG ➜ ves curl -vk --cert rootCA.crt --key rootCA.key --pass collector -u sample1:WRONG -vX POST https://localhost:8443/eventListener/v7/eventBatch -d @event_list.json --header "Content-Type: application/json" Note: Unnecessary use of -X or --request, POST is already inferred. * Trying 127.0.0.1... * TCP_NODELAY set * Connected to localhost (127.0.0.1) port 8443 (#0) * ALPN, offering h2 * ALPN, offering http/1.1 * successfully set certificate verify locations: * CAfile: /etc/ssl/certs/ca-certificates.crt CApath: /etc/ssl/certs * TLSv1.2 (OUT), TLS handshake, Client hello (1): * TLSv1.2 (IN), TLS handshake, Server hello (2): * TLSv1.2 (IN), TLS handshake, Certificate (11): * TLSv1.2 (IN), TLS handshake, Server key exchange (12): * TLSv1.2 (IN), TLS handshake, Server finished (14): * TLSv1.2 (OUT), TLS handshake, Client key exchange (16): * TLSv1.2 (OUT), TLS change cipher, Client hello (1): * TLSv1.2 (OUT), TLS handshake, Finished (20): * TLSv1.2 (IN), TLS handshake, Finished (20): * SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384 * ALPN, server did not agree to a protocol * Server certificate: * subject: C=US; ST=NJ; L=Middletown; O=DCAE; OU=OPEN-DCAE; CN=DCAELOCAL * start date: Oct 20 19:24:22 2016 GMT * expire date: Jan 18 19:24:22 2017 GMT * issuer: C=US; ST=NJ; L=Middletown; O=DCAE; OU=OPEN-DCAE; CN=DCAELOCAL * SSL certificate verify result: self signed certificate (18), continuing anyway. * Server auth using Basic with user 'sample1' > POST /eventListener/v7/eventBatch HTTP/1.1 > Host: localhost:8443 > Authorization: Basic c2FtcGxlMTpXUk9ORw== > User-Agent: curl/7.58.0 > Accept: */* > Content-Type: application/json > Content-Length: 2428 > Expect: 100-continue > < HTTP/1.1 100 * We are completely uploaded and fine < HTTP/1.1 401 < Content-Length: 87 < Date: Wed, 17 Apr 2019 12:31:28 GMT < Connection: close < * Closing connection 0 * TLSv1.2 (OUT), TLS alert, Client hello (1): {"requestError":{"PolicyException":{"messageId":"POL2000","text":"Unauthorized user"}}}% 14:31:21.923 [main] DEBUG org.apache.commons.configuration.PropertiesConfiguration - Base path set to file:///home/zlatko/repo/onap/dcaegen2/collectors/ves/etc/collector.properties __ __ _____ ____ ____ _ _ _ \ \ / / | ____| / ___| / ___| ___ | | | | ___ ___ | |_ ___ _ __ \ \ / / | _| \___ \ | | / _ \ | | | | / _ \ / __| | __| / _ \ | '__| \ V / | |___ ___) | | |___ | (_) | | | | | | __/ | (__ | |_ | (_) | | | \_/ |_____| |____/ \____| \___/ |_| |_| \___| \___| \__| \___/ |_| 2019-04-17 14:31:22.787 INFO 5695 --- [ main] org.onap.dcae.VesApplication : Starting VesApplication on murgoski with PID 5695 (/home/zlatko/repo/onap/dcaegen2/collectors/ves/target/classes started by zlatko in /home/zlatko/repo/onap/dcaegen2/collectors/ves) 2019-04-17 14:31:22.788 INFO 5695 --- [ main] org.onap.dcae.VesApplication : No active profile set, falling back to default profiles: default 2019-04-17 14:31:23.553 INFO 5695 --- [ main] o.o.dcae.common.configuration.CertAuth : Enabling SSL 2019-04-17 14:31:23.553 INFO 5695 --- [ main] o.o.dcae.common.configuration.CertAuth : Using keyStore path: /home/zlatko/repo/onap/dcaegen2/collectors/ves/etc/keystore 2019-04-17 14:31:23.553 INFO 5695 --- [ main] o.o.dcae.common.configuration.CertAuth : Using keyStore password from: /home/zlatko/repo/onap/dcaegen2/collectors/ves/etc/passwordfile 2019-04-17 14:31:23.564 INFO 5695 --- [ main] o.o.dcae.common.configuration.CertAuth : Actual key store alias is: tomcat 2019-04-17 14:31:23.564 INFO 5695 --- [ main] o.o.dcae.common.configuration.BasicAuth : Application work in basicAuth mode on 8443 port. 2019-04-17 14:31:23.704 INFO 5695 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8443 (https) 2019-04-17 14:31:23.716 INFO 5695 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2019-04-17 14:31:23.717 INFO 5695 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/9.0.12 2019-04-17 14:31:23.721 INFO 5695 --- [ main] o.a.catalina.core.AprLifecycleListener : The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib] 2019-04-17 14:31:23.784 INFO 5695 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2019-04-17 14:31:23.784 INFO 5695 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 965 ms 2019-04-17 14:31:23.797 INFO 5695 --- [ main] o.s.b.w.servlet.ServletRegistrationBean : Servlet dispatcherServlet mapped to [/] 2019-04-17 14:31:23.800 INFO 5695 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*] 2019-04-17 14:31:24.134 INFO 5695 --- [ main] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [public org.springframework.http.ResponseEntity springfox.documentation.swagger2.web.Swagger2Controller.getDocumentation(java.lang.String,javax.servlet.http.HttpServletRequest)] 2019-04-17 14:31:24.233 INFO 5695 --- [ main] d.s.w.p.DocumentationPluginsBootstrapper : Context refreshed 2019-04-17 14:31:24.240 INFO 5695 --- [ main] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) 2019-04-17 14:31:24.260 INFO 5695 --- [ main] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references 2019-04-17 14:31:24.364 INFO 5695 --- [ main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: receiveEventUsingPOST_1 2019-04-17 14:31:24.366 INFO 5695 --- [ main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: receiveEventUsingPOST_2 2019-04-17 14:31:24.367 INFO 5695 --- [ main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: receiveEventUsingPOST_3 2019-04-17 14:31:24.369 INFO 5695 --- [ main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: receiveEventUsingPOST_4 2019-04-17 14:31:24.370 INFO 5695 --- [ main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: receiveEventUsingPOST_5 2019-04-17 14:31:24.371 INFO 5695 --- [ main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: receiveEventUsingPOST_6 2019-04-17 14:31:24.372 INFO 5695 --- [ main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: receiveEventUsingPOST_7 2019-04-17 14:31:24.374 INFO 5695 --- [ main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: receiveEventUsingPOST_8 2019-04-17 14:31:24.375 INFO 5695 --- [ main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: receiveEventUsingPOST_9 2019-04-17 14:31:24.376 INFO 5695 --- [ main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: receiveEventUsingPOST_10 2019-04-17 14:31:24.377 INFO 5695 --- [ main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: receiveEventUsingPOST_11 2019-04-17 14:31:24.526 INFO 5695 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8443 (https) with context path '' 2019-04-17 14:31:24.529 INFO 5695 --- [ main] org.onap.dcae.VesApplication : Started VesApplication in 2.269 seconds (JVM running for 3.115) 2019-04-17 14:31:24.530 INFO 5695 --- [ main] org.onap.dcae.controller.ConfigLoader : Trying to dynamically update config from Config Binding Service 2019-04-17 14:31:24.531 INFO 5695 --- [ main] o.o.dcae.controller.EnvPropertiesReader : Loading necessary environment variables for dynamic configuration update 2019-04-17 14:31:24.532 WARN 5695 --- [ main] o.o.dcae.controller.EnvPropertiesReader : Consul port (env var: 'CONSUL_PORT') is missing from environment variables. Using default value of 8500 2019-04-17 14:31:24.532 WARN 5695 --- [ main] o.o.dcae.controller.EnvPropertiesReader : Consul protocol (env var: 'CONSUL_PROTOCOL') is missing from environment variables. 2019-04-17 14:31:24.532 WARN 5695 --- [ main] o.o.dcae.controller.EnvPropertiesReader : Consul protocol (env var: 'CBS_PROTOCOL') is missing from environment variables. 2019-04-17 14:31:24.532 WARN 5695 --- [ main] o.o.dcae.controller.EnvPropertiesReader : Consul host (env var: 'CONSUL_HOST') (without port) is missing from environment variables. 2019-04-17 14:31:24.532 WARN 5695 --- [ main] o.o.dcae.controller.EnvPropertiesReader : Name of CBS Service (as registered in Consul) (env var: 'CONFIG_BINDING_SERVICE') is missing from environment variables. 2019-04-17 14:31:24.533 WARN 5695 --- [ main] o.o.dcae.controller.EnvPropertiesReader : App service name (as registered in CBS) (env var: 'HOSTNAME' / 'SERVICE_NAME') is missing error environment variables. 2019-04-17 14:31:24.537 WARN 5695 --- [ main] o.o.dcae.controller.EnvPropertiesReader : Some required environment variables are missing 2019-04-17 14:31:24.538 WARN 5695 --- [ main] org.onap.dcae.controller.ConfigLoader : Skipping dynamic configuration update 2019-04-17 14:31:27.943 INFO 5695 --- [nio-8443-exec-4] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' 2019-04-17 14:31:27.944 INFO 5695 --- [nio-8443-exec-4] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 2019-04-17 14:31:27.948 INFO 5695 --- [nio-8443-exec-4] o.s.web.servlet.DispatcherServlet : Completed initialization in 4 ms 2019-04-17 14:31:27.958 INFO 5695 --- [nio-8443-exec-4] o.onap.dcae.restapi.ApiAuthInterceptor : SubjectDN didn't match with any regexp from /home/zlatko/repo/onap/dcaegen2/collectors/ves/etc/certSubjectMatcher.properties 2019-04-17 14:31:28.056 ERROR 5695 --- [nio-8443-exec-4] org.onap.dcae.common.error : EVENT_RECEIPT_FAILURE: Unauthorized user