Piotr Andruszkiewicz

Results 5 comments of Piotr Andruszkiewicz

Well, we could do it this way, but what if we actually want the metadata? Then I would like to remove only the problematic properties, like the modification date, or...

Hello, I used https://github.com/HLTech/judge-d-contract-publisher-gradle-plugin to put the sample contract into judge-d-server. This is what I get from `{{baseUrl}}/contracts/services/judge-d-example/versions/1.0-SNAPSHOT` ```json { "name": "judge-d-example", "version": "1.0-SNAPSHOT", "capabilities": { "rest": { "value": "{\"swagger\":\"2.0\",\"info\":{\"description\":\"Api...

OK, so now I have also registered contract with the environment, which I have not done earlier, so the request to `{{baseUrl}}/interrelationship/sample` gives ```json { "environment": "sample", "serviceContracts": [ {...

OK, I think I'm getting somewhere. First, I did a `POST` request to `{{baseUrl}}/contracts/services/judge-d-server/versions/1.0` with the following body: ```json { "capabilities": { "rest": { "value": "{\"swagger\":\"2.0\",\"info\":{\"description\":\"Api Documentation\",\"version\":\"1.0\",\"title\":\"Api Documentation\",\"termsOfService\":\"urn:tos\",\"contact\":{},\"license\":{\"name\":\"Apache 2.0\",\"url\":\"http://www.apache.org/licenses/LICENSE-2.0\"}},\"host\":\"localhost\",\"basePath\":\"/\",\"tags\":[{\"name\":\"environment-controller\",\"description\":\"Environment Controller\"}],\"paths\":{\"/environments/{name}\":{\"put\":{\"tags\":[\"environment-controller\"],\"summary\":\"Update...

Hi, Now I get it. I need to specify `judge-d-server` with `capabilities` and `judge-d-example` with `expectations` set. like this: POST {{baseUrl}}/contracts/services/judge-d-server/versions/1.0 ```json { "capabilities": { "rest": { "value": "{\"swagger\":\"2.0\",\"info\":{\"description\":\"Api Documentation\",\"version\":\"1.0\",\"title\":\"Api...