tree: 9269d8b6a86f5ae403ea51128c72917450427d5f [path history] [tgz]
  1. app/
  2. cert/
  3. .gitignore
  4. basic_test.sh
  5. Dockerfile
  6. prod-stub-build-start.sh
  7. README.md
test/prodstub/README.md

producer stub - a stub interface to simulate data producers

The producer stub is intended for function tests to simulate data producers.

Ports and certificates

TBD

PortProtocol
8092http
8093https

Control interface

TBD

Build and start

Build image
docker build -t producer-stub .

Start the image on both http and https
docker run -it -p 8092:8092 -p 8093:8093 --name producer-stub producer-stub

It will listen to http 8092 port and https 8093 port(using default certificates) at the same time.

TBD

License

Copyright (C) 2020 Nordix Foundation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.