-
-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dcs): downgrade dcs to version 0.2.0
Signed-off-by: Jonathan Casey <[email protected]>
- Loading branch information
1 parent
a83bffa
commit b25603b
Showing
14 changed files
with
108 additions
and
108 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 |
---|---|---|
|
@@ -21,7 +21,7 @@ const ModelUtil = require('./modelutil'); | |
const { MetaModelNamespace } = require('@accordproject/concerto-metamodel'); | ||
|
||
const DCS_MODEL = `concerto version "^3.0.0" | ||
namespace org.accordproject.decoratorcommands@0.4.0 | ||
namespace org.accordproject.decoratorcommands@0.2.0 | ||
import [email protected] | ||
|
6 changes: 3 additions & 3 deletions
6
packages/concerto-core/test/data/decoratorcommands/invalid-command.json
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,13 +1,13 @@ | ||
{ | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.DecoratorCommandSet", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.DecoratorCommandSet", | ||
"name" : "invalid-command", | ||
"version": "1.0.0", | ||
"commands" : [ | ||
{ | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.Command", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.Command", | ||
"type" : "INVALID", | ||
"target" : { | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.CommandTarget", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.CommandTarget", | ||
"type" : "[email protected]" | ||
}, | ||
"decorator" : { | ||
|
6 changes: 3 additions & 3 deletions
6
packages/concerto-core/test/data/decoratorcommands/invalid-model.json
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,13 +1,13 @@ | ||
{ | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.Invalid", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.Invalid", | ||
"name" : "invalid-type", | ||
"version": "1.0.0", | ||
"commands" : [ | ||
{ | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.Command", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.Command", | ||
"type" : "UPSERT", | ||
"target" : { | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.CommandTarget", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.CommandTarget", | ||
"type" : "[email protected]" | ||
}, | ||
"decorator" : { | ||
|
6 changes: 3 additions & 3 deletions
6
packages/concerto-core/test/data/decoratorcommands/invalid-target-declaration.json
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,13 +1,13 @@ | ||
{ | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.DecoratorCommandSet", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.DecoratorCommandSet", | ||
"name" : "invalid-target-namespace", | ||
"version": "1.0.0", | ||
"commands" : [ | ||
{ | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.Command", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.Command", | ||
"type" : "UPSERT", | ||
"target" : { | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.CommandTarget", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.CommandTarget", | ||
"namespace" : "[email protected]", | ||
"declaration" : "Missing" | ||
}, | ||
|
6 changes: 3 additions & 3 deletions
6
packages/concerto-core/test/data/decoratorcommands/invalid-target-namespace.json
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,13 +1,13 @@ | ||
{ | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.DecoratorCommandSet", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.DecoratorCommandSet", | ||
"name" : "invalid-target-namespace", | ||
"version": "1.0.0", | ||
"commands" : [ | ||
{ | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.Command", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.Command", | ||
"type" : "UPSERT", | ||
"target" : { | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.CommandTarget", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.CommandTarget", | ||
"namespace" : "[email protected]" | ||
}, | ||
"decorator" : { | ||
|
6 changes: 3 additions & 3 deletions
6
packages/concerto-core/test/data/decoratorcommands/invalid-target-properties.json
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,13 +1,13 @@ | ||
{ | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.DecoratorCommandSet", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.DecoratorCommandSet", | ||
"name" : "invalid-target-properties", | ||
"version": "1.0.0", | ||
"commands" : [ | ||
{ | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.Command", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.Command", | ||
"type" : "UPSERT", | ||
"target" : { | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.CommandTarget", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.CommandTarget", | ||
"namespace" : "[email protected]", | ||
"declaration" : "Person", | ||
"properties" : ["missing"] | ||
|
6 changes: 3 additions & 3 deletions
6
packages/concerto-core/test/data/decoratorcommands/invalid-target-property-properties.json
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,13 +1,13 @@ | ||
{ | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.DecoratorCommandSet", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.DecoratorCommandSet", | ||
"name" : "invalid-target-property-properties", | ||
"version": "1.0.0", | ||
"commands" : [ | ||
{ | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.Command", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.Command", | ||
"type" : "UPSERT", | ||
"target" : { | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.CommandTarget", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.CommandTarget", | ||
"namespace" : "[email protected]", | ||
"declaration" : "Person", | ||
"property" : "firstName", | ||
|
6 changes: 3 additions & 3 deletions
6
packages/concerto-core/test/data/decoratorcommands/invalid-target-property.json
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,13 +1,13 @@ | ||
{ | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.DecoratorCommandSet", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.DecoratorCommandSet", | ||
"name" : "invalid-target-property", | ||
"version": "1.0.0", | ||
"commands" : [ | ||
{ | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.Command", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.Command", | ||
"type" : "UPSERT", | ||
"target" : { | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.CommandTarget", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.CommandTarget", | ||
"namespace" : "[email protected]", | ||
"declaration" : "Person", | ||
"property" : "missing" | ||
|
6 changes: 3 additions & 3 deletions
6
packages/concerto-core/test/data/decoratorcommands/invalid-type.json
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,13 +1,13 @@ | ||
{ | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.DecoratorCommandSet", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.DecoratorCommandSet", | ||
"name" : "invalid-type", | ||
"version": "1.0.0", | ||
"commands" : [ | ||
{ | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.Command", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.Command", | ||
"type" : "UPSERT", | ||
"target" : { | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.CommandTarget", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.CommandTarget", | ||
"type" : "[email protected]" | ||
}, | ||
"decorator" : { | ||
|
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,13 +1,13 @@ | ||
{ | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.DecoratorCommandSet", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.DecoratorCommandSet", | ||
"name" : "web", | ||
"version": "1.0.0", | ||
"commands" : [ | ||
{ | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.Command", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.Command", | ||
"type" : "APPEND", | ||
"target" : { | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.CommandTarget", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.CommandTarget", | ||
"namespace" : "[email protected]", | ||
"type" : "[email protected]", | ||
"declaration" : "Dictionary", | ||
|
@@ -20,10 +20,10 @@ | |
} | ||
}, | ||
{ | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.Command", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.Command", | ||
"type" : "UPSERT", | ||
"target" : { | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.CommandTarget", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.CommandTarget", | ||
"namespace" : "[email protected]", | ||
"declaration" : "Dictionary", | ||
"type" : "[email protected]", | ||
|
@@ -36,10 +36,10 @@ | |
} | ||
}, | ||
{ | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.Command", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.Command", | ||
"type" : "UPSERT", | ||
"target" : { | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.CommandTarget", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.CommandTarget", | ||
"namespace" : "[email protected]", | ||
"declaration" : "Dictionary", | ||
"mapElement": "KEY" | ||
|
@@ -51,10 +51,10 @@ | |
} | ||
}, | ||
{ | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.Command", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.Command", | ||
"type" : "UPSERT", | ||
"target" : { | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.CommandTarget", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.CommandTarget", | ||
"namespace" : "[email protected]", | ||
"declaration" : "Dictionary", | ||
"type" : "[email protected]", | ||
|
@@ -67,10 +67,10 @@ | |
} | ||
}, | ||
{ | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.Command", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.Command", | ||
"type" : "UPSERT", | ||
"target" : { | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.CommandTarget", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.CommandTarget", | ||
"namespace" : "[email protected]", | ||
"declaration" : "Dictionary", | ||
"mapElement": "VALUE" | ||
|
@@ -82,10 +82,10 @@ | |
} | ||
}, | ||
{ | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.Command", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.Command", | ||
"type" : "UPSERT", | ||
"target" : { | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.CommandTarget", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.CommandTarget", | ||
"namespace" : "[email protected]", | ||
"declaration" : "Dictionary", | ||
"mapElement": "KEY_VALUE" | ||
|
@@ -98,10 +98,10 @@ | |
}, | ||
|
||
{ | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.Command", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.Command", | ||
"type" : "UPSERT", | ||
"target" : { | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.CommandTarget", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.CommandTarget", | ||
"namespace" : "[email protected]", | ||
"type" : "[email protected]", | ||
"mapElement": "KEY_VALUE" | ||
|
@@ -113,10 +113,10 @@ | |
} | ||
}, | ||
{ | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.Command", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.Command", | ||
"type" : "UPSERT", | ||
"target" : { | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.CommandTarget", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.CommandTarget", | ||
"namespace" : "[email protected]", | ||
"type" : "[email protected]", | ||
"mapElement": "KEY_VALUE" | ||
|
@@ -128,10 +128,10 @@ | |
} | ||
}, | ||
{ | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.Command", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.Command", | ||
"type" : "UPSERT", | ||
"target" : { | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.CommandTarget", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.CommandTarget", | ||
"namespace" : "[email protected]", | ||
"declaration" : "Dictionary", | ||
"type" : "[email protected]" | ||
|
@@ -143,10 +143,10 @@ | |
} | ||
}, | ||
{ | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.Command", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.Command", | ||
"type" : "UPSERT", | ||
"target" : { | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.CommandTarget", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.CommandTarget", | ||
"namespace" : "[email protected]", | ||
"declaration" : "Dictionary", | ||
"type" : "[email protected]" | ||
|
@@ -158,10 +158,10 @@ | |
} | ||
}, | ||
{ | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.Command", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.Command", | ||
"type" : "UPSERT", | ||
"target" : { | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.CommandTarget", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.CommandTarget", | ||
"namespace" : "[email protected]", | ||
"type" : "[email protected]" | ||
}, | ||
|
@@ -172,10 +172,10 @@ | |
} | ||
}, | ||
{ | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.Command", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.Command", | ||
"type" : "UPSERT", | ||
"target" : { | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.CommandTarget", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.CommandTarget", | ||
"namespace" : "[email protected]", | ||
"type" : "[email protected]" | ||
}, | ||
|
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,13 +1,13 @@ | ||
{ | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.DecoratorCommandSet", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.DecoratorCommandSet", | ||
"name" : "web", | ||
"version": "1.0.0", | ||
"commands" : [ | ||
{ | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.Command", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.Command", | ||
"type" : "UPSERT", | ||
"target" : { | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.CommandTarget", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.CommandTarget", | ||
"type" : "[email protected]" | ||
}, | ||
"decorator" : { | ||
|
@@ -26,10 +26,10 @@ | |
} | ||
}, | ||
{ | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.Command", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.Command", | ||
"type" : "APPEND", | ||
"target" : { | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.CommandTarget", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.CommandTarget", | ||
"type" : "[email protected]" | ||
}, | ||
"decorator" : { | ||
|
@@ -39,10 +39,10 @@ | |
} | ||
}, | ||
{ | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.Command", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.Command", | ||
"type" : "UPSERT", | ||
"target" : { | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.CommandTarget", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.CommandTarget", | ||
"namespace" : "[email protected]", | ||
"declaration" : "Person", | ||
"property" : "bio" | ||
|
@@ -63,10 +63,10 @@ | |
} | ||
}, | ||
{ | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.Command", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.Command", | ||
"type" : "UPSERT", | ||
"target" : { | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.CommandTarget", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.CommandTarget", | ||
"namespace" : "test", | ||
"declaration" : "Person", | ||
"property" : "bio" | ||
|
@@ -78,10 +78,10 @@ | |
} | ||
}, | ||
{ | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.Command", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.Command", | ||
"type" : "UPSERT", | ||
"target" : { | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.CommandTarget", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.CommandTarget", | ||
"namespace" : "[email protected]", | ||
"declaration" : "SSN" | ||
}, | ||
|
@@ -93,10 +93,10 @@ | |
} | ||
}, | ||
{ | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.Command", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.Command", | ||
"type" : "UPSERT", | ||
"target" : { | ||
"$class" : "org.accordproject.decoratorcommands@0.4.0.CommandTarget", | ||
"$class" : "org.accordproject.decoratorcommands@0.2.0.CommandTarget", | ||
"namespace" : "test", | ||
"declaration" : "Person", | ||
"type" : "[email protected]", | ||
|
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.