Comments (4)
Tested just now by switching over to the HTTP API for Consul and using the httparty
gem and I noticed something interesting. The values are posted now but for some reason Consul seems to think it's not a folder and is instead a KV pair?
Very interesting. I wonder if this has something to do with how I've implemented the Diplomat gem?
from diplomat.
I've since created a branch in the aforementioned repo that feeds the Jenkins pipeline that does this to use the faraday
gem and talk directly to the HTTP API endpoint rather than whatever the Diplomat gem is currently doing. In local testing it works fine, so I'll probably move that way for now.
from diplomat.
Hey y'all, any updates here?
from diplomat.
if you look at your UI: https://user-images.githubusercontent.com/629551/208970185-64790602-675b-4641-8cdf-827ab87b3f5c.png
you'll see a login button... if this is in the API, this is done -> either you are not using the Consul UI correctly (not using the login button to see keys or the UI not having the right token to see keys), either it is a bug in Consul UI
Alternatively, try using consul kv get to see results or try pushing first an alternative (simpler k/v)... look at a basic hello world key.... does this works?
(look at doc on hashi learn on how using K/V with simple examples)
Regards
from diplomat.
Related Issues (20)
- /v1/catalog/register is broken after upgrade to v2.1.2 HOT 1
- Support Consul 1.4.0+ ACL system HOT 2
- Add support for Consul 1.5.x ACL tokens HOT 2
- Add support for Consul 1.5.x Auth Method and Binding Rule HTTP APIs HOT 2
- Improve error message in case of missing ACL
- 2.3.0: syntax error in file lib/diplomat/rest_client.rb:243 ? HOT 4
- It is unable to retrieve service configuration from consul HOT 2
- Add support for Operator Autopilot API HOT 5
- Due to faraday 1.1 release diplomat only works on ruby 2.4+
- Unable to use multiple tags when querying for services HOT 2
- Bump faraday requirement HOT 1
- Register HTTP checks HOT 3
- Add support for default datacenter HOT 3
- Broken link to API documentation HOT 3
- Register entities via agent
- Add blocking read support for service health endpoint HOT 3
- Faraday 2.0.0 breaks diplomat HOT 4
- Faraday 1.x can bypass Diplomat::QueryAlreadyExists HOT 1
- Can't get it to work with auth token given in config HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diplomat.