-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: adding ruby client for CAC and experimentation system #186
base: main
Are you sure you want to change the base?
Conversation
525e453
to
5b144fe
Compare
@Subhash703 Can you add a Readme.md here with steps to add this to a separate project ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Subhash703 can you please extract the examples in a different file?
5b144fe
to
5c5a310
Compare
5c5a310
to
6210cad
Compare
4. Polling updates for experiments are done on different thread. | ||
|
||
## Uses | ||
To use functions from clients, refer to <span style="color: #808080" >main.rb </span> files in the respective clients. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add proper steps to add documentation on how to add this to a separate project?
Like importing and using it with sample codes
6ca353c
to
41073fc
Compare
attach_function :cac_get_last_modified, [ArcClient.by_ref], :string | ||
attach_function :cac_get_config, [ArcClient.by_ref, :string, :string], :string | ||
attach_function :cac_get_resolved_config, [ArcClient.by_ref, :string, :string, :string], :string | ||
attach_function :cac_get_default_config, [ArcClient.by_ref, :string], :string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we improve the return type for the functions like cac_get_config, cac_get_resolved_config and others to respective types like map .....
Refer haskell client.
02832c3
to
a9afdb9
Compare
Problem
Describe the problem you are trying to solve here
Solution
Created this ruby module which provides a interface for the CAC (Configuration as Code) allowing you to interact with the CAC server to retrieve and manage configurations
Environment variable changes
What ENVs need to be added or changed
Pre-deployment activity
Things needed to be done before deploying this change (if any)
Post-deployment activity
Things needed to be done after deploying this change (if any)
API changes
Possible Issues in the future
Describe any possible issues that could occur because of this change