-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #102 from blackboard/feature/redo-storage-setup
Feature/redo storage setup
- Loading branch information
Showing
68 changed files
with
8,093 additions
and
8,191 deletions.
There are no files selected for viewing
This file contains 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,14 +1,35 @@ | ||
{ | ||
"presets": [ | ||
"@babel/preset-env", | ||
"@babel/preset-react" | ||
[ | ||
"@babel/preset-env", | ||
{ | ||
"useBuiltIns": "usage", | ||
"corejs": 3 | ||
} | ||
], | ||
[ | ||
"@babel/preset-react" | ||
] | ||
], | ||
"plugins": [ | ||
"@babel/plugin-proposal-object-rest-spread", | ||
"@babel/plugin-proposal-class-properties", | ||
"@babel/plugin-transform-classes", | ||
"@babel/plugin-transform-flow-strip-types", | ||
"@babel/plugin-transform-modules-commonjs", | ||
"@babel/transform-runtime" | ||
"@babel/plugin-syntax-dynamic-import", | ||
["babel-plugin-import", | ||
{ | ||
"libraryName": "@material-ui/core", | ||
"libraryDirectory": "", | ||
"camel2DashComponentName": false | ||
}, | ||
"core" | ||
], | ||
[ | ||
"babel-plugin-import", | ||
{ | ||
"libraryName": "@material-ui/icons", | ||
"libraryDirectory": "", | ||
"camel2DashComponentName": false | ||
}, | ||
"icons" | ||
] | ||
] | ||
} |
This file contains 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,54 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"es2021": true, | ||
"node": true | ||
}, | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:react/recommended" | ||
], | ||
"parserOptions": { | ||
"ecmaFeatures": { | ||
"jsx": true | ||
}, | ||
"ecmaVersion": 12, | ||
"sourceType": "module" | ||
}, | ||
"plugins": [ | ||
"react" | ||
], | ||
"rules": { | ||
"indent": [ | ||
"error", | ||
2 | ||
], | ||
"linebreak-style": [ | ||
"error", | ||
"unix" | ||
], | ||
"quotes": [ | ||
"error", | ||
"single" | ||
], | ||
"semi": [ | ||
"error", | ||
"always" | ||
], | ||
"array-bracket-spacing": [ | ||
"warn", | ||
"always" | ||
], | ||
"jsx-quotes": [ | ||
"warn", | ||
"prefer-single" | ||
], | ||
"react/display-name": [ | ||
"off" | ||
] | ||
}, | ||
"ignorePatterns": [ | ||
"*.md", | ||
"/server/database/**/*.json" | ||
] | ||
} |
This file contains 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 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 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 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,8 +1,8 @@ | ||
<!doctype html> | ||
<html> | ||
<html lang="en"> | ||
<head> | ||
<style> | ||
body { | ||
body { | ||
font-family: 'Helvetica Neue', Helvetica, Roboto, Aria, sans-serif; | ||
font-size: 14px; | ||
} | ||
|
@@ -14,47 +14,112 @@ | |
background-color: lightgreen; | ||
} | ||
</style> | ||
<title>Content Item Message</title> | ||
</head> | ||
<body> | ||
|
||
<h2>Content Item test page</h2> | ||
|
||
<h3>Post to http://localhost:3000/lti</h3> | ||
<h3>Post to /lti</h3> | ||
|
||
<form method="post" action="http://localhost:3000/lti" encType="application/x-www-form-urlencoded"> | ||
<table border="1"> | ||
<tr><td class="required">lti_message_type *</td><td><input class="required" type="text" name="lti_message_type" value="ContentItemSelectionRequest" size="50" /></td></tr> | ||
<tr><td class="required">lti_version *</td><td><input class="required" type="text" name="lti_version" value="LTI-2p0" size="50" /></td></tr> | ||
<tr><td>user_id</td><td><input type="text" name="user_id" value="29123" size="50" /></td></tr> | ||
<tr><td>roles</td><td><input type="text" name="roles" value="Instructor" size="50" /></td></tr> | ||
<tr><td>lis_person_name_full</td><td><input type="text" name="lis_person_name_full" value="John Logie Baird" size="50" /></td></tr> | ||
<tr><td>lis_person_name_family</td><td><input type="text" name="lis_person_name_family" value="Baird" size="50" /></td></tr> | ||
<tr><td>lis_person_name_given</td><td><input type="text" name="lis_person_name_given" value="John" size="50" /></td></tr> | ||
<tr><td>lis_person_contact_email_primary</td><td><input type="text" name="lis_person_contact_email_primary" value="[email protected]" size="50" /></td></tr> | ||
<tr><td>context_id</td><td><input type="text" name="context_id" value="S3294476" size="50" /></td></tr> | ||
<tr><td>context_type</td><td><input type="text" name="context_type" value="CourseSection" size="50" /></td></tr> | ||
<tr><td>context_title</td><td><input type="text" name="context_title" value="Telecommunications 101" size="50" /></td></tr> | ||
<tr><td>context_label</td><td><input type="text" name="context_label" value="ST101" size="50" /></td></tr> | ||
<tr><td>lis_course_section_sourcedid</td><td><input type="text" name="lis_course_section_sourcedid" value="DD-ST101:C1" size="50" /></td></tr> | ||
<tr><td>tool_consumer_info_product_family_code</td><td><input type="text" name="tool_consumer_info_product_family_code" value="ims" size="50" /></td></tr> | ||
<tr><td>tool_consumer_info_version</td><td><input type="text" name="tool_consumer_info_version" value="1.2" size="50" /></td></tr> | ||
<tr><td>tool_consumer_instance_guid</td><td><input type="text" name="tool_consumer_instance_guid" value="imsglobal.org" size="50" /></td></tr> | ||
<tr><td>tool_consumer_instance_name</td><td><input type="text" name="tool_consumer_instance_name" value="Learning Impact Leadership Institute" size="50" /></td></tr> | ||
<tr><td>launch_presentation_document_target</td><td><input type="text" name="launch_presentation_document_target" value="frame" size="50" /></td></tr> | ||
<tr><td class="required">accept_media_types *</td><td><input class="required" type="text" name="accept_media_types" value="*/*" size="50" /></td></tr> | ||
<tr><td class="required">accept_presentation_document_targets *</td><td><input class="required" type="text" name="accept_presentation_document_targets" value="none,embed,frame,iframe,window,popup,overlay" size="50" /></td></tr> | ||
<tr><td class="required">content_item_return_url *</td><td><input class="required" type="text" name="content_item_return_url" value="https://mylearn.int.bbpd.io" size="50" /></td></tr> | ||
<tr><td>accept_unsigned</td><td><input type="text" name="accept_unsigned" value="false" size="50" /></td></tr> | ||
<tr><td>accept_multiple</td><td><input type="text" name="accept_multiple" value="true" size="50" /></td></tr> | ||
<tr><td>auto_create</td><td><input type="text" name="auto_create" value="false" size="50" /></td></tr> | ||
<tr><td>data</td><td><input type="text" name="data" value="Some opaque TC data" size="50" /></td></tr> | ||
<tr><td>oauth_version</td><td><input type="text" name="oauth_version" value="1.0" size="50" /></td></tr> | ||
<tr><td>oauth_nonce</td><td><input type="text" name="oauth_nonce" value="..." size="50" /></td></tr> | ||
<tr><td>oauth_timestamp</td><td><input type="text" name="oauth_timestamp" value="..." size="50" /></td></tr> | ||
<tr><td>oauth_consumer_key</td><td><input type="text" name="oauth_consumer_key" value="..." size="50" /></td></tr> | ||
<tr><td>oauth_callback</td><td><input type="text" name="oauth_callback" value="about:blank" size="50" /></td></tr> | ||
<tr><td>oauth_signature_method</td><td><input type="text" name="oauth_signature_method" value="HMAC-SHA1" size="50" /></td></tr> | ||
<tr><td>oauth_signature</td><td><input type="text" name="oauth_signature" value="..." size="50" /></td></tr> | ||
<form method="post" action="lti" encType="application/x-www-form-urlencoded"> | ||
<table> | ||
<tr><td class="required">lti_message_type *</td><td><label> | ||
<input class="required" type="text" name="lti_message_type" value="ContentItemSelectionRequest" size="50" /> | ||
</label></td></tr> | ||
<tr><td class="required">lti_version *</td><td><label> | ||
<input class="required" type="text" name="lti_version" value="LTI-2p0" size="50" /> | ||
</label></td></tr> | ||
<tr><td>user_id</td><td><label> | ||
<input type="text" name="user_id" value="29123" size="50" /> | ||
</label></td></tr> | ||
<tr><td>roles</td><td><label> | ||
<input type="text" name="roles" value="Instructor" size="50" /> | ||
</label></td></tr> | ||
<tr><td>lis_person_name_full</td><td><label> | ||
<input type="text" name="lis_person_name_full" value="John Logie Baird" size="50" /> | ||
</label></td></tr> | ||
<tr><td>lis_person_name_family</td><td><label> | ||
<input type="text" name="lis_person_name_family" value="Baird" size="50" /> | ||
</label></td></tr> | ||
<tr><td>lis_person_name_given</td><td><label> | ||
<input type="text" name="lis_person_name_given" value="John" size="50" /> | ||
</label></td></tr> | ||
<tr><td>lis_person_contact_email_primary</td><td><label> | ||
<input type="text" name="lis_person_contact_email_primary" value="[email protected]" size="50" /> | ||
</label></td></tr> | ||
<tr><td>context_id</td><td><label> | ||
<input type="text" name="context_id" value="S3294476" size="50" /> | ||
</label></td></tr> | ||
<tr><td>context_type</td><td><label> | ||
<input type="text" name="context_type" value="CourseSection" size="50" /> | ||
</label></td></tr> | ||
<tr><td>context_title</td><td><label> | ||
<input type="text" name="context_title" value="Telecommunications 101" size="50" /> | ||
</label></td></tr> | ||
<tr><td>context_label</td><td><label> | ||
<input type="text" name="context_label" value="ST101" size="50" /> | ||
</label></td></tr> | ||
<tr><td>lis_course_section_sourcedid</td><td><label> | ||
<input type="text" name="lis_course_section_sourcedid" value="DD-ST101:C1" size="50" /> | ||
</label></td></tr> | ||
<tr><td>tool_consumer_info_product_family_code</td><td><label> | ||
<input type="text" name="tool_consumer_info_product_family_code" value="ims" size="50" /> | ||
</label></td></tr> | ||
<tr><td>tool_consumer_info_version</td><td><label> | ||
<input type="text" name="tool_consumer_info_version" value="1.2" size="50" /> | ||
</label></td></tr> | ||
<tr><td>tool_consumer_instance_guid</td><td><label> | ||
<input type="text" name="tool_consumer_instance_guid" value="imsglobal.org" size="50" /> | ||
</label></td></tr> | ||
<tr><td>tool_consumer_instance_name</td><td><label> | ||
<input type="text" name="tool_consumer_instance_name" value="Learning Impact Leadership Institute" size="50" /> | ||
</label></td></tr> | ||
<tr><td>launch_presentation_document_target</td><td><label> | ||
<input type="text" name="launch_presentation_document_target" value="frame" size="50" /> | ||
</label></td></tr> | ||
<tr><td class="required">accept_media_types *</td><td><label> | ||
<input class="required" type="text" name="accept_media_types" value="*/*" size="50" /> | ||
</label></td></tr> | ||
<tr><td class="required">accept_presentation_document_targets *</td><td><label> | ||
<input class="required" type="text" name="accept_presentation_document_targets" value="none,embed,frame,iframe,window,popup,overlay" size="50" /> | ||
</label></td></tr> | ||
<tr><td class="required">content_item_return_url *</td><td><label> | ||
<input class="required" type="text" name="content_item_return_url" value="https://mylearn.int.bbpd.io" size="50" /> | ||
</label></td></tr> | ||
<tr><td>accept_unsigned</td><td><label> | ||
<input type="text" name="accept_unsigned" value="false" size="50" /> | ||
</label></td></tr> | ||
<tr><td>accept_multiple</td><td><label> | ||
<input type="text" name="accept_multiple" value="true" size="50" /> | ||
</label></td></tr> | ||
<tr><td>auto_create</td><td><label> | ||
<input type="text" name="auto_create" value="false" size="50" /> | ||
</label></td></tr> | ||
<tr><td>data</td><td><label> | ||
<input type="text" name="data" value="Some opaque TC data" size="50" /> | ||
</label></td></tr> | ||
<tr><td>oauth_version</td><td><label> | ||
<input type="text" name="oauth_version" value="1.0" size="50" /> | ||
</label></td></tr> | ||
<tr><td>oauth_nonce</td><td><label> | ||
<input type="text" name="oauth_nonce" value="..." size="50" /> | ||
</label></td></tr> | ||
<tr><td>oauth_timestamp</td><td><label> | ||
<input type="text" name="oauth_timestamp" value="..." size="50" /> | ||
</label></td></tr> | ||
<tr><td>oauth_consumer_key</td><td><label> | ||
<input type="text" name="oauth_consumer_key" value="..." size="50" /> | ||
</label></td></tr> | ||
<tr><td>oauth_callback</td><td><label> | ||
<input type="text" name="oauth_callback" value="about:blank" size="50" /> | ||
</label></td></tr> | ||
<tr><td>oauth_signature_method</td><td><label> | ||
<input type="text" name="oauth_signature_method" value="HMAC-SHA1" size="50" /> | ||
</label></td></tr> | ||
<tr><td>oauth_signature</td><td><label> | ||
<input type="text" name="oauth_signature" value="..." size="50" /> | ||
</label></td></tr> | ||
</table> | ||
<br/> | ||
<input type="submit" value="Submit" /> | ||
|
This file contains 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,17 +1,16 @@ | ||
lti-tool: | ||
image: lti-tool | ||
links: | ||
- redis | ||
ports: | ||
- "3000:3000" | ||
volumes: | ||
- data | ||
|
||
volumes: | ||
data: | ||
external: true | ||
# Entry for /etc/hosts in container so the tool can make calls | ||
# out to the Learn instance. This is for developers when working | ||
# on one machine. The IP address will need to be changed to the | ||
# one currently assigned to the development machine. | ||
environment: | ||
HOST_ENTRY: 10.103.124.51 mylearn.int.bbpd.io | ||
|
||
redis: | ||
image: redis | ||
ports: | ||
- "6379:6379" |
Oops, something went wrong.