-
Notifications
You must be signed in to change notification settings - Fork 3
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 #9 from equella/issue/4
#4 - B2/WS working again in SaaS environment
- Loading branch information
Showing
61 changed files
with
6,822 additions
and
35,492 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 |
---|---|---|
|
@@ -10,4 +10,4 @@ build/ | |
.settings/ | ||
.project | ||
.classpath | ||
|
||
.vscode/ |
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Test Scenarios for oeqPrimaryB2 | ||
|
||
## Install Building Block | ||
Ensure the permissions are as expected. | ||
|
||
## Edit Building Block Settings | ||
Ensure you can save / edit configurations and they persist. | ||
Ensure the version on the settings page is the same version as in the war filename. | ||
|
||
## Add New openEQUELLA object | ||
1. Navigate to a Blackboard course | ||
1. Under `Content > Tools` , select `openEQUELLA Object` | ||
1. Ensure the Selection Session displays and you can select / add a link into the course | ||
|
||
## Access New Integration Link | ||
|
||
## Access Existing Integration Link | ||
|
||
## Edit Integration Link | ||
|
||
## Add openEQUELLA Module | ||
|
||
## Course Tools > openEQUELLA Contribute | ||
|
||
## Course Tools > openEQUELLA My Resources | ||
|
||
## Course Tools > openEQUELLA Search | ||
|
||
## Push-To-LMS | ||
Note: Requires the web service to be installed |
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,11 +1,10 @@ | ||
bbLearnVersion=9.1.201410.160373 | ||
#bbLearnVersion=3400.0.0 | ||
bbLearnVersion=3400.0.0 | ||
tomcatVersion=8.0.42 | ||
gradleTomcatPluginVersion=2.5 | ||
jstlVersion=1.2 | ||
jspApiVersion=2.3.3 | ||
servletApiVersion=4.0.1 | ||
junitVersion=4.12 | ||
# All building blocks / web services are re-versioned when this changes. | ||
artifactVersion=2.0.0-SNAPSHOT | ||
artifactVersion=2.0.1 | ||
|
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
113 changes: 88 additions & 25 deletions
113
oeqAuditB2/src/main/java/org/apereo/openequella/integration/blackboard/oeqAudit/Audit.java
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,42 +1,105 @@ | ||
package org.apereo.openequella.integration.blackboard.oeqAudit; | ||
|
||
import java.io.PrintWriter; | ||
import java.io.StringWriter; | ||
import java.sql.ResultSet; | ||
import java.sql.SQLException; | ||
import java.util.ArrayList; | ||
import java.util.Arrays; | ||
import java.util.List; | ||
import java.util.Date; | ||
import java.util.List; | ||
|
||
//import javax.servlet.http.HttpServletRequest; | ||
import blackboard.platform.BbServiceManager; | ||
import javax.servlet.http.HttpServletRequest; | ||
|
||
public class Audit { | ||
private volatile static Audit instance; | ||
|
||
protected Audit() { | ||
public static void main(String[] args) { | ||
|
||
} | ||
|
||
public static List<String> auditClasses() { | ||
List<String> audit = new ArrayList<>(); | ||
try { | ||
audit.add("Available: " + blackboard.data.blti.BasicLTIDomainConfig.class.getName()); | ||
} catch (Exception e) { | ||
audit.add("MISSING: blackboard.data.blti.BasicLTIDomainConfig"); | ||
} | ||
|
||
try { | ||
audit.add("Available: " + blackboard.platform.blti.BasicLTIDomainConfigManager.class.getName()); | ||
} catch (Exception e) { | ||
audit.add("MISSING: blackboard.platform.blti.BasicLTIDomainConfigManager"); | ||
} | ||
|
||
try { | ||
audit.add("Available: " + blackboard.data.blti.BasicLTIPlacement.class.getName()); | ||
} catch (Exception e) { | ||
audit.add("MISSING: blackboard.data.blti.BasicLTIPlacement"); | ||
} | ||
|
||
try { | ||
audit.add("Available: " + blackboard.data.blti.BasicLTIDomainHost.class.getName()); | ||
} catch (Exception e) { | ||
audit.add("MISSING: blackboard.data.blti.BasicLTIDomainHost"); | ||
} | ||
|
||
// "blackboard.data.blti.BasicLTIDomainConfig.SendUserData", | ||
// "blackboard.data.blti.BasicLTIDomainConfig.Status", | ||
// "blackboard.data.blti.BasicLTIPlacement.Type", | ||
// "blackboard.data.gradebook.impl.OutcomeDefinition", | ||
// "blackboard.db.BbDatabase", "blackboard.db.ConnectionManager", | ||
// "blackboard.db.DbUtil", | ||
// "blackboard.persist.gradebook.impl.OutcomeDefinitionDbLoader", | ||
// "blackboard.persist.impl.SimpleSelectQuery", | ||
// "blackboard.platform.blti.BasicLTIDomainConfigManager", | ||
// "blackboard.platform.blti.BasicLTIDomainConfigManagerFactory", | ||
// "blackboard.platform.blti.BasicLTIPlacementManager", | ||
// "blackboard.platform.ContentWrapperHelper", | ||
// "blackboard.platform.gradebook2.GradableItem", | ||
// "blackboard.platform.gradebook2.GradableItemManager", | ||
// "blackboard.platform.gradebook2.GradebookManagerFactory", | ||
// "blackboard.platform.gradebook2.impl.GradableItemDAO", | ||
// "blackboard.platform.gradebook2.impl.ScoreProviderDAO", | ||
// "blackboard.platform.gradebook2.ScoreProvider", | ||
// "blackboard.platform.plugin.ContentHandler", | ||
// "blackboard.platform.plugin.ContentHandlerDbLoader", | ||
// "blackboard.platform.plugin.ContentHandlerDbPersister", | ||
// "blackboard.platform.plugin.ContentHandlerType.ActionType", | ||
// "blackboard.platform.plugin.PlugInException", | ||
// "blackboard.platform.query.Criteria", | ||
// "blackboard.platform.query.CriterionBuilder", | ||
// "blackboard.platform.security.AccessManagerService", | ||
// "blackboard.platform.session.BbSessionManagerServiceExFactory", | ||
// "blackboard.platform.vxi.data.VirtualHost", | ||
// "blackboard.platform.vxi.data.VirtualInstallation", | ||
// "blackboard.platform.vxi.service.VirtualInstallationManager", | ||
// "blackboard.platform.ws.AxisHelpers", "blackboard.platform.ws.SessionVO", | ||
// "blackboard.platform.ws.WebserviceContext", | ||
// "blackboard.platform.ws.WebserviceException", | ||
// "blackboard.platform.ws.WebserviceLogger" }; | ||
|
||
return audit; | ||
} | ||
|
||
private volatile static Audit instance; | ||
|
||
protected Audit() { | ||
|
||
} | ||
} | ||
|
||
public static Audit instance() { | ||
if (instance != null) { | ||
return instance; | ||
} | ||
public static Audit instance() { | ||
if (instance != null) { | ||
return instance; | ||
} | ||
|
||
instance = new Audit(); | ||
return instance; | ||
} | ||
instance = new Audit(); | ||
return instance; | ||
} | ||
|
||
public String getAudit() { | ||
// Test to pull in the dep. | ||
String state = BbServiceManager.getState().name(); | ||
return "A successful test on " + (new Date()) + " State: " + state; | ||
} | ||
public String getAudit() { | ||
// Test to pull in the dep. | ||
String state = BbServiceManager.getState().name(); | ||
return "A successful test on " + (new Date()) + " State: " + state; | ||
} | ||
|
||
public String getError() { | ||
return null;// "An error msg here"; | ||
} | ||
public String getError() { | ||
return null;// "An error msg here"; | ||
} | ||
|
||
} |
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
Oops, something went wrong.