Skip to content
This repository was archived by the owner on Sep 23, 2023. It is now read-only.

Repository files navigation

Testing as a service

Discovery CLI

Discovery CLI will list estuary stack stats in your shell

About config.yaml

There are 2 ways to configure this CLI:

  • define one/multiple eureka server address and this CLI will look over all discovery(ies) to get the stack stats
eureka: - "http://localhost:8080/eureka/v2"
- "http://localhost:8081/eureka/v2"
  • define your discovery(ies) one by one. Make sure it is compatible as homePageUrl field in eureka server. Example:
discovery:
- http://localhost:8081/
- http://localhost:8082/

In case both sections are present discovery section takes precedence.

Code quality

Maintainability

Linux status

Build Status

Win status

CircleCI

Steps

  • deploy an Eureka Server docker run -ti -p 8080:8080 estuaryoss/netflix-eureka:1.10.11
  • deploy estuary-discovery) on the target machine (metal/VM/Docker/IoT device)
  • define the yaml configuration
  • get Estuary Stack Stats

Usage

python .\main.py --username=admin --password=***** --file="config.yaml"

Params

PS > python .\main.py --help
Usage: main.py [OPTIONS]
Options:
--username TEXT The username used for the Basic authentication
--password TEXT The password used for the Basic authentication
--protocol TEXT The protocol with which the estuary-discovery was deployed.
Default is http. E.g. https
--cert TEXT The certificate with which the estuary-discovery was
deployed. E.g. https/cert.pem
--file TEXT The yaml file path on disk. Default is "./config.yaml"
--help Show this message and exit.

Support project:

About

List estuary stack stats in your shell

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages