1 # Copyright 2019 TATA ELXSI
2 # Copyright 2020 Whitestack
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
8 # http://www.apache.org/licenses/LICENSE-2.0
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
14 # See the License for the specific language governing permissions and
15 # limitations under the License
16 # Author: Vijay Nag B S (vijaynag.bs@tataelxsi.co.in), Fabián Bravo(fbravo@whitestack.com)
39 - name: kafka-ro-mongo-test
41 command: ["sh", "-c", "until (nc -zvw1 kafka 9092 && nc -zvw1 ro 9090 && nc -zvw1 mongodb-k8s 27017 ); do sleep 3; done; exit 0"]
44 image: opensourcemano/lcm:13
46 - name: OSMLCM_RO_HOST
48 - name: OSMLCM_DATABASE_URI
49 value: mongodb://mongodb-k8s:27017/?replicaSet=rs0
50 - name: OSMLCM_MESSAGE_HOST
52 - name: OSMLCM_STORAGE_DRIVER
54 - name: OSMLCM_STORAGE_PATH
56 - name: OSMLCM_STORAGE_COLLECTION
58 - name: OSMLCM_STORAGE_URI
59 value: mongodb://mongodb-k8s:27017/?replicaSet=rs0
64 - mountPath: /etc/ssl/certs/osm-ca.crt