@eclipse-emfcloud/coffee-custom-commands-example
Advanced tools
Comparing version 0.2.0-next.80aaf5f.15 to 0.2.0-next.8645d4b.27
@@ -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.80aaf5f.15+80aaf5f", | ||
"version": "0.2.0-next.8645d4b.27+8645d4b", | ||
"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.80aaf5f.15+80aaf5f", | ||
"@eclipse-emfcloud/modelserver-plugin-ext": "0.2.0-next.8645d4b.27+8645d4b", | ||
"inversify": "^5.1.1" | ||
@@ -49,3 +49,3 @@ }, | ||
}, | ||
"gitHead": "80aaf5f6655b8599c44be0692f67b8b8a4483303" | ||
"gitHead": "8645d4be4d399914237f4b7deae61ba652e7575d" | ||
} |
@@ -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