Class: ApiSixClient::BaseInt
- Defined in:
- lib/api_six_client/base_int.rb
Direct Known Subclasses
AuthInt, BaseHidden, BrgInt, CadInt, ComaInt, CunaInt, DcInt, FinnInt, GbkInt, LegaInt, LyrInt, MatInt, NtfInt, OwnaInt, ParaInt, PrjInt, StataInt, UasInt, UnasInt, Val
Constant Summary collapse
- DEFAULT_INTRANET_MAPPING =
->(service_name) { { k8s_service: "http://#{service_name.gsub('_int', '-api')}.micro-services", api_int_path: 'api_int'} }
- INTRANET_MAPPING =
{ 'olc_hid' => { k8s_service: 'http://core-web.micro-services:3000', api_int_path: 'api_hid' }, 'auth_hid' => { k8s_service: 'http://auth-api.micro-services:80', api_int_path: 'api_hid' }, 'cad_int' => { k8s_service: 'http://core-web.micro-services:3000', api_int_path: 'api_int' }, 'cuna_int' => { k8s_service: 'http://cuna-api.micro-services:3000', api_int_path: 'api_int' }, 'val' => { k8s_service: 'http://val.micro-services:8000', api_int_path: 'api' }, 'coma_int' => { k8s_service: 'http://coma-api.micro-services:3000', api_int_path: 'api_int' }, 'lega_int' => { k8s_service: 'http://lega-api.micro-services:3000', api_int_path: 'api_int' }, 'brg_int' => { k8s_service: 'http://brg-api.micro-services:3000', api_int_path: 'api_int' }, 'prj_int' => { k8s_service: 'http://prj-api.micro-services:5000', api_int_path: 'api_int' }, 'owna_int' => { k8s_service: 'http://owna-api.micro-services:3000', api_int_path: 'api_int' }, }.freeze
Instance Method Summary collapse
Methods inherited from Base
#delete, #get, #initialize, #patch, #post, #put
Constructor Details
This class inherits a constructor from ApiSixClient::Base
Instance Method Details
#endpoint ⇒ Object
23 24 25 26 27 |
# File 'lib/api_six_client/base_int.rb', line 23 def endpoint return super unless intranet_connection? current_service[:k8s_service] end |