Skip to content
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 php cac and experimentation client wrapper #185

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

namitgoel
Copy link
Contributor

Problem

Describe the problem you are trying to solve here

Solution

Provide a brief summary of your solution so that reviewers can understand your code

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

Endpoint Method Request body Response Body
API GET/POST, etc request response

Possible Issues in the future

Describe any possible issues that could occur because of this change

@namitgoel namitgoel requested a review from a team as a code owner July 29, 2024 16:47
char* cac_get_config(char* tenantPtr, char* filter_query, char* filter_prefix);
char* cac_get_resolved_config(char* tenantPtr, char* query, char* filter_keys, char* merge_strategy);
char* cac_get_default_config(char* tenantPtr, char* filter_keys);
", "/Users/namit.goel/Desktop/repos/namit_superposition/superposition/target/debug/libcac_client.dylib");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be dynamic right? @namitgoel

@@ -0,0 +1,32 @@
Set directory path that contains superposition object files in <span style="color: red" > SUPERPOSITION_LIB_PATH </span> env variable;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we mention what version of PHP this supports?

char* expt_get_satisfied_experiments(char* exp_ptr, char* c_context, char* filter_prefix);
char* expt_get_filtered_satisfied_experiments(char* exp_ptr, char* c_context, char* filter_prefix);
char* expt_get_running_experiments(char* exp_ptr);
", "/Users/namit.goel/Desktop/repos/namit_superposition/superposition/target/debug/libexperimentation_client.dylib");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be $libPath?

@Datron
Copy link
Collaborator

Datron commented Aug 26, 2024

@namitgoel add php in flakes.nix

@Datron Datron force-pushed the main branch 11 times, most recently from 02832c3 to a9afdb9 Compare September 9, 2024 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants