1 ## producer stub - a stub interface to simulate data producers ##
3 The producer stub is intended for function tests to simulate data producers.
6 # Ports and certificates
16 ### Control interface ###
21 ### Build and start ###
24 ```docker build -t producer-stub .```
26 >Start the image on both http and https<br>
27 ```docker run -it -p 8092:8092 -p 8093:8093 --name producer-stub producer-stub```
29 It will listen to http 8092 port and https 8093 port(using default certificates) at the same time.
35 Copyright (C) 2020 Nordix Foundation. All rights reserved.
36 Licensed under the Apache License, Version 2.0 (the "License");
37 you may not use this file except in compliance with the License.
38 You may obtain a copy of the License at
40 http://www.apache.org/licenses/LICENSE-2.0
42 Unless required by applicable law or agreed to in writing, software
43 distributed under the License is distributed on an "AS IS" BASIS,
44 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
45 See the License for the specific language governing permissions and
46 limitations under the License.