-
-
-
\ No newline at end of file
diff --git a/modules/editableModule/resources/queries/vehicle/ParamParamVehicles.sql b/modules/editableModule/resources/queries/vehicle/ParamParamVehicles.sql
deleted file mode 100644
index d0c18c3f2a..0000000000
--- a/modules/editableModule/resources/queries/vehicle/ParamParamVehicles.sql
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * Copyright (c) 2013-2019 LabKey Corporation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-PARAMETERS(STARTS_WITH VARCHAR, X VARCHAR DEFAULT 'Ford')
-SELECT *
-FROM ParameterizedVehicles
diff --git a/modules/editableModule/resources/queries/vehicle/ParameterizedVehicles.sql b/modules/editableModule/resources/queries/vehicle/ParameterizedVehicles.sql
deleted file mode 100644
index 8a8be96bfd..0000000000
--- a/modules/editableModule/resources/queries/vehicle/ParameterizedVehicles.sql
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Copyright (c) 2013-2019 LabKey Corporation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-PARAMETERS(X VARCHAR DEFAULT 'Toyota', STARTS_WITH VARCHAR DEFAULT 'P')
-SELECT *
-FROM Models
-WHERE Models.ManufacturerId IN (SELECT Manufacturers.RowId FROM Manufacturers WHERE Manufacturers.Name = X) AND Models.Name LIKE STARTS_WITH || '%'
diff --git a/modules/editableModule/resources/queries/vehicle/Toyotas.sql b/modules/editableModule/resources/queries/vehicle/Toyotas.sql
deleted file mode 100644
index 2b277cf5bb..0000000000
--- a/modules/editableModule/resources/queries/vehicle/Toyotas.sql
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * Copyright (c) 2013-2019 LabKey Corporation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-SELECT Models.RowId AS _RowId, Models.Name
-FROM Models
-WHERE Models.ManufacturerId IN (SELECT Manufacturers.RowId FROM Manufacturers WHERE Manufacturers.Name = 'Toyota')
-
diff --git a/modules/editableModule/resources/queries/vehicle/UserDefinedEmissions.sql b/modules/editableModule/resources/queries/vehicle/UserDefinedEmissions.sql
deleted file mode 100644
index 77725f55ce..0000000000
--- a/modules/editableModule/resources/queries/vehicle/UserDefinedEmissions.sql
+++ /dev/null
@@ -1,16 +0,0 @@
-/*
- * Copyright (c) 2018-2019 LabKey Corporation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-SELECT Name, Result FROM vehicle.EmissionTest
diff --git a/modules/editableModule/resources/queries/vehicle/Vehicles/.qview.xml b/modules/editableModule/resources/queries/vehicle/Vehicles/.qview.xml
deleted file mode 100644
index e9d4e98611..0000000000
--- a/modules/editableModule/resources/queries/vehicle/Vehicles/.qview.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
diff --git a/modules/editableModule/resources/queries/vehicle/Vehicles/AlternateImportTemplate.qview.xml b/modules/editableModule/resources/queries/vehicle/Vehicles/AlternateImportTemplate.qview.xml
deleted file mode 100644
index d12a4bb2f7..0000000000
--- a/modules/editableModule/resources/queries/vehicle/Vehicles/AlternateImportTemplate.qview.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/modules/editableModule/resources/queries/vehicle/Vehicles/EditableFileBasedView.qview.xml b/modules/editableModule/resources/queries/vehicle/Vehicles/EditableFileBasedView.qview.xml
deleted file mode 100644
index 0fce62df08..0000000000
--- a/modules/editableModule/resources/queries/vehicle/Vehicles/EditableFileBasedView.qview.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/modules/editableModule/resources/queries/vehicle/Vehicles/Filter On Letter P.qview.xml b/modules/editableModule/resources/queries/vehicle/Vehicles/Filter On Letter P.qview.xml
deleted file mode 100644
index 00173f1c27..0000000000
--- a/modules/editableModule/resources/queries/vehicle/Vehicles/Filter On Letter P.qview.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/modules/editableModule/resources/queries/vehicle/Vehicles/SortOnModelYear.qview.xml b/modules/editableModule/resources/queries/vehicle/Vehicles/SortOnModelYear.qview.xml
deleted file mode 100644
index cc0b10f7e3..0000000000
--- a/modules/editableModule/resources/queries/vehicle/Vehicles/SortOnModelYear.qview.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
diff --git a/modules/editableModule/resources/queries/vehicle/Vehicles/VehiclesInCurrentAndSubfolders.qview.xml b/modules/editableModule/resources/queries/vehicle/Vehicles/VehiclesInCurrentAndSubfolders.qview.xml
deleted file mode 100644
index 625485ab2b..0000000000
--- a/modules/editableModule/resources/queries/vehicle/Vehicles/VehiclesInCurrentAndSubfolders.qview.xml
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/modules/editableModule/resources/queries/vehicle/Vehicles/~~INSERT~~.qview.xml b/modules/editableModule/resources/queries/vehicle/Vehicles/~~INSERT~~.qview.xml
deleted file mode 100644
index 0bcc5dbe02..0000000000
--- a/modules/editableModule/resources/queries/vehicle/Vehicles/~~INSERT~~.qview.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/modules/editableModule/resources/queries/vehicle/Vehicles/~~UPDATE~~.qview.xml b/modules/editableModule/resources/queries/vehicle/Vehicles/~~UPDATE~~.qview.xml
deleted file mode 100644
index 0639a97069..0000000000
--- a/modules/editableModule/resources/queries/vehicle/Vehicles/~~UPDATE~~.qview.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/modules/editableModule/resources/queries/vehicle/colors.js b/modules/editableModule/resources/queries/vehicle/colors.js
deleted file mode 100644
index da74e40c1c..0000000000
--- a/modules/editableModule/resources/queries/vehicle/colors.js
+++ /dev/null
@@ -1,171 +0,0 @@
-/*
- * Copyright (c) 2013-2019 LabKey Corporation
- *
- * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
- */
-// ================================================
-
-var console = require("console");
-console.log("** evaluating: " + this['javax.script.filename']);
-
-// ================================================
-
-var hexRe = /^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/;
-
-var rows = [];
-
-// called once before insert/update/delete
-function init(event, errors) {
-}
-
-function beforeInsert(row, errors) {
- // Test row map is case-insensitive
- if (row.Name != row.nAmE && row.Hex != row.hex)
- throw new Error("row properties must be case-insensitive.");
-
- // Throwing a script exception will bubble all the way up and cancel the insert immediately.
- if (row.Hex && row.Hex[0] != "#") {
- errors[null] = "color value must start with '#'";
- return;
- }
-
- // Any errors added to the error map will cancel the insert
- // and appear in the html or Ext form next to the field with the error.
- if (row.Hex && !hexRe.test(row.Hex))
- errors.Hex = "color value must be of the form #abc or #aabbcc";
-
- // Field error value as a single string.
- if (row.Name == "TestFieldErrorMessage")
- {
- errors.Hex = "**expect to overwrite this**";
- errors.Hex = "single message";
- }
-
- // Field error value as an array of error messages.
- if (row.Name == "TestFieldErrorArray")
- {
- errors.Name = "**expect to overwrite this**";
- errors.Name = [ "one error message"];
- errors.Name.push("two error message!");
- errors.Name.push("ha ha ha!");
- errors.Hex = "also an error here";
- }
-
- // Adding a generic error not associated with a field
- if (row.Name == "TestRowError")
- {
- errors[null] = "boring error message";
- // Test setting a schema/query/row number
- errors._rowNumber = 1000;
- errors._schemaName = "blarg";
- errors._queryName = "zorg";
- }
-
- // Returning false will cancel the insert with a
- // generic error message for the row.
- if (row.Name == "TestReturnFalse")
- return false;
-
- if (row.Name == "TestErrorInComplete")
- errorsInComplete = true;
-
- // Values can be transformed during insert and update
- row.Name = row.Name + "!";
- rows.push(row);
-
- // this is a field set to userEditable=false, but has a value provided by the trigger script
- row.TriggerScriptProperty = 'set';
-}
-
-function afterInsert(row, errors) {
- // Test row map is case-insensitive
- if (row.Name != row.nAmE && row.Hex != row.hex)
- throw new Error("afterInsert row properties must be case-insensitive.");
-}
-
-function beforeUpdate(row, oldRow, errors) {
- // Test row map is case-insensitive
- if (row.Name != row.nAmE && row.Hex != row.hex)
- throw new Error("beforeUpdate row properties must be case-insensitive.");
-
- // Test oldRow map is case-insensitive
- if (oldRow.Name != oldRow.nAmE && oldRow.Hex != oldRow.hex)
- throw new Error("beforeUpdate oldRow properties must be case-insensitive.");
-
- // Adding a generic error not associated with a field
- if (row.Name == "TestRowErrorBeforeUpdate!")
- errors[null] = "boring error message beforeUpdate";
-
- // Woah, scary! Even the pk 'Name' property can be changed during update.
- if (row.Name[row.Name.length - 1] == "!")
- row.Name = row.Name.substring(0, row.Name.length-1) + "?";
-
- if (oldRow.Hex != row.Hex)
- errors.Hex = "once set, cannot be changed";
-}
-
-function afterUpdate(row, oldRow, errors) {
- // Test row map is case-insensitive
- if (row.Name != row.nAmE && row.Hex != row.hex)
- throw new Error("afterUpdate row properties must be case-insensitive.");
-
- // Test oldRow map is case-insensitive
- if (oldRow.Name != oldRow.nAmE && oldRow.Hex != oldRow.hex)
- throw new Error("afterUpdate oldRow properties must be case-insensitive.");
-
- if (row.Name[row.Name.length - 1] != "?")
- errors[null] = "Expected color name to end in '?'";
-}
-
-function beforeDelete(row, errors) {
- // Test row map is case-insensitive
- if (row.Name != row.nAmE)
- throw new Error("beforeDelete row properties must be case-insensitive.");
-
- // Adding a generic error not associated with a field
- if (row.Name == "TestRowErrorBeforeDelete!")
- errors[null] = "boring error message beforeDelete";
-}
-
-function afterDelete(row, errors) {
- // Test row map is case-insensitive
- if (row.Name != row.nAmE)
- throw new Error("afterDelete row properties must be case-insensitive.");
-}
-
-// called once after insert/update/delete
-function complete(event, errors) {
- if (event == "insert") {
-
- for (var i in rows) {
- var row = rows[i];
-
- // The 'errors' object for init/complete is an array of maps
- if (row.Name == "TestErrorInComplete!")
- errors.push({ Name : "TestErrorInComplete error global four!", _rowNumber: i, _row: {a: "A", b: "B"} });
-
- if (row.Name == "TestFieldErrorArrayInComplete!")
- {
- errors.push({Name: ["one error message", "two error message"], Hex: ["three error message"], _rowNumber: i});
- errors.push({Hex: "four error message", _rowNumber: i});
- }
-
- // Returning false will cancel the insert with
- // a generic error message for the entire set of rows.
- if (row.Name == "Zoro!")
- return false;
-
- }
- }
-}
-
-var {Debug, trace} = require("editablemodule/Debug");
-init = Debug.addBefore(init, trace);
-beforeInsert = Debug.addBefore(beforeInsert, trace);
-afterInsert = Debug.addBefore(afterInsert, trace);
-beforeUpdate = Debug.addBefore(beforeUpdate, trace);
-afterUpdate = Debug.addBefore(afterUpdate, trace);
-beforeDelete = Debug.addBefore(beforeDelete, trace);
-afterDelete = Debug.addBefore(afterDelete, trace);
-complete = Debug.addBefore(complete, trace);
-
diff --git a/modules/editableModule/resources/reports/schemas/editableModuleReport.r b/modules/editableModule/resources/reports/schemas/editableModuleReport.r
deleted file mode 100644
index b7f634492f..0000000000
--- a/modules/editableModule/resources/reports/schemas/editableModuleReport.r
+++ /dev/null
@@ -1,9 +0,0 @@
-##
-# Copyright (c) 2013-2019 LabKey Corporation
-#
-# Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
-##
-cat('Hello, ', labkey.url.params$greeter, '!\n', sep='')
-
-cat("{ \"a\": [1,2,3], \"", labkey.url.params$greeter, "\": \"Hello\" }\n", sep="", file="${jsonout:hello.json}")
-
diff --git a/modules/editableModule/resources/schemas/LinkedVehicle.template.xml b/modules/editableModule/resources/schemas/LinkedVehicle.template.xml
deleted file mode 100644
index 2b1a54072b..0000000000
--- a/modules/editableModule/resources/schemas/LinkedVehicle.template.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- *
-
-
-
diff --git a/modules/editableModule/resources/schemas/vehicle.xml b/modules/editableModule/resources/schemas/vehicle.xml
deleted file mode 100644
index ed1788c726..0000000000
--- a/modules/editableModule/resources/schemas/vehicle.xml
+++ /dev/null
@@ -1,336 +0,0 @@
-
-
-
-
-
This is a web part view in the simple test module.
-begin
-
diff --git a/modules/editableModule/resources/web/editablemodule/alert.png b/modules/editableModule/resources/web/editablemodule/alert.png
deleted file mode 100644
index 4bd8367655..0000000000
Binary files a/modules/editableModule/resources/web/editablemodule/alert.png and /dev/null differ
diff --git a/modules/editableModule/resources/web/editablemodule/testfile.js b/modules/editableModule/resources/web/editablemodule/testfile.js
deleted file mode 100644
index 6d3a2e2690..0000000000
--- a/modules/editableModule/resources/web/editablemodule/testfile.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * Copyright (c) 2013-2019 LabKey Corporation
- *
- * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
- */
-//module.xml should require this module's context to be present
-//if not, the alert should fail the test
-if(LABKEY.getModuleContext('editablemodule') === null)
- alert('Editablemodule module context not present');
-
-if(LABKEY.getModuleContext('core') === null)
- alert('Core module context not present');
-
-//we also test for this value
-LABKEY.moduleContext.editablemodule.scriptLoaded = true;
\ No newline at end of file
diff --git a/modules/editableModule/resources/web/editablemodule/testfile2.js b/modules/editableModule/resources/web/editablemodule/testfile2.js
deleted file mode 100644
index 9cc4e75d68..0000000000
--- a/modules/editableModule/resources/web/editablemodule/testfile2.js
+++ /dev/null
@@ -1,8 +0,0 @@
-/*
- * Copyright (c) 2013-2019 LabKey Corporation
- *
- * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
- */
-function testfile2(div, content) {
- div.innerHTML = content + ' Loaded dependent scripts.';
-}
\ No newline at end of file
diff --git a/modules/editableModule/src/org/labkey/editablemodule/EditableModuleController.java b/modules/editableModule/src/org/labkey/editablemodule/EditableModuleController.java
deleted file mode 100644
index e2fc20e23e..0000000000
--- a/modules/editableModule/src/org/labkey/editablemodule/EditableModuleController.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Copyright (c) 2020 LabKey Corporation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.labkey.editablemodule;
-
-import org.labkey.api.action.SimpleViewAction;
-import org.labkey.api.action.SpringActionController;
-import org.labkey.api.security.RequiresPermission;
-import org.labkey.api.security.permissions.ReadPermission;
-import org.labkey.api.view.JspView;
-import org.labkey.api.view.NavTree;
-import org.springframework.validation.BindException;
-import org.springframework.web.servlet.ModelAndView;
-
-public class EditableModuleController extends SpringActionController
-{
- private static final DefaultActionResolver _actionResolver = new DefaultActionResolver(EditableModuleController.class);
- public static final String NAME = "editablemodule";
-
- public EditableModuleController()
- {
- setActionResolver(_actionResolver);
- }
-
- @RequiresPermission(ReadPermission.class)
- public static class HelloAction extends SimpleViewAction