Skip to content

Commit 29c1d4a

Browse files
authored
SAK-48335 Basiclti: Rename DataPrivacyLaunchRequest to be LtiDataPrivacyLaunchRequest (sakaiproject#11211)
* Rename DataPrivacyLaunchRequest to be LtiDataPrivacyLaunchRequest * Rename DataPrivacyLaunchRequest to be LtiDataPrivacyLaunchRequest * Rename DataPrivacyLaunchRequest to be LtiDataPrivacyLaunchRequest
1 parent 794b956 commit 29c1d4a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

basiclti/basiclti-tool/src/webapp/vm/lti_tool_insert.vm

+1-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ function importLTI13Config() {
228228
jQuery("#pl_launch").prop("checked", false);
229229
jQuery("#pl_lessonsselection").prop("checked", true);
230230
}
231-
if ( message.type == 'DataPrivacyLaunchRequest' ) {
231+
if ( message.type == 'LtiDataPrivacyLaunchRequest' ) {
232232
jQuery("#pl_privacy").prop("checked", true);
233233
}
234234
if ( message.placements && Array.isArray(message.placements) ) {

basiclti/tsugi-util/src/java/org/tsugi/lti13/LTI13ConstantsUtil.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public class LTI13ConstantsUtil {
7979
// Submission Review (Draft)
8080
public static final String MESSAGE_TYPE_LTI_SUBMISSION_REVIEW_REQUEST = "LtiSubmissionReviewRequest";
8181
// Data Privacy Launch (Draft)
82-
public static final String MESSAGE_TYPE_LTI_DATA_PRIVACY_LAUNCH_REQUEST = "DataPrivacyLaunchRequest";
82+
public static final String MESSAGE_TYPE_LTI_DATA_PRIVACY_LAUNCH_REQUEST = "LtiDataPrivacyLaunchRequest";
8383
public static final String CONTENT_ITEM_DOC_TARGET_IFRAME = "iframe";
8484
public static final String CONTENT_ITEM_DOC_TARGET_WINDOW = "window";
8585
public static final String CONTENT_ITEM_MEDIA_TYPES = "*/*";

basiclti/tsugi-util/src/test/org/tsugi/lti13/LTI13ObjectTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ public void testThree() throws com.fasterxml.jackson.core.JsonProcessingExceptio
214214
lj.issued = null; // Since we can't match random stuff
215215
lj.jti = null; // Since we can't match random stuff
216216
ljs = JacksonUtil.toString(lj);
217-
expected2 = expected.replaceAll("LtiResourceLinkRequest", "DataPrivacyLaunchRequest");
217+
expected2 = expected.replaceAll("LtiResourceLinkRequest", "LtiDataPrivacyLaunchRequest");
218218
assertEquals(expected2,ljs);
219219

220220
lj = new LaunchJWT(LaunchJWT.MESSAGE_TYPE_LTI_SUBMISSION_REVIEW_REQUEST);

plus/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ even have sakai.site enabled, a `LtiResourceLinkRequest` sent to the base URL wi
9898
This feature would allow you to put up a server like conversations.sakaicloud.org and serve one and
9999
only one tool.
100100

101-
* You can also send a `DataPrivacyLaunchRequest`, SakaiPlus checks the following properties (in order)
101+
* You can also send a `LtiDataPrivacyLaunchRequest`, SakaiPlus checks the following properties (in order)
102102
and redirects the user to the correct URL:
103103

104104
plus.server.policy.uri

0 commit comments

Comments
 (0)