首页 开发技术 其它     /    外交官:Consul的HTTPRubyAPI-源码

外交官:Consul的HTTPRubyAPI-源码

上传者: weixin_38665944 | 上传时间:2024/10/23 7:31:43 | 文件大小:87KB | 文件类型:ZIP
外交官:Consul的HTTPRubyAPI-源码
外交官用于HTTPRubyAPI常问问题外交官干什么?Diplomat允许任何ruby应用程序与分布式键值存储进行交互,并且还可以接收有关Consul群集中当前可用服务的信息。
它可以在轨道上工作吗?对!实际上,我们在所有的Rails生产应用程序中都使用了它,而不是以前的任何情况(根据正确使用环境变量)。
这使我们能够在不更改实际项目代码库的情况下进行扩展,并轻松地在集群中移动应用程序。
这是生产数据库.yml文件的外观:<%ifRails.env.production?%>production:adapter:po 本软件ID:14949357

文件下载

资源详情

[{"title":"(83个子文件87KB)外交官:Consul的HTTPRubyAPI-源码","children":[{"title":"diplomat-master","children":[{"title":".travis.yml <span style='color:#111;'>1.16KB</span>","children":null,"spread":false},{"title":"features","children":[{"title":"step_definitions","children":[{"title":"test_key_value.rb <span style='color:#111;'>294B</span>","children":null,"spread":false},{"title":"setup_diplomat.rb <span style='color:#111;'>491B</span>","children":null,"spread":false}],"spread":true},{"title":"configuration.feature <span style='color:#111;'>321B</span>","children":null,"spread":false}],"spread":true},{"title":"bin","children":[{"title":"consul-cli <span style='color:#111;'>2.97KB</span>","children":null,"spread":false}],"spread":true},{"title":"diplomatic_bag.gemspec <span style='color:#111;'>783B</span>","children":null,"spread":false},{"title":"Rakefile <span style='color:#111;'>904B</span>","children":null,"spread":false},{"title":".rubocop.yml <span style='color:#111;'>1013B</span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'>1.48KB</span>","children":null,"spread":false},{"title":"CONTRIBUTING.md <span style='color:#111;'>1.59KB</span>","children":null,"spread":false},{"title":"Gemfile <span style='color:#111;'>171B</span>","children":null,"spread":false},{"title":".rspec <span style='color:#111;'>25B</span>","children":null,"spread":false},{"title":"spec","children":[{"title":"consul","children":[{"title":"resources","children":[{"title":"consul","children":[{"title":"v1","children":[{"title":"catalog","children":[{"title":"services.json <span style='color:#111;'>100B</span>","children":null,"spread":false},{"title":"datacenters.json <span style='color:#111;'>19B</span>","children":null,"spread":false}],"spread":false},{"title":"status","children":[{"title":"leader.json <span style='color:#111;'>18B</span>","children":null,"spread":false}],"spread":false},{"title":"agent","children":[{"title":"members.json <span style='color:#111;'>3.21KB</span>","children":null,"spread":false},{"title":"self.json <span style='color:#111;'>17.27KB</span>","children":null,"spread":false}],"spread":false},{"title":"health","children":[{"title":"service","children":[{"title":"service02.json <span style='color:#111;'>1.13KB</span>","children":null,"spread":false},{"title":"service03.json <span style='color:#111;'>2.30KB</span>","children":null,"spread":false},{"title":"service04.json <span style='color:#111;'>1.16KB</span>","children":null,"spread":false},{"title":"service01.json <span style='color:#111;'>1.13KB</span>","children":null,"spread":false}],"spread":false},{"title":"state","children":[{"title":"any.json <span style='color:#111;'>1.74KB</span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":"diplomaticbag_spec.rb <span style='color:#111;'>4.29KB</span>","children":null,"spread":false},{"title":"consul_mock.rb <span style='color:#111;'>1.50KB</span>","children":null,"spread":false}],"spread":true},{"title":"health_spec.rb <span style='color:#111;'>7.60KB</span>","children":null,"spread":false},{"title":"rest_client_spec.rb <span style='color:#111;'>1.75KB</span>","children":null,"spread":false},{"title":"nodes_spec.rb <span style='color:#111;'>1.16KB</span>","children":null,"spread":false},{"title":"node_spec.rb <span style='color:#111;'>3.99KB</span>","children":null,"spread":false},{"title":"configure_spec.rb <span style='color:#111;'>2.84KB</span>","children":null,"spread":false},{"title":"query_spec.rb <span style='color:#111;'>9.51KB</span>","children":null,"spread":false},{"title":"agent_spec.rb <span style='color:#111;'>3.08KB</span>","children":null,"spread":false},{"title":"policy_spec.rb <span style='color:#111;'>3.69KB</span>","children":null,"spread":false},{"title":"check_spec.rb <span style='color:#111;'>1.96KB</span>","children":null,"spread":false},{"title":".rubocop.yml <span style='color:#111;'>381B</span>","children":null,"spread":false},{"title":"acl_spec.rb <span style='color:#111;'>3.19KB</span>","children":null,"spread":false},{"title":"autopilot_spec.rb <span style='color:#111;'>1.56KB</span>","children":null,"spread":false},{"title":"kv_spec.rb <span style='color:#111;'>23.52KB</span>","children":null,"spread":false},{"title":"session_spec.rb <span style='color:#111;'>5.59KB</span>","children":null,"spread":false},{"title":"maintenance_spec.rb <span style='color:#111;'>2.81KB</span>","children":null,"spread":false},{"title":"role_spec.rb <span style='color:#111;'>4.75KB</span>","children":null,"spread":false},{"title":"token_spec.rb <span style='color:#111;'>4.32KB</span>","children":null,"spread":false},{"title":"members_spec.rb <span style='color:#111;'>838B</span>","children":null,"spread":false},{"title":"datacenter_spec.rb <span style='color:#111;'>1.56KB</span>","children":null,"spread":false},{"title":"lock_spec.rb <span style='color:#111;'>6.50KB</span>","children":null,"spread":false},{"title":"event_spec.rb <span style='color:#111;'>9.69KB</span>","children":null,"spread":false},{"title":"service_spec.rb <span style='color:#111;'>15.26KB</span>","children":null,"spread":false},{"title":"spec_helper.rb <span style='color:#111;'>401B</span>","children":null,"spread":false},{"title":"status_spec.rb <span style='color:#111;'>827B</span>","children":null,"spread":false}],"spread":false},{"title":".gitignore <span style='color:#111;'>396B</span>","children":null,"spread":false},{"title":"CHANGELOG.md <span style='color:#111;'>10.20KB</span>","children":null,"spread":false},{"title":"lib","children":[{"title":"diplomatic_bag.rb <span style='color:#111;'>221B</span>","children":null,"spread":false},{"title":"diplomatic_bag","children":[{"title":"datacenters.rb <span style='color:#111;'>453B</span>","children":null,"spread":false},{"title":"nodes.rb <span style='color:#111;'>919B</span>","children":null,"spread":false},{"title":"services.rb <span style='color:#111;'>1.38KB</span>","children":null,"spread":false},{"title":"info.rb <span style='color:#111;'>1.35KB</span>","children":null,"spread":false},{"title":"service.rb <span style='color:#111;'>629B</span>","children":null,"spread":false}],"spread":false},{"title":"diplomat.rb <span style='color:#111;'>2.00KB</span>","children":null,"spread":false},{"title":"diplomat","children":[{"title":"rest_client.rb <span style='color:#111;'>12.05KB</span>","children":null,"spread":false},{"title":"autopilot.rb <span style='color:#111;'>1.10KB</span>","children":null,"spread":false},{"title":"acl.rb <span style='color:#111;'>2.65KB</span>","children":null,"spread":false},{"title":"node.rb <span style='color:#111;'>1.76KB</span>","children":null,"spread":false},{"title":"lock.rb <span style='color:#111;'>2.38KB</span>","children":null,"spread":false},{"title":"session.rb <span style='color:#111;'>2.97KB</span>","children":null,"spread":false},{"title":"datacenter.rb <span style='color:#111;'>987B</span>","children":null,"spread":false},{"title":"query.rb <span style='color:#111;'>4.19KB</span>","children":null,"spread":false},{"title":"agent.rb <span style='color:#111;'>1.44KB</span>","children":null,"spread":false},{"title":"token.rb <span style='color:#111;'>4.92KB</span>","children":null,"spread":false},{"title":"configuration.rb <span style='color:#111;'>1.33KB</span>","children":null,"spread":false},{"title":"members.rb <span style='color:#111;'>457B</span>","children":null,"spread":false},{"title":"nodes.rb <span style='color:#111;'>812B</span>","children":null,"spread":false},{"title":"kv.rb <span style='color:#111;'>13.03KB</span>","children":null,"spread":false},{"title":"check.rb <span style='color:#111;'>4.18KB</span>","children":null,"spread":false},{"title":"health.rb <span style='color:#111;'>3.09KB</span>","children":null,"spread":false},{"title":"maintenance.rb <span style='color:#111;'>1.59KB</span>","children":null,"spread":false},{"title":"role.rb <span style='color:#111;'>4.97KB</span>","children":null,"spread":false},{"title":"version.rb <span style='color:#111;'>71B</span>","children":null,"spread":false},{"title":"policy.rb <span style='color:#111;'>3.82KB</span>","children":null,"spread":false},{"title":"error.rb <span style='color:#111;'>1.04KB</span>","children":null,"spread":false},{"title":"status.rb <span style='color:#111;'>851B</span>","children":null,"spread":false},{"title":"event.rb <span style='color:#111;'>7.35KB</span>","children":null,"spread":false},{"title":"service.rb <span style='color:#111;'>4.40KB</span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'>11.79KB</span>","children":null,"spread":false},{"title":"diplomat.gemspec <span style='color:#111;'>1.46KB</span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明