scala-academy / castalia

API stub server
Other
8 stars 3 forks source link

As a stubserver consumer I want to be able to specify the endpoint of a stub in a separate json file #7

Closed jordi133 closed 8 years ago

jordi133 commented 8 years ago

Acceptance criteria:

background: given that the stubserver is started and configured to use a stub called "jsonconfiguredstub" and that a stub config file with name "jsonconfiguredstub.json" is on the classpath

given that jsonconfiguredstub.json contains a property "endpoint" equal to "jsonconfiguredstub" when I do a HTTP GET to .../castalia/stubs/jsonconfiguredstub then I should get a HTTP 200 response

TimSoethout commented 8 years ago

example branch name: feature/#7-endpoint-in-json