testinggospels / camouflage

Camouflage is a backend mocking tool for HTTP, gRPC, Websockets and Thrift protocols, which helps you carry out your front end prototyping, unit testing, functional/performance testing in silos, in absence of one or more Microservices/APIs.
https://testinggospels.github.io/camouflage/
MIT License
278 stars 26 forks source link

Bug: UI and Management endpoints not available #70

Closed shubhendumadhukar closed 3 years ago

shubhendumadhukar commented 3 years ago

Describe the bug If http/https/http2 protocols are disabled, Camouflage UI and management endpoints such as /ping and /restart are not available.

To Reproduce Steps to reproduce the behavior:

  1. Disable http/https/http2 protocols via config.yml
  2. Start camouflage server.
  3. Access Camouflage Homepage. eg. http://localhost:8080/

Expected behavior Even though aforementioned protocols are disabled, UI and management endpoints should still be available.

shubhendumadhukar commented 3 years ago

Fixing it would require reserving an additional port for a 3rd express app

  1. http/https/http mock server app;
  2. Prometheus metrics server app;
  3. UI and Management Endpoints app;

This adds unnecessary complexity in config.yml. Documentation updated necessary warnings. Might fix in future if absolutely required.