Skip to content

maxbundscherer/scala-rest-batch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scala-Rest-Batch

shields.io Travis

A scala rest-client for batch-jobs

Author: Maximilian Bundscherer

Let´s get started

  • Download and install sbt
  • Create .json-files in ./jobs/ with this structure:
{
  "requestName" : "My first request",
  "requestTargetUrl" : "google.de",
  "requestTargetPort" : "80",
  "requestType" : "GET",
  "headerParams" : [
    {
      "key" : "<KEY_1>",
      "value" : "<VALUE_1>"
    },
    {
      "key" : "<KEY_2>",
      "value" : "<VALUE_2>"
    }
  ],
  "body" : "<BODY_PAYLOAD>"
}
  • Run sbt clean run
  • See results in terminal

Note

  • You can use GET, POST, PUT, PATCH, DELETE in requestType

Included dependencies