-
Notifications
You must be signed in to change notification settings - Fork 30
Tla update #500
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
Tla update #500
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
f0fc765
put lrsql_image in its own variable
deathtenk 7abdd98
updated lrsql version for each LRS
deathtenk 825d977
added test-script to see boxed TLA in action
deathtenk 8ecce80
updated postgres and redis versions
deathtenk 9a9c366
got rid of uneeded echo since lrs generates uuids
deathtenk cddb575
updated for pg 17
deathtenk 9ccae1d
updated and fixed for pg 18
deathtenk 77ab265
updated new path requirements for pg 18 in other docker compose
deathtenk 12b536c
Merge branch 'main' into tla_update
deathtenk 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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| API_USER=my_key | ||
| API_PASS=my_secret | ||
|
|
||
| BASE_STATEMENT=$(cat <<'EOF' | ||
| { | ||
| "actor": { "mbox": "mailto:learner@example.com" }, | ||
| "verb": { "id": "http://adlnet.gov/expapi/verbs/experienced" }, | ||
| "object": { "id": "http://example.com/activities/sample" } | ||
| } | ||
| EOF | ||
| ) | ||
|
|
||
| for PORT in 8081 8082 8083; do | ||
| echo "Posting to LRS on port $PORT" | ||
| curl -s -o /dev/null -w "%{http_code}\n" \ | ||
| -u "$API_USER:$API_PASS" \ | ||
| -H "X-Experience-API-Version: 1.0.3" \ | ||
| -H "Content-Type: application/json" \ | ||
| -d "$BASE_STATEMENT" \ | ||
| "http://localhost:${PORT}/xapi/statements" | ||
| done |
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.
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.
what is the ampersand here, never seen that before.
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.
just the way variables are declared in docker compose files. it's super weird i know.