@eclipse-emfcloud/coffee-custom-commands-example
Advanced tools
Comparing version 0.2.0-next.46e550b.20 to 0.2.0-next.4f5c0b2.23
@@ -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.4f5c0b2.23+4f5c0b2", | ||
"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.4f5c0b2.23+4f5c0b2", | ||
"inversify": "^5.1.1" | ||
@@ -49,3 +49,3 @@ }, | ||
}, | ||
"gitHead": "46e550b857dd3546d19725118e16f119fcd7ef7c" | ||
"gitHead": "4f5c0b2c2af215e9afb7199fb9b45490f6ed49be" | ||
} |
@@ -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
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
34116
128