-
Notifications
You must be signed in to change notification settings - Fork 2
feat!: use C++ Server-side SDK 3.0 bindings [v2] #31
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
Merged
Merged
Changes from all commits
Commits
Show all changes
175 commits
Select commit
Hold shift + click to select a range
2d31ac0
[ch66649] initial copy from moonshot (and minor template fill in)
hroederld b41bd5a
[ch66755] Add variationDetail variation handlers (#2)
hroederld 4a001eb
[ch68367] prefix functions with local
hroederld c66ed75
[ch68610] Basic generated doc (#4)
hroederld e69359c
[ch70062] rename to launchdarkly-server-sdk.lua
hroederld 24b9487
[ch70700] prepare 1.0.0-beta.1
hroederld 6ed903a
Update CONTRIBUTING.md (#8)
bwoskow-ld 17a35ef
Update README.md (#7)
bwoskow-ld f2bb53c
Merge github.com:launchdarkly/lua-server-sdk
hroederld 791dd2e
remove circle badge (#9)
hroederld 0e9db0d
Merge github.com:launchdarkly/lua-server-sdk
hroederld b1f585c
[ch70699] releaser support (#11)
hroederld 3ab1ee2
[ch73979] document version constraints (#12)
hroederld f2ed7f1
[ch76282] add wrapper meta config (#13)
hroederld 57517c1
prepare 1.0.0-beta.2 (content approved in previous failed release PR)
hroederld 153dd3f
Merge github.com:launchdarkly/lua-server-sdk
hroederld bf8fd31
[ch80640] logging handler (#14)
hroederld 77e52a1
[ch80816] basic unit tests (#15)
hroederld 89806d4
[ch80958] remove beta warning
hroederld 6b6a4c5
fix timeout (#17)
hroederld 39da875
[ch70870] redis module (#18)
hroederld cbc133f
[ch70870] ldoc releaser redis (#19)
hroederld ad96c4e
[ch82399] document c server-side sdk version requirement (#20)
hroederld 5eb0fdc
[ch82565] collect between tests (#21)
hroederld c5ab6f2
[ch82639] rewrite for lua 5.1 5.2 5.3 (#22)
hroederld 8a76638
[ch83425] prepare beta 3 (#23)
hroederld d5ac988
merge public
hroederld 368253a
remove beta warning (#24)
hroederld fd7e7e3
set source in rockspec (#25)
hroederld 7d20fcc
merge from public after release
LaunchDarklyCI 772a103
[ch87476] Always use custom `luaL_setfuncs` (#26)
hroederld 9b8af72
merge from public after release
LaunchDarklyCI d248b20
adding circleci badge and issue/PR templates (#27)
bwoskow-ld 6243cfb
[ch99754] add alias method (#28)
hroederld 4b43131
Removed the guides link
bwoskow-ld fffb6ff
merge from public after release
LaunchDarklyCI 355062b
Merge github.com:launchdarkly/lua-server-sdk
hroederld 9006383
Updates docs URLs (#29)
ember-stevens d03089f
SC-127348: Add LuaLDVersion function to return current SDK version (#30)
cwaldren-ld 78eadf3
Remove references to unneeded lua-cjson package (#31)
cwaldren-ld d5b97c9
Fix memory leak in AllFlags (#32)
cwaldren-ld 619604a
Update to releaser v2 config (#33)
cwaldren-ld bc02168
Add .gitignore
cwaldren-ld 9a04888
merge from public after release
46a456e
Fix documentation generation for Releaser v2 config (#34)
cwaldren-ld 34a9eef
Fix Releaser v2 documentation generation & optimize build (#35)
cwaldren-ld 8cf7d39
merge from public after release
b50485b
Remove tmp dir (#36)
cwaldren-ld 1904c53
Remove tmp dir (continued)
cwaldren-ld 2648158
merge from public after release
8dcaac6
Update master->main in pull request template (#37)
cwaldren-ld f823656
Fix CircleCI build, update to matrix builds for Ubuntu 18.04 and 20.0…
cwaldren-ld 55c3083
Updates daily flag count
ember-stevens cf8a7a4
[sc-205159] Update README with current number of flags served (#39)
ember-stevens 94a8489
Add file CODEOWNERS
ld-repository-standards[bot] 2d67f82
Add file CODEOWNERS (#40)
kparkinson-ld 39b8a47
chore: update CODEOWNERS (#41)
cwaldren-ld c459931
rename .ldrelease dir to scripts
cwaldren-ld 7282b70
add build docs action
cwaldren-ld a57331a
ci: add github action to replace CircleCI
cwaldren-ld eb986de
force lua 5.3 temporarily
cwaldren-ld 42f079d
rename matrix version
cwaldren-ld b7b7057
add libcurl
cwaldren-ld 5f330b5
add redis
cwaldren-ld d07c4e8
Add luarocks
cwaldren-ld 30e5777
fix uses syntax
cwaldren-ld 0c47b66
remove sudo
cwaldren-ld 544b5a1
run unit tests
cwaldren-ld 020766b
remove luaL_register call
cwaldren-ld 78bf8c2
use luajit test
cwaldren-ld 45962d4
add publish docs action
cwaldren-ld 2ce3c0a
Revert "remove luaL_register call"
cwaldren-ld 027be6d
add manual publish docs
cwaldren-ld 48921ae
add stale workflow
cwaldren-ld e7b8bfe
add release please config
cwaldren-ld e8d9392
update copyright on license
cwaldren-ld efd43ec
update README badges
cwaldren-ld 4d97538
update extra-files with verison
cwaldren-ld e5f3856
use public repo links in README
cwaldren-ld 12e46da
Update .github/actions/ci/action.yml
cwaldren-ld baec337
revert copyright change
cwaldren-ld afbece9
Use SHAs instead of version tags
cwaldren-ld abc7f65
fetch cpp server sdk v3
cwaldren-ld e1c5400
updating bindings
cwaldren-ld daad0d6
updating to use new API, many compiler errors
cwaldren-ld f6c41b1
launchdarkly-server-sdk.c compiles
cwaldren-ld 9942fef
update unit tests
cwaldren-ld 0f1a6f8
add logging callbacks
cwaldren-ld bf2ffba
update redis binding
cwaldren-ld 5766002
Adds singleton guidance to Lua docs
scribblingfox ee9fcf4
Add file SECURITY.md
ld-repository-standards[bot] 4bebbdf
Add file SECURITY.md
ld-repository-standards[bot] 1722755
ci: replace Releaser/circleCI with release-please/Github Actions (#29)
cwaldren-ld ca21a6c
install boost on runner
cwaldren-ld aa43136
fix bindings
cwaldren-ld 39d16ef
try using prebuilt artifacts
cwaldren-ld a7ed3b6
add install dir
cwaldren-ld 9aadad4
add release subdir
cwaldren-ld 0f5b408
debug downloaded files
cwaldren-ld d595249
update redis dir
cwaldren-ld 638c314
use prerelease tags
cwaldren-ld 35f0505
update prebuilt artifact tag
cwaldren-ld f7c9413
run CI
cwaldren-ld 2de15df
fix compilation
cwaldren-ld 22a4209
add boost to dependencies
cwaldren-ld 6e92dfc
try removing BOOST_LIBDIR frm libdirs
cwaldren-ld 9005ed8
Try adding ld-cpp-server to external dependencies
cwaldren-ld 6a107e3
add redis test
cwaldren-ld 9e56561
update redis test
cwaldren-ld b75c2f7
add HIREDIS path
cwaldren-ld da4567a
try using modules.libraries for hiredis
cwaldren-ld e58ef90
attempt to fix build
cwaldren-ld 99c1ea4
fix invocation of makeRedisSource
cwaldren-ld b873c38
using a table driven approach for arg parsing
cwaldren-ld 75be09e
fix table-driven parser
cwaldren-ld 9efa84f
fix bug in parsers
cwaldren-ld 63552f4
cleanup
cwaldren-ld 59eac4a
update gitignore
cwaldren-ld 1c86f20
add privateAttributes support
cwaldren-ld 0a2cb20
will it segfault?
cwaldren-ld e5eb9f4
try again
cwaldren-ld 8b6a610
more logging
cwaldren-ld 8a9f3cc
fewer unit tests
cwaldren-ld e7a83d7
less config
cwaldren-ld 288201f
theory: table parsing casues segfault
cwaldren-ld b27effb
try removing a lua pop inside the table traverse
cwaldren-ld 83493fa
test
cwaldren-ld 6aaecdb
add serviceendpoints
cwaldren-ld d7a2997
add datasystem
cwaldren-ld 9ce31bc
parse backgroundSync
cwaldren-ld c1e45d9
add streaming
cwaldren-ld a5dcff2
add initialReconnect
cwaldren-ld af9c958
grow stack
cwaldren-ld 8ba6b4c
theory: passes
cwaldren-ld d4870de
theory: still broken
cwaldren-ld 9871228
try changing function signature
cwaldren-ld bff148b
theory: passes
cwaldren-ld 44fb819
theory: segfault
cwaldren-ld 0845132
maybeit's just numbers that are broken
cwaldren-ld bea0aea
go back to number
cwaldren-ld be508b9
theory: crash
cwaldren-ld 5022a3f
implement sub builders
cwaldren-ld 2641b5c
cleanup
cwaldren-ld 7392b54
fix segfault
cwaldren-ld 56d8432
update redis tests
cwaldren-ld ba01ab0
more polish
cwaldren-ld ff40734
test invalid redis argument
cwaldren-ld 4c10ba2
re-enable more config options in test
cwaldren-ld 6185b59
add init timeout
cwaldren-ld 9768f99
update docs
cwaldren-ld 98eaffa
Merge branch 'main' into cw/sc-227439/updated-c-bindings
cwaldren-ld e7d8171
update docs
cwaldren-ld 5b7a0e4
bump C++ release version
cwaldren-ld 2e6be35
add contextKeysCacheCapacity
cwaldren-ld 280d6c3
add some unit tests
cwaldren-ld 909b4b9
update tests
cwaldren-ld 50602c0
begin implementing context parsing logic
cwaldren-ld 5acfeaa
update tests
cwaldren-ld 7c779c1
more docs
cwaldren-ld 246d188
add context:canonicalKey
cwaldren-ld 38aa381
add privateAttributes binding
cwaldren-ld 7616dda
add equivalent context tests for variations
cwaldren-ld 4dcee37
add anonymous and name support
cwaldren-ld 8e41672
implement allFlags
cwaldren-ld e11d160
bump redis source version
cwaldren-ld c74c247
update min version in readme
cwaldren-ld 96376c1
add log level config
cwaldren-ld b214285
add custom logging support
cwaldren-ld 3c5ac36
try removing boost depend from rockspec
cwaldren-ld 501b98b
update docs
cwaldren-ld a80171b
Update scripts/get-cpp-sdk-locally.sh
cwaldren-ld da43dd4
remove type-specific checkers and replace with one generic routine
cwaldren-ld f0eb8be
indent markdown
cwaldren-ld e94b610
fix docs
cwaldren-ld 99c8391
remove some todos
cwaldren-ld File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| # This custom action is used because the MarkusJx/install-boost does | ||
| # not include all built libraries for mac or windows builds. | ||
| # Specifically, it was missing boost_json. | ||
| name: Install C++ Server-side SDK with Redis Source | ||
| description: 'Obtain prebuilt libraries for the Launchdarkly C++ server-side SDK with Redis Source.' | ||
| inputs: | ||
| version: | ||
| required: true | ||
| description: "Version of the C++ SDK with Redis Source." | ||
| default: "v1.0.1" | ||
| path: | ||
| description: "Where to download the SDK." | ||
| default: "cpp-sdk" | ||
|
|
||
| runs: | ||
| using: composite | ||
| steps: | ||
| - name: Download C++ Server-side SDK with Redis Source | ||
| uses: robinraju/release-downloader@efa4cd07bd0195e6cc65e9e30c251b49ce4d3e51 | ||
| id: download-cpp-sdk | ||
| with: | ||
| repository: "launchdarkly/cpp-sdks" | ||
| latest: false | ||
| tag: ${{ inputs.version }} | ||
| fileName: linux-gcc-x64-dynamic.zip | ||
| out-file-path: ${{ inputs.path }} | ||
| extract: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,4 @@ | ||
| .idea | ||
| cpp-sdks | ||
| *.o | ||
| *.so |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.