Merge "Enhanced ECS function tests"
[nonrtric.git] / docker-compose / README.md
1 # O-RAN-SC docker-compose files
2
3 The docker-compose.yml file will create an entire nonrtric system with one command:
4 docker-compose up
5
6 Two docker-compose files are provided in this folder:
7
8 nosdnc/docker-compose.yml
9 This file is to create nonrtric system without sdnc a1-controller
10
11 sdnc/docker-compose.yml
12 This file is to create nonrtric system with sdnc a1-controller
13
14 Howto:
15 cd nosdnc/
16 docker-compose up
17
18 or
19
20 cd sdnc/
21 docker-compose up
22
23 The scripts in data/ will generate some dummy data in the running system.
24 It will create:
25 one policy type in a1-sim-OSC
26 one service in policy agent
27 one policy in a1-sim-OSC
28 one policy in a1-sim-STD
29
30 Run command:
31 cd data/
32 ./preparePmsData.sh [policy-agent-port] [a1-sim-OSC-port] [a1-sim-STD-port] [http/https]
33
34 Open link:
35 http://localhost:[control-panel-port]/
36
37 All the generated data is shown on the web page
38
39 By default, if the containers are started up and running by docker-compose file in the same directory, just run commands:
40 ./preparePmsData.sh
41
42 prepareEcsData.sh
43 This is to generate some data into the ECS microservice
44
45 prepareDmaapMsg.sh
46 This is to generate some data into the Dmaap MR, so that PMS reads message from MR
47
48 ## License
49
50 Copyright (C) 2020 Nordix Foundation.
51 Licensed under the Apache License, Version 2.0 (the "License")
52 you may not use this file except in compliance with the License.
53 You may obtain a copy of the License at
54
55       http://www.apache.org/licenses/LICENSE-2.0
56
57 Unless required by applicable law or agreed to in writing, software
58 distributed under the License is distributed on an "AS IS" BASIS,
59 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
60 See the License for the specific language governing permissions and
61 limitations under the License.
62
63 For more information about license please see the [LICENSE](LICENSE.txt) file for details.