diff options
author | Jon Marius Venstad <venstad@gmail.com> | 2019-10-08 10:50:24 +0200 |
---|---|---|
committer | Jon Marius Venstad <venstad@gmail.com> | 2019-10-08 10:50:24 +0200 |
commit | d318c55c8ffa837b381a15e04dc7d3771ecdcd95 (patch) | |
tree | 41a0cde265dabd2b0f4d7db6f33a02e51f0e46d2 /controller-server | |
parent | 2770622bfce25deeb1e9334604fbab874bf0eca5 (diff) |
Update more test responses
Diffstat (limited to 'controller-server')
6 files changed, 4 insertions, 162 deletions
diff --git a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/application/responses/application-with-routing-policy.json b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/application/responses/application-with-routing-policy.json index 776bfbf3880..7bb1d398641 100644 --- a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/application/responses/application-with-routing-policy.json +++ b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/application/responses/application-with-routing-policy.json @@ -12,38 +12,6 @@ "deployedInternally": false, "deploymentJobs": [ { - "type": "component", - "success": true, - "lastCompleted": { - "id": 42, - "version": "(ignore)", - "revision": { - "hash": "1.0.42-commit1", - "source": { - "gitRepository": "repository1", - "gitBranch": "master", - "gitCommit": "commit1" - } - }, - "reason": "Application commit", - "at": "(ignore)" - }, - "lastSuccess": { - "id": 42, - "version": "(ignore)", - "revision": { - "hash": "1.0.42-commit1", - "source": { - "gitRepository": "repository1", - "gitBranch": "master", - "gitCommit": "commit1" - } - }, - "reason": "Application commit", - "at": "(ignore)" - } - }, - { "type": "system-test", "success": true, "lastTriggered": { diff --git a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/application/responses/application.json b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/application/responses/application.json index 4469b7cb321..4a9d0369e39 100644 --- a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/application/responses/application.json +++ b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/application/responses/application.json @@ -22,38 +22,6 @@ "deployedInternally": false, "deploymentJobs": [ { - "type": "component", - "success": true, - "lastCompleted": { - "id": 42, - "version": "(ignore)", - "revision": { - "hash": "(ignore)", - "source": { - "gitRepository": "repository1", - "gitBranch": "master", - "gitCommit": "commit1" - } - }, - "reason": "Application commit", - "at": "(ignore)" - }, - "lastSuccess": { - "id": 42, - "version": "(ignore)", - "revision": { - "hash": "(ignore)", - "source": { - "gitRepository": "repository1", - "gitBranch": "master", - "gitCommit": "commit1" - } - }, - "reason": "Application commit", - "at": "(ignore)" - } - }, - { "type": "system-test", "success": true, "lastTriggered": { diff --git a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/application/responses/application1-recursive.json b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/application/responses/application1-recursive.json index 603404bffae..93efbdf3fa0 100644 --- a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/application/responses/application1-recursive.json +++ b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/application/responses/application1-recursive.json @@ -22,38 +22,6 @@ "deployedInternally": false, "deploymentJobs": [ { - "type": "component", - "success": true, - "lastCompleted": { - "id": 42, - "version": "(ignore)", - "revision": { - "hash": "(ignore)", - "source": { - "gitRepository": "repository1", - "gitBranch": "master", - "gitCommit": "commit1" - } - }, - "reason": "Application commit", - "at": "(ignore)" - }, - "lastSuccess": { - "id": 42, - "version": "(ignore)", - "revision": { - "hash": "(ignore)", - "source": { - "gitRepository": "repository1", - "gitBranch": "master", - "gitCommit": "commit1" - } - }, - "reason": "Application commit", - "at": "(ignore)" - } - }, - { "type": "system-test", "success": true, "lastTriggered": { diff --git a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/application/responses/application2-with-patches.json b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/application/responses/application2-with-patches.json index 9d76654fbc0..ddadf7af8f1 100644 --- a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/application/responses/application2-with-patches.json +++ b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/application/responses/application2-with-patches.json @@ -25,38 +25,6 @@ "deployedInternally": false, "deploymentJobs": [ { - "type": "component", - "success": true, - "lastCompleted": { - "id": 42, - "version": "(ignore)", - "revision": { - "hash": "(ignore)", - "source": { - "gitRepository": "repository1", - "gitBranch": "master", - "gitCommit": "commit1" - } - }, - "reason": "Application commit", - "at": "(ignore)" - }, - "lastSuccess": { - "id": 42, - "version": "(ignore)", - "revision": { - "hash": "(ignore)", - "source": { - "gitRepository": "repository1", - "gitBranch": "master", - "gitCommit": "commit1" - } - }, - "reason": "Application commit", - "at": "(ignore)" - } - }, - { "type": "system-test", "success": false, "lastTriggered": { diff --git a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/application/responses/application2.json b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/application/responses/application2.json index e53684d501a..9ab4e13814b 100644 --- a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/application/responses/application2.json +++ b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/application/responses/application2.json @@ -25,38 +25,6 @@ "deployedInternally": false, "deploymentJobs": [ { - "type": "component", - "success": true, - "lastCompleted": { - "id": 42, - "version": "(ignore)", - "revision": { - "hash": "(ignore)", - "source": { - "gitRepository": "repository1", - "gitBranch": "master", - "gitCommit": "commit1" - } - }, - "reason": "Application commit", - "at": "(ignore)" - }, - "lastSuccess": { - "id": 42, - "version": "(ignore)", - "revision": { - "hash": "(ignore)", - "source": { - "gitRepository": "repository1", - "gitBranch": "master", - "gitCommit": "commit1" - } - }, - "reason": "Application commit", - "at": "(ignore)" - } - }, - { "type": "system-test", "success": false, "lastTriggered": { diff --git a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/application/responses/jobs.json b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/application/responses/jobs.json index 990618f28bc..1a312f3c99c 100644 --- a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/application/responses/jobs.json +++ b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/application/responses/jobs.json @@ -132,7 +132,7 @@ "runs": [ { "id": 1, - "status": "aborted", + "status": "running", "start": (ignore), "wantedPlatform": "6.1", "wantedApplication": { @@ -143,7 +143,9 @@ "installReal": "unfinished", "copyVespaLogs": "unfinished" }, - "tasks": {}, + "tasks": { + "deploy": "running" + }, "log": "http://localhost:8080/application/v4/tenant/tenant1/application/application1/instance/instance1/job/dev-us-east-1/run/1" } ], |