Module: ApplicationConfiguration
- Included in:
- ConsulConfiguration, RestConfiguration, SampleCoreApi
- Defined in:
- lib/application_configuration.rb
Instance Method Summary collapse
Instance Method Details
#config ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/application_configuration.rb', line 2 def config { consul: { consul_service_data: { name: "Service-1", id: "Service1", port: 9292, check: { id: "bluesky-api", name: "HTTP Health Check API on port 9292", http: "http://localhost:9292/health-check-new", tls_skip_verify: false, method: "GET", interval: "10s", timeout: "1s" } } }, rest: { consul_check_http: "/health-check-new" }, } end |