Questions tagged [connect-rest]

CONNECT-REST - Exceptionally featureful Restful web services middleware for connect node.js

connect-rest - Exceptionally featureful Restful web services middleware for connect node.js

The library has a stunning feature list beyond basic rest functionality.

Just a few examples: (far from incomplete):

  • execution branches: a single service can have multiple paths and handlers
  • versioning: rest services can be versioned via many ways
  • regular expressions: path description can be given using regular expression
  • parameter mappings: path matchings can be bound as parameters
  • proxy services: proxying incoming requests to a remote point passing parameters, headers as you request
  • service discovery: built-in rest service allowing one to discover what rest services are available in general or for a given version
  • "reflective" publishing: by providing a single object, its methods will be published as rest services automatically by simple logic
  • dynamic API protection by Protectors
  • Multiple contexts for flexible orchestrating
  • customizable HTTP-layer management: HTTP status code, mime-types, headers, minifying can be set at service and execution level
  • async services: a rest service can call back asynchronously when the answer is made
  • multiple return format: handlers may return with strings, objects, streams and buffers, connect-rest will manage them adequately.
3 questions
1
vote
2 answers

Downscaling of pods is not graceful when using Kafka-connect on kubernetes

I was running my kafka-connect on two ec2 machines. So irrespective of number of tasks, these two machines would always stay up running tasks. Hence under used machines. Recently I migrated kafka-connect on kubernetes. I achieved good cpu/memory…
0
votes
2 answers

Pega 7.3 Connect-Rest with multiple URLS

I am trying to figure out how to use multiple URLs in a Connect-Rest in Pega 7.3 to connect to DocuSign using the DocuSign Pega integration that is built by Pega. I have a specific link that contains API keys that I am required to use as the…
0
votes
1 answer

Supporting POST in grunt-serve using connect-rest?

I'm trying to use grunt serve with the connect-rest middleware. I tried to configure connect-rest in my Gruntfile.js which worked for GET requests, but not for POST. I wonder what I'm missing out. This is my Gruntfile.js (excerpt): module.exports =…
stwissel
  • 20,110
  • 6
  • 54
  • 101