Commit Graph

  • 1bf6dfec8f use default c++ stdlib. use -fPIC master Grant Limberg 2018-05-07 15:57:04 -07:00
  • aa1d79aa19 no message Grant Limberg 2018-05-07 15:53:21 -07:00
  • 24de09db75 no message Grant Limberg 2018-05-07 15:51:44 -07:00
  • 8cd9fa4a00 fix for clang 4.0.1 Grant Limberg 2018-05-07 15:49:58 -07:00
  • 37a6c84ec2 Teach consul-status to query the agent's self status Sean Chittenden 2015-12-24 10:13:42 -08:00
  • 7bd6a85150 Add the timeout option to the cpr agent Sean Chittenden 2015-12-22 22:17:46 -08:00
  • 8c464c092a json11's to_json() wants a std::map<string,string> Sean Chittenden 2015-12-22 22:07:20 -08:00
  • 7ece12df11 Commit miss: Add agent::selfUrl() Sean Chittenden 2015-12-22 22:06:36 -08:00
  • 542688597a Remove unnecessary include to iostream Sean Chittenden 2015-12-22 22:05:05 -08:00
  • 284a7d9abb kvUrl() returns a const string Sean Chittenden 2015-12-22 22:04:23 -08:00
  • 67457b8be9 Whitespace style police Sean Chittenden 2015-12-22 22:03:03 -08:00
  • 68c2e5d863 Re-introduce consul_agent_port show hook Sean Chittenden 2015-12-22 22:02:06 -08:00
  • dda67c984c Sync w/ pg_consul.sql Sean Chittenden 2015-12-22 22:01:22 -08:00
  • 8136f277db Use C++-style casting instead of C-style casting Sean Chittenden 2015-12-22 22:01:10 -08:00
  • eba22bc66a Should have never used GUC_LIST_INPUT Sean Chittenden 2015-12-22 21:59:51 -08:00
  • 06e5c48394 Use agent defaults && constants in consul::Agent Sean Chittenden 2015-12-22 21:57:22 -08:00
  • c156d4536f Cleanup consul::Peer Sean Chittenden 2015-12-22 21:51:08 -08:00
  • 86393514b8 Gratuitous s/hostname/host/i rename Sean Chittenden 2015-12-22 21:48:35 -08:00
  • 3f2f77d3fe Fix up regression test output Sean Chittenden 2015-12-22 21:43:23 -08:00
  • 48010ff507 Add consul_agent_ping() Sean Chittenden 2015-12-22 21:41:52 -08:00
  • 296f147059 Add a timeout (ms) parameter Sean Chittenden 2015-12-22 20:41:25 -08:00
  • 76226a46df INT2 doesn't fit high port numbers Sean Chittenden 2015-12-01 00:33:22 -08:00
  • ef579c2e2b Style and code cleanliness fixes. Sean Chittenden 2015-11-30 14:40:52 -08:00
  • c268e938ee Add PostgreSQL function consul_kv_get() Sean Chittenden 2015-11-30 14:40:20 -08:00
  • 61b343ba72 Document help command output Sean Chittenden 2015-11-19 14:35:21 -08:00
  • a419ab8341 Fix the word wrapping in the help message for consul-kv Sean Chittenden 2015-11-19 14:27:02 -08:00
  • 226b83d44b Add ?flags, ?acquire, and ?release parameters to consul-kv Sean Chittenden 2015-11-19 14:22:29 -08:00
  • a56b82ee06 C++11 initializer lists... use them. Sean Chittenden 2015-11-17 14:55:39 -08:00
  • b775ed22ec C++11 initializer lists... use them. Sean Chittenden 2015-11-17 14:55:39 -08:00
  • e1209d3996 Reduce consul-leader and consul-peers into the same binary Sean Chittenden 2015-11-17 14:55:22 -08:00
  • 8920a0218d Rename CLI utilities from consul_ to consul- Sean Chittenden 2015-11-17 13:56:00 -08:00
  • b65f63cbc0 Improve PG's planner hints for status functions Sean Chittenden 2015-11-17 02:30:49 -08:00
  • a5c927b1c9 Mostly complete consul_kv, now with PUT/DELETE Sean Chittenden 2015-11-17 02:30:06 -08:00
  • 1536a1d2f1 Clean up the CLI option for cluster slightly Sean Chittenden 2015-11-17 01:00:14 -08:00
  • 2ab996f0fa Add KVPairs as a collection of KVPair objects Sean Chittenden 2015-11-17 00:56:09 -08:00
  • 8cbe6b736e Alpha sort local contrib headers Sean Chittenden 2015-11-16 23:19:58 -08:00
  • 1283fe45c6 sysexits.h is not a local header Sean Chittenden 2015-11-16 23:19:24 -08:00
  • 597cfe276c Introduce easyloggingpp, deorbit std::cerr Sean Chittenden 2015-11-16 23:18:39 -08:00
  • 4c392ce32e Escape both the key and value in parameters Sean Chittenden 2015-11-16 15:10:54 -08:00
  • 59073324f7 Teach consul::Agent about recursive Sean Chittenden 2015-11-16 15:09:53 -08:00
  • 6da31f8725 Alpha sort functions Sean Chittenden 2015-11-15 18:27:02 -08:00
  • 0a3db8bc9c Add the ability to specify different clusters Sean Chittenden 2015-11-15 18:26:49 -08:00
  • 55794b8083 Use the correct type information Sean Chittenden 2015-11-15 18:03:38 -08:00
  • e696e5f9c8 Use type aliasing, not typedef where possible Sean Chittenden 2015-11-15 18:02:57 -08:00
  • 7b3788576c Add ::consul::KVPair Sean Chittenden 2015-11-15 18:02:40 -08:00
  • 513f3eb2ff Rename makefile variables Sean Chittenden 2015-11-15 18:01:28 -08:00
  • 8d74a8491a Add constexpr specifiers to various strings Sean Chittenden 2015-11-15 18:00:21 -08:00
  • 782d81e5b1 Fix stale *_leader/_*peers calls Sean Chittenden 2015-11-15 17:59:40 -08:00
  • c8afb6858a Introduce consul::Agent Sean Chittenden 2015-11-15 17:58:07 -08:00
  • 1abe42c987 Modify json11 to include a TypeStr() method that returns a char*. Sean Chittenden 2015-11-15 17:40:33 -08:00
  • dba6d0f19c Commit miss from earlier: add the implementation files for libb64 Sean Chittenden 2015-11-15 17:39:37 -08:00
  • 8873a75480 Change libb64 to include a consistent, compile-time default buffer size of 4K. Sean Chittenden 2015-11-15 17:38:40 -08:00
  • 37446eaee2 Import libb64 for base64 encoding and decoding support. Sean Chittenden 2015-11-15 16:39:21 -08:00
  • ba39b8e39c Introduce TCLAP for arg parsing. Sean Chittenden 2015-11-15 12:31:07 -08:00
  • b40296e328 Mark consul::Peer final Sean Chittenden 2015-11-14 21:58:39 -08:00
  • 0832351005 Remove a status stub call Sean Chittenden 2015-11-14 21:57:00 -08:00
  • 037a5663c3 Chase a few copyright notice misses Sean Chittenden 2015-11-14 21:56:20 -08:00
  • 5fb7f4946b Add the ability to change the agent port Sean Chittenden 2015-11-14 21:55:57 -08:00
  • 9b3f83b618 Match consul's API convention more strongly Sean Chittenden 2015-11-14 21:54:26 -08:00
  • 71908391d7 Use C++14's type aliasing Sean Chittenden 2015-11-14 21:50:26 -08:00
  • eaf40a5846 Export PG_REGRESS_DIFF_OPTS so pg_regress actually picks up the -u flag Sean Chittenden 2015-11-14 21:44:32 -08:00
  • 73ba05e1ec Preload pg_consul when running regression tests. Sean Chittenden 2015-11-14 21:44:10 -08:00
  • 7e01d93451 Rename the imported GUCs from "pg_consul.*" to "consul.*" Sean Chittenden 2015-11-14 20:17:26 -08:00
  • 7468810470 Remove consul_peers binary Sean Chittenden 2015-11-14 20:10:19 -08:00
  • d70eb6cd18 Use -u when calling diff in regression tests. Sean Chittenden 2015-11-14 20:04:56 -08:00
  • acfbe572f0 Don't unconditionally set the leader Sean Chittenden 2015-11-14 12:50:39 -08:00
  • 58d0d4123d Catchup with API breakage from immediately before initial commit. Sean Chittenden 2015-11-14 12:47:19 -08:00
  • f88f773ddb Checkpoint work and import into github so legal can advise re: copyrights. Sean Chittenden 2015-11-14 12:27:20 -08:00
  • 6e1262eaf0 Initial commit Sean Chittenden 2015-11-14 11:34:47 -08:00