Skip to content

Commit

Permalink
SAK-30308 - Rename basiclti-util to tsugi-util
Browse files Browse the repository at this point in the history
  • Loading branch information
csev committed Feb 3, 2016
1 parent 05f1e54 commit cf00a93
Show file tree
Hide file tree
Showing 104 changed files with 255 additions and 196 deletions.
2 changes: 1 addition & 1 deletion basiclti/basiclti-blis/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>basiclti-util</artifactId>
<artifactId>tsugi-util</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
import net.oauth.server.OAuthServlet;
import net.oauth.signature.OAuthSignatureMethod;

import org.imsglobal.basiclti.XMLMap;
import org.tsugi.basiclti.XMLMap;

import org.w3c.dom.Node;
import org.w3c.dom.Element;
Expand All @@ -64,7 +64,7 @@
import org.sakaiproject.component.cover.ComponentManager;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.imsglobal.basiclti.BasicLTIUtil;
import org.tsugi.basiclti.BasicLTIUtil;
import org.sakaiproject.authz.api.Member;
import org.sakaiproject.authz.api.Role;
import org.sakaiproject.authz.api.AuthzGroupService;
Expand All @@ -85,11 +85,11 @@
import org.sakaiproject.user.cover.UserDirectoryService;
import org.sakaiproject.util.ResourceLoader;
import org.sakaiproject.basiclti.util.SakaiBLTIUtil;
import org.imsglobal.basiclti.BasicLTIConstants;
import org.tsugi.basiclti.BasicLTIConstants;
import org.sakaiproject.basiclti.util.LegacyShaUtil;
import org.sakaiproject.util.FormattedText;

import org.imsglobal.pox.IMSPOXRequest;
import org.tsugi.pox.IMSPOXRequest;

import org.sakaiproject.lti.api.LTIService;
import org.sakaiproject.util.foorm.SakaiFoorm;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.imsglobal.basiclti.BasicLTIConstants;
import org.imsglobal.json.IMSJSONRequest;
import org.imsglobal.lti2.LTI2Config;
import org.imsglobal.lti2.LTI2Constants;
import org.imsglobal.lti2.LTI2Messages;
import org.imsglobal.lti2.LTI2Util;
import org.imsglobal.lti2.ToolProxy;
import org.imsglobal.lti2.ContentItem;
import org.imsglobal.lti2.objects.Service_offered;
import org.imsglobal.lti2.objects.StandardServices;
import org.imsglobal.lti2.objects.ToolConsumer;
import org.tsugi.basiclti.BasicLTIConstants;
import org.tsugi.json.IMSJSONRequest;
import org.tsugi.lti2.LTI2Config;
import org.tsugi.lti2.LTI2Constants;
import org.tsugi.lti2.LTI2Messages;
import org.tsugi.lti2.LTI2Util;
import org.tsugi.lti2.ToolProxy;
import org.tsugi.lti2.ContentItem;
import org.tsugi.lti2.objects.Service_offered;
import org.tsugi.lti2.objects.StandardServices;
import org.tsugi.lti2.objects.ToolConsumer;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import org.json.simple.JSONValue;
Expand Down Expand Up @@ -216,7 +216,7 @@ protected ToolConsumer getToolConsumerProfile(Map<String, Object> deploy, String
M_log.error("* LTI2 NOT CONFIGURED - Using Sample Data *");
M_log.error("* Do not use this in production. Test only *");
M_log.error("*********************************************");
// cnf = new org.imsglobal.lti2.LTI2ConfigSample();
// cnf = new org.tsugi.lti2.LTI2ConfigSample();
cnf = new SakaiLTI2Base();
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

package org.sakaiproject.lti2;

import org.imsglobal.lti2.objects.*;
import org.tsugi.lti2.objects.*;

public class SakaiLTI2Services {

Expand Down
2 changes: 1 addition & 1 deletion basiclti/basiclti-blis/src/webapp/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<servlet>
<servlet-name>SampleServlet</servlet-name>
<servlet-class>org.imsglobal.lti2.LTI2Servlet</servlet-class>
<servlet-class>org.tsugi.lti2.LTI2Servlet</servlet-class>
</servlet>

<servlet-mapping>
Expand Down
2 changes: 1 addition & 1 deletion basiclti/basiclti-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>basiclti-util</artifactId>
<artifactId>tsugi-util</artifactId>
</dependency>
<dependency>
<groupId>org.sakaiproject.kernel</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,19 @@
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import org.imsglobal.basiclti.BasicLTIUtil;
import org.imsglobal.basiclti.BasicLTIConstants;

import org.imsglobal.lti2.LTI2Constants;
import org.imsglobal.lti2.LTI2Vars;
import org.imsglobal.lti2.LTI2Caps;
import org.imsglobal.lti2.LTI2Util;
import org.imsglobal.lti2.LTI2Messages;
import org.imsglobal.lti2.ToolProxy;
import org.imsglobal.lti2.ToolProxyBinding;
import org.imsglobal.lti2.ContentItem;
import org.imsglobal.lti2.objects.ToolConsumer;
import org.imsglobal.lti2.LTI2Config;
import org.tsugi.basiclti.BasicLTIUtil;
import org.tsugi.basiclti.BasicLTIConstants;

import org.tsugi.lti2.LTI2Constants;
import org.tsugi.lti2.LTI2Vars;
import org.tsugi.lti2.LTI2Caps;
import org.tsugi.lti2.LTI2Util;
import org.tsugi.lti2.LTI2Messages;
import org.tsugi.lti2.ToolProxy;
import org.tsugi.lti2.ToolProxyBinding;
import org.tsugi.lti2.ContentItem;
import org.tsugi.lti2.objects.ToolConsumer;
import org.tsugi.lti2.LTI2Config;

import org.sakaiproject.alias.api.AliasService;
import org.sakaiproject.lti.api.LTIService;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.sakaiproject.lti2;

import org.imsglobal.lti2.LTI2Config;
import org.tsugi.lti2.LTI2Config;

/*
# A globally unique identifier for the service. The domain name is typical.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

package org.sakaiproject.lti2;

import org.imsglobal.lti2.LTI2Config;
import org.tsugi.lti2.LTI2Config;
import org.sakaiproject.lti2.SakaiLTI2Base;

import org.sakaiproject.component.cover.ComponentManager;
Expand Down
2 changes: 1 addition & 1 deletion basiclti/basiclti-impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>basiclti-util</artifactId>
<artifactId>tsugi-util</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
import org.apache.commons.lang.StringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.imsglobal.basiclti.BasicLTIUtil;
import org.tsugi.basiclti.BasicLTIUtil;
import org.sakaiproject.authz.cover.SecurityService;
import org.sakaiproject.entity.api.Entity;
import org.sakaiproject.entity.api.EntityAccessOverloadException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import org.imsglobal.basiclti.BasicLTIConstants;
import org.imsglobal.basiclti.BasicLTIUtil;
import org.tsugi.basiclti.BasicLTIConstants;
import org.tsugi.basiclti.BasicLTIUtil;

import org.sakaiproject.authz.api.Member;
import org.sakaiproject.authz.api.Role;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import java.util.Map;
import java.util.UUID;

import org.imsglobal.basiclti.BasicLTIConstants;
import org.tsugi.basiclti.BasicLTIConstants;

import net.oauth.*;
import net.oauth.signature.OAuthSignatureMethod;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import org.imsglobal.basiclti.BasicLTIConstants;
import org.imsglobal.basiclti.BasicLTIUtil;
import org.tsugi.basiclti.BasicLTIConstants;
import org.tsugi.basiclti.BasicLTIUtil;

import org.sakaiproject.id.cover.IdManager;
import org.sakaiproject.lti.api.LTIException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import org.imsglobal.basiclti.BasicLTIConstants;
import org.tsugi.basiclti.BasicLTIConstants;

import org.sakaiproject.entity.api.ResourcePropertiesEdit;
import org.sakaiproject.exception.IdUnusedException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import org.imsglobal.basiclti.BasicLTIConstants;
import org.tsugi.basiclti.BasicLTIConstants;

import org.sakaiproject.lti.api.UserPictureSetter;
import org.sakaiproject.profile2.logic.ProfileImageLogic;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.imsglobal.basiclti.BasicLTIProviderUtil;
import org.tsugi.basiclti.BasicLTIProviderUtil;

import java.util.List;
import java.util.Map;
Expand Down
2 changes: 1 addition & 1 deletion basiclti/basiclti-pack/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>basiclti-util</artifactId>
<artifactId>tsugi-util</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
Expand Down
2 changes: 1 addition & 1 deletion basiclti/basiclti-portlet/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>basiclti-util</artifactId>
<artifactId>tsugi-util</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import org.imsglobal.basiclti.BasicLTIConstants;
import org.imsglobal.basiclti.BasicLTIUtil;
import org.imsglobal.basiclti.BasicLTIProviderUtil;
import org.tsugi.basiclti.BasicLTIConstants;
import org.tsugi.basiclti.BasicLTIUtil;
import org.tsugi.basiclti.BasicLTIProviderUtil;

import org.sakaiproject.authz.api.SecurityAdvisor;
import org.sakaiproject.authz.cover.SecurityService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

package org.sakaiproject.portlets;

import org.imsglobal.basiclti.BasicLTIUtil;
import org.tsugi.basiclti.BasicLTIUtil;

import java.lang.Integer;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,21 @@
import org.apache.commons.lang.StringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.imsglobal.basiclti.BasicLTIUtil;
import org.imsglobal.basiclti.BasicLTIConstants;
import org.imsglobal.lti2.LTI2Config;
import org.imsglobal.lti2.LTI2Constants;
import org.imsglobal.lti2.LTI2Messages;
import org.imsglobal.lti2.LTI2Util;
import org.imsglobal.lti2.ToolProxy;
import org.imsglobal.lti2.ContentItem;
import org.imsglobal.lti2.ToolProxyBinding;
import org.tsugi.basiclti.BasicLTIUtil;
import org.tsugi.basiclti.BasicLTIConstants;
import org.tsugi.lti2.LTI2Config;
import org.tsugi.lti2.LTI2Constants;
import org.tsugi.lti2.LTI2Messages;
import org.tsugi.lti2.LTI2Util;
import org.tsugi.lti2.ToolProxy;
import org.tsugi.lti2.ContentItem;
import org.tsugi.lti2.ToolProxyBinding;
import org.json.simple.JSONObject;
import org.json.simple.JSONArray;
import org.json.simple.JSONValue;
import static org.imsglobal.lti2.LTI2Util.getObject;
import static org.imsglobal.lti2.LTI2Util.getArray;
import static org.imsglobal.lti2.LTI2Util.getString;
import static org.tsugi.lti2.LTI2Util.getObject;
import static org.tsugi.lti2.LTI2Util.getArray;
import static org.tsugi.lti2.LTI2Util.getString;
import org.sakaiproject.basiclti.util.SakaiBLTIUtil;
import org.sakaiproject.cheftool.Context;
import org.sakaiproject.cheftool.JetspeedRunData;
Expand Down
10 changes: 0 additions & 10 deletions basiclti/basiclti-util/src/main/resources/META-INF/NOTICE

This file was deleted.

4 changes: 2 additions & 2 deletions basiclti/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
<module>basiclti-pack</module>
<module>basiclti-portlet</module>
<module>basiclti-blis</module>
<module>basiclti-util</module>
<module>basiclti-tool</module>
<module>portlet-util</module>
<module>tsugi-util</module>
<module>web-ifp</module>
</modules>

Expand Down Expand Up @@ -159,7 +159,7 @@
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>basiclti-util</artifactId>
<artifactId>tsugi-util</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@

===============================================================================

The BasicLTI Utilities (basiclti-util) distribution includes a number of subcomponents
The Tsugi Utilities (tsugi-util) distribution includes a number of subcomponents
with separate copyright notices and license terms. Your use of the
code for the these subcomponents is subject to the terms and
conditions of the following licenses.
Expand Down
Loading

0 comments on commit cf00a93

Please sign in to comment.