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(launchpad): adding a launchpad to control flagd #194

Merged
merged 6 commits into from
Jan 20, 2025

Conversation

aepfli
Copy link
Member

@aepfli aepfli commented Jan 16, 2025

how to test

# building docker image
docker build --target=testbed -t=flagd-testbed-new -f ./flagd/Dockerfile .
# running docker image
docker run --rm -p 8080:8080 -p 8013:8013 -p 8015:8015 flagd-testbed-new

curl command to fetch changing flag

 curl -X POST "localhost:8013/flagd.evaluation.v1.Service/ResolveString" -d '{"flagKey":"changing-flag","context":{}}' -H "Content-Type: application/json"

you can start/stop based on the endpoints provided, or change the flag and verify with the above curl command if it works or not. (either via browser or curl) http://localhost:8080/[start|stop|change](?config=(default|ssl))

@aepfli
Copy link
Member Author

aepfli commented Jan 16, 2025

closes #190

@aepfli aepfli force-pushed the feat/launchpad branch 3 times, most recently from 058a0a1 to 928544e Compare January 16, 2025 22:15
Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>
launchpad/main.go Outdated Show resolved Hide resolved
launchpad/main.go Outdated Show resolved Hide resolved
launchpad/main.go Outdated Show resolved Hide resolved
launchpad/main.go Outdated Show resolved Hide resolved
launchpad/main.go Outdated Show resolved Hide resolved
@beeme1mr beeme1mr changed the title feat(launchpad): adding a launchpad to controll flagd feat(launchpad): adding a launchpad to control flagd Jan 17, 2025
aepfli and others added 4 commits January 17, 2025 22:09
Co-authored-by: warber <72415058+warber@users.noreply.github.com>
Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>
Co-authored-by: warber <72415058+warber@users.noreply.github.com>
Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>
Co-authored-by: warber <72415058+warber@users.noreply.github.com>
Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>
Co-authored-by: warber <72415058+warber@users.noreply.github.com>
Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>

ENTRYPOINT ["sh", "change-flag-wrapper.sh", "./flagd", "start", \
Copy link
Member

Choose a reason for hiding this comment

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

I think we may as well delete the wrapper.

Co-authored-by: warber <72415058+warber@users.noreply.github.com>
Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>
@aepfli aepfli merged commit dbad001 into open-feature:main Jan 20, 2025
3 checks passed
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.

5 participants