Skip to content

Commit

Permalink
bug fixed double http consumer (#388)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikoteko authored Feb 2, 2024
1 parent 44b5701 commit 01ecbfc
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main/server/services/technicalComponentDirectory.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ module.exports = {
propertiesMatrix: require('../workspaceComponentInitialize/propertiesMatrix.js'),
postConsumer: require('../workspaceComponentInitialize/postConsumer.js'),
httpConsumer: require('../workspaceComponentInitialize/httpConsumer.js'),
restGetJson: require('../workspaceComponentInitialize/httpConsumer.js'),
restGetJson: require('../workspaceComponentInitialize/restGetJson.js'),
keyToArray: require('../workspaceComponentInitialize/keyToArray.js'),
sftpConsumer: require('../workspaceComponentInitialize/sftpConsumer.js'),
flat: require('../workspaceComponentInitialize/flat.js'),
Expand Down
1 change: 1 addition & 0 deletions main/server/workspaceComponentInitialize/httpConsumer.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ class HttpConsumer {
this.editor = 'http-consumer-editor'
this.graphIcon = 'Post_consumer.svg'
this.tags = [
'http://semantic-bus.org/data/tags/inComponents'
]
}
}
Expand Down
1 change: 0 additions & 1 deletion main/server/workspaceComponentInitialize/httpProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ class HttpProvider {
this.editor = 'http-provider-editor'
this.graphIcon = 'Post_provider.svg'
this.tags = [
'http://semantic-bus.org/data/tags/inComponents',
'http://semantic-bus.org/data/tags/outComponents',
'http://semantic-bus.org/data/tags/APIComponents'
],
Expand Down
10 changes: 10 additions & 0 deletions main/server/workspaceComponentInitialize/restGetJson.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
'use strict'
class RestGetJson {
constructor () {
this.type = 'Flow consumer'
this.description = 'Interroger une API REST avec une requête GET qui fournit un flux JSON; XML.'
this.editor = 'rest-get-json-editor'
this.graphIcon = 'Flow_consumer.svg'
}
}
module.exports = new RestGetJson()

0 comments on commit 01ecbfc

Please sign in to comment.