3e23c59445842d832f9559ca16752ec2a78e5f15
[demo.git] / vnfs / VES5.0 / evel / evel-test-collector / config / collector.conf
1 # * ===================================================================
2 # * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
3 # * ===================================================================
4 # * Licensed under the Apache License, Version 2.0 (the "License");
5 # * you may not use this file except in compliance with the License.
6 # * You may obtain a copy of the License at
7 # *
8 # *        http://www.apache.org/licenses/LICENSE-2.0
9 # *
10 # * Unless required by applicable law or agreed to in writing, software
11 # * distributed under the License is distributed on an "AS IS" BASIS,
12 # * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # * See the License for the specific language governing permissions and
14 # * limitations under the License.
15 # * ECOMP and OpenECOMP are trademarks
16 # * and service marks of AT&T Intellectual Property.
17 #------------------------------------------------------------------------------
18 # This is a config file for the collector test harness.
19 #
20 # On the target platform is is expected to be located in:
21 #
22 #   /etc/opt/att/collector.conf
23 #
24 # However, the location can be overridden by setting the --config <file>
25 # argument to the collector code.
26 #------------------------------------------------------------------------------
27
28 #------------------------------------------------------------------------------
29 # The default section to be used. Alternative configuration sections can be
30 # provided by using the --section <name> command-line parameter.
31 #------------------------------------------------------------------------------
32 [default]
33 log_file = /var/log/att/collector.log
34 schema_file = ../../docs/att_interface_definition/event_format_updated.json
35 base_schema_file = ../../docs/att_interface_definition/base_schema.json
36 throttle_schema_file = ../../docs/att_interface_definition/throttle_schema.json
37 test_control_schema_file = ../../docs/att_interface_definition/test_control_schema.json
38
39 #------------------------------------------------------------------------------
40 # Details of the Vendor Event Listener REST service.
41 #
42 # REST resources are defined with respect to a ServerRoot:
43 #    ServerRoot = https://{Domain}:{Port}/{optionalRoutingPath}
44 #
45 # REST resources are of the form:
46 #   *   {ServerRoot}/eventListener/v{apiVersion}
47 #   *   {ServerRoot}/eventListener/v{apiVersion}/{topicName}
48 #   *   {ServerRoot}/eventListener/v{apiVersion}/eventBatch
49 #   *   {ServerRoot}/eventListener/v{apiVersion}/clientThrottlingState
50 #
51 # The "vel_topic_name" parameter is used as the "topicName" element in the path
52 # and may be empty.
53 #
54 # Note that the path, if present,  should have no leading "/" but should have a
55 # training "/".
56 #------------------------------------------------------------------------------
57 vel_domain = 127.0.0.1
58 vel_port = 30000
59 vel_path = vendor_event_listener/
60 vel_username =
61 vel_password =
62 vel_topic_name = example_vnf
63
64 #------------------------------------------------------------------------------
65 # Settings to be used when running in a windows test environment rather than
66 # the target environment.
67 #------------------------------------------------------------------------------
68 [windows]
69 log_file = ../../logs/collector.log
70 schema_file = ../../docs/att_interface_definition/event_format_updated.json
71 base_schema_file =
72 throttle_schema_file = ../../docs/att_interface_definition/throttle_schema.json
73 test_control_schema_file = ../../docs/att_interface_definition/test_control_schema.json
74
75 #------------------------------------------------------------------------------
76 # Details of the Vendor Event Listener REST service.
77 #
78 # REST resources are defined with respect to a ServerRoot:
79 #    ServerRoot = https://{Domain}:{Port}/{optionalRoutingPath}
80 #
81 # REST resources are of the form:
82 #   *   {ServerRoot}/eventListener/v{apiVersion}
83 #   *   {ServerRoot}/eventListener/v{apiVersion}/{topicName}
84 #   *   {ServerRoot}/eventListener/v{apiVersion}/eventBatch
85 #   *   {ServerRoot}/eventListener/v{apiVersion}/clientThrottlingState
86 #
87 # The "vel_topic_name" parameter is used as the "topicName" element in the path
88 # and may be empty.
89 #
90 # Note that the path, if present,  should have no leading "/" but should have a
91 # training "/".
92 #------------------------------------------------------------------------------
93 vel_domain = 127.0.0.1
94 vel_port = 30000
95 vel_path =
96 vel_username = will
97 vel_password = pill
98 vel_topic_name =
99