@eclipse-emfcloud/coffee-custom-commands-example
Advanced tools
Comparing version 0.2.0-next.46e550b.20 to 0.2.0-next.4e5d48f.45
@@ -63,3 +63,3 @@ "use strict"; | ||
} | ||
getCommands(customCommand) { | ||
getCommands(_modelUri, customCommand) { | ||
const [modelURI, elementID] = customCommand.owner.$ref.split('#'); | ||
@@ -66,0 +66,0 @@ return async (executor) => { |
{ | ||
"name": "@eclipse-emfcloud/coffee-custom-commands-example", | ||
"version": "0.2.0-next.46e550b.20+46e550b", | ||
"version": "0.2.0-next.4e5d48f.45+4e5d48f", | ||
"description": "Example custom command plug-in for the Model Server.", | ||
@@ -27,3 +27,3 @@ "license": "(EPL-2.0 OR MIT)", | ||
"dependencies": { | ||
"@eclipse-emfcloud/modelserver-plugin-ext": "0.2.0-next.46e550b.20+46e550b", | ||
"@eclipse-emfcloud/modelserver-plugin-ext": "0.2.0-next.4e5d48f.45+4e5d48f", | ||
"inversify": "^5.1.1" | ||
@@ -49,3 +49,3 @@ }, | ||
}, | ||
"gitHead": "46e550b857dd3546d19725118e16f119fcd7ef7c" | ||
"gitHead": "4e5d48f6b599d7e1c672f9c5b58119b1578bc74b" | ||
} |
@@ -78,3 +78,3 @@ # Custom Commands Example | ||
```plain | ||
http://localhost:8082/api/v2/models?modeluri=SuperBrewer3000.coffee | ||
http://localhost:8082/api/v2/models?modeluri=SuperBrewer3000.coffee&format=json-v2 | ||
``` | ||
@@ -100,2 +100,7 @@ | ||
You also need to set the following two headers for the request to work: | ||
- Content-Length = \<calculated when request is sent> | ||
- Content-Type = application/json | ||
Note that this uses the EMF URI fragment determined earlier in the `owner.$ref` property. | ||
@@ -102,0 +107,0 @@ The command is a custom `increment-duration` type and has no other parameters. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
34115
128