-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added script for test work queues * Added a method to stop service tasks before unloading to avoid exceptions when unloading all services * File renamed to match interface inside * New interface IBackgroundService * Moved script to new deployment version because the version 1.0.0 does not depend on the Security package * Moved misplaced deployment script used for internal testing only so this should not be a problem * Moved deployment script to a new version
- Loading branch information
1 parent
094b9e0
commit 0e548c7
Showing
15 changed files
with
71 additions
and
61 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
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 |
---|---|---|
|
@@ -33,7 +33,7 @@ public RuleEngineService() | |
{ | ||
} | ||
#region IWorkbenchService Members | ||
|
||
public void UnloadService() | ||
{ | ||
} | ||
|
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace Origam.Workbench.Services; | ||
|
||
public interface IBackgroundService | ||
{ | ||
// Should stop timers and other running tasks. This is useful when | ||
// unloading all services because they depend on each other. Not | ||
// stopping all tasks before calling UnloadService would result in exceptions. | ||
void StopTasks(); | ||
} |
File renamed without changes.
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
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
44 changes: 22 additions & 22 deletions
44
...ts/DeploymentVersion/Widgets/1.5.5.origam → ...oymentVersion/AutomaticTests/1.0.2.origam
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,23 +1,23 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<x:file | ||
xmlns:x="http://schemas.origam.com/model-persistence/1.0.0" | ||
xmlns:asi="http://schemas.origam.com/Origam.Schema.AbstractSchemaItem/6.0.0" | ||
xmlns:ausa="http://schemas.origam.com/Origam.Schema.DeploymentModel.AbstractUpdateScriptActivity/6.0.0" | ||
xmlns:dv="http://schemas.origam.com/Origam.Schema.DeploymentModel.DeploymentVersion/6.0.0" | ||
xmlns:scusa="http://schemas.origam.com/Origam.Schema.DeploymentModel.ServiceCommandUpdateScriptActivity/6.0.0"> | ||
<dv:DeploymentVersion | ||
asi:abstract="false" | ||
dv:deploymentDependenciesCsv="
147fa70d-6519-4393-b5d0-87931f9fd609, 5.3.1
951f2cda-2867-4b99-8824-071fa8749ead, 5.4.1
b9ab12fe-7f7d-43f7-bedc-93747647d6e4, 1.2.3
bb8c67fb-44c1-4b41-8fce-4d50cd5a759d, 1.0.0
255eec22-89c5-479a-b48d-e7bc9baa564a, 1.0.0" | ||
x:id="79f10e6a-66c3-4eb5-8476-94b3585513db" | ||
asi:name="1.5.5" | ||
dv:version="1.5.5"> | ||
<scusa:DeploymentUpdateScriptActivity | ||
asi:abstract="false" | ||
ausa:activityOrder="10" | ||
scusa:commandText="-***-ExternalFile:1.5.5.origam___commandText___924f5d51-7571-4d7d-ba4a-0c5b44f91c63.txt" | ||
x:id="924f5d51-7571-4d7d-ba4a-0c5b44f91c63" | ||
asi:name="00010_Script_TestWorkQueuesWithCommands" | ||
scusa:platform="MsSql" | ||
scusa:service="Root/Service/DataService.origam#DataService/bbd7bd32-d40b-441a-bb5b-0b0fa89169d4" /> | ||
</dv:DeploymentVersion> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<x:file | ||
xmlns:x="http://schemas.origam.com/model-persistence/1.0.0" | ||
xmlns:asi="http://schemas.origam.com/Origam.Schema.AbstractSchemaItem/6.0.0" | ||
xmlns:ausa="http://schemas.origam.com/Origam.Schema.DeploymentModel.AbstractUpdateScriptActivity/6.0.0" | ||
xmlns:dv="http://schemas.origam.com/Origam.Schema.DeploymentModel.DeploymentVersion/6.0.0" | ||
xmlns:scusa="http://schemas.origam.com/Origam.Schema.DeploymentModel.ServiceCommandUpdateScriptActivity/6.0.0"> | ||
<dv:DeploymentVersion | ||
asi:abstract="false" | ||
dv:deploymentDependenciesCsv="
147fa70d-6519-4393-b5d0-87931f9fd609, 5.3.1
951f2cda-2867-4b99-8824-071fa8749ead, 5.4.1
b9ab12fe-7f7d-43f7-bedc-93747647d6e4, 1.2.3
bb8c67fb-44c1-4b41-8fce-4d50cd5a759d, 1.0.0
255eec22-89c5-479a-b48d-e7bc9baa564a, 1.0.0
f17329d6-3143-420a-a2e6-30e431eea51d, 1.5.4" | ||
x:id="6641da92-8557-48e0-aef5-6cd94111a6d6" | ||
asi:name="1.0.2" | ||
dv:version="1.0.2"> | ||
<scusa:DeploymentUpdateScriptActivity | ||
asi:abstract="false" | ||
ausa:activityOrder="10" | ||
scusa:commandText="-***-ExternalFile:1.0.2.origam___commandText___785f017c-e4a4-4a00-bf9d-c37cd842f382.txt" | ||
x:id="785f017c-e4a4-4a00-bf9d-c37cd842f382" | ||
asi:name="00010_InsertWorkqueuesAndCommandsForTests" | ||
scusa:platform="MsSql" | ||
scusa:service="Root/Service/DataService.origam#DataService/bbd7bd32-d40b-441a-bb5b-0b0fa89169d4" /> | ||
</dv:DeploymentVersion> | ||
</x:file> |
File renamed without changes.
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