-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: using resource::{PlaybookSpec, ActorSpec} instead of actor:…
…:Actor and playbook::Playbook, bump version to 0.7.0
- Loading branch information
Showing
11 changed files
with
102 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,6 @@ | ||
HTTP/1.1 200 OK | ||
Server: nginx | ||
Date: Tue, 19 Jan 2016 20:50:26 GMT | ||
Content-Type: application/json; charset=utf-8 | ||
Connection: keep-alive | ||
Status: 201 Created | ||
x-ratelimit-limit: 4000 | ||
x-ratelimit-remaining: 3997 | ||
x-ratelimit-after: 1453239045 | ||
ETag: W/"165299b0ea3e5c1c80f1ae622146626f" | ||
Cache-Control: max-age=0, private, must-revalidate | ||
X-Request-Id: 9f577b9e-5bc4-4a8f-adfb-09dbb1992b0e | ||
X-Runtime: 0.061482 | ||
Strict-Transport-Security: max-age=31536000 | ||
|
||
{"id":1,"title":"Default","description":"First","created_at":"2016-01-19T20:50:26Z","updated_at":"2016-01-19T20:50:26Z"} | ||
HTTP/1.1 200 OK | ||
content-type: application/json | ||
content-length: 545 | ||
date: Sun, 14 Jan 2024 10:22:26 GMT | ||
|
||
{"name":"amp-example-go","character":{"meta":{"name":"amp-example-go","version":"0.0.3","authors":["Eguo Wang <[email protected]>"],"description":"A simple Golang example app","readme":"README.md","homepage":"https://github.com/amphitheatre-app/amp-example-go","repository":"https://github.com/amphitheatre-app/amp-example-go","license":"Apache-2.0","keywords":["example","golang","getting-started"],"categories":["example"]},"partners":{},"live":true,"once":true},"image":"index.docker.io/wangeguo/amp-example-go:live","live":true,"once":true} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,6 @@ | ||
HTTP/1.1 200 OK | ||
Server: nginx | ||
Date: Tue, 19 Jan 2016 20:50:26 GMT | ||
Content-Type: application/json; charset=utf-8 | ||
Connection: keep-alive | ||
Status: 201 Created | ||
x-ratelimit-limit: 4000 | ||
x-ratelimit-remaining: 3997 | ||
x-ratelimit-after: 1453239045 | ||
ETag: W/"165299b0ea3e5c1c80f1ae622146626f" | ||
Cache-Control: max-age=0, private, must-revalidate | ||
X-Request-Id: 9f577b9e-5bc4-4a8f-adfb-09dbb1992b0e | ||
X-Runtime: 0.061482 | ||
Strict-Transport-Security: max-age=31536000 | ||
|
||
[{"id":1,"title":"Default","description":"First","created_at":"2016-01-19T20:50:26Z","updated_at":"2016-01-19T20:50:26Z"},{"id":2,"title":"Default","description":"First","created_at":"2016-01-19T20:50:26Z","updated_at":"2016-01-19T20:50:26Z"}] | ||
HTTP/1.1 200 OK | ||
content-type: application/json | ||
content-length: 547 | ||
date: Sun, 14 Jan 2024 10:25:24 GMT | ||
|
||
[{"name":"amp-example-go","character":{"meta":{"name":"amp-example-go","version":"0.0.3","authors":["Eguo Wang <[email protected]>"],"description":"A simple Golang example app","readme":"README.md","homepage":"https://github.com/amphitheatre-app/amp-example-go","repository":"https://github.com/amphitheatre-app/amp-example-go","license":"Apache-2.0","keywords":["example","golang","getting-started"],"categories":["example"]},"partners":{},"live":true,"once":true},"image":"index.docker.io/wangeguo/amp-example-go:live","live":true,"once":true}] |
22 changes: 6 additions & 16 deletions
22
tests/fixtures/v1/api/playbooks/create-playbook-created.http
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,6 @@ | ||
HTTP/1.1 201 Created | ||
Server: nginx | ||
Date: Tue, 19 Jan 2016 20:50:26 GMT | ||
Content-Type: application/json; charset=utf-8 | ||
Connection: keep-alive | ||
Status: 201 Created | ||
x-ratelimit-limit: 4000 | ||
x-ratelimit-remaining: 3997 | ||
x-ratelimit-after: 1453239045 | ||
ETag: W/"165299b0ea3e5c1c80f1ae622146626f" | ||
Cache-Control: max-age=0, private, must-revalidate | ||
X-Request-Id: 9f577b9e-5bc4-4a8f-adfb-09dbb1992b0e | ||
X-Runtime: 0.061482 | ||
Strict-Transport-Security: max-age=31536000 | ||
|
||
{"id":"1","title":"Default","description":"First","created_at":"2016-01-19T20:50:26Z","updated_at":"2016-01-19T20:50:26Z"} | ||
HTTP/1.1 200 OK | ||
content-type: application/json | ||
content-length: 1012 | ||
date: Sun, 14 Jan 2024 10:20:36 GMT | ||
|
||
{"title":"Untitled","description":"","namespace":"amp-a82abba3-df2f-4608-b1a5-9e058ff80468","preface":{"name":"amp-example-go","manifest":{"meta":{"name":"amp-example-go","version":"0.0.3","authors":["Eguo Wang <[email protected]>"],"description":"A simple Golang example app","readme":"README.md","homepage":"https://github.com/amphitheatre-app/amp-example-go","repository":"https://github.com/amphitheatre-app/amp-example-go","license":"Apache-2.0","keywords":["example","golang","getting-started"],"categories":["example"]},"partners":{},"live":true,"once":true}},"characters":[{"meta":{"name":"amp-example-go","version":"0.0.3","authors":["Eguo Wang <[email protected]>"],"description":"A simple Golang example app","readme":"README.md","homepage":"https://github.com/amphitheatre-app/amp-example-go","repository":"https://github.com/amphitheatre-app/amp-example-go","license":"Apache-2.0","keywords":["example","golang","getting-started"],"categories":["example"]},"partners":{},"live":true,"once":true}]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,6 @@ | ||
HTTP/1.1 200 OK | ||
Server: nginx | ||
Date: Tue, 19 Jan 2016 20:50:26 GMT | ||
Content-Type: application/json; charset=utf-8 | ||
Connection: keep-alive | ||
Status: 201 Created | ||
x-ratelimit-limit: 4000 | ||
x-ratelimit-remaining: 3997 | ||
x-ratelimit-after: 1453239045 | ||
ETag: W/"165299b0ea3e5c1c80f1ae622146626f" | ||
Cache-Control: max-age=0, private, must-revalidate | ||
X-Request-Id: 9f577b9e-5bc4-4a8f-adfb-09dbb1992b0e | ||
X-Runtime: 0.061482 | ||
Strict-Transport-Security: max-age=31536000 | ||
|
||
{"id":"1","title":"Default","description":"First","created_at":"2016-01-19T20:50:26Z","updated_at":"2016-01-19T20:50:26Z"} | ||
HTTP/1.1 200 OK | ||
content-type: application/json | ||
content-length: 1012 | ||
date: Sun, 14 Jan 2024 10:20:36 GMT | ||
|
||
{"title":"Untitled","description":"","namespace":"amp-a82abba3-df2f-4608-b1a5-9e058ff80468","preface":{"name":"amp-example-go","manifest":{"meta":{"name":"amp-example-go","version":"0.0.3","authors":["Eguo Wang <[email protected]>"],"description":"A simple Golang example app","readme":"README.md","homepage":"https://github.com/amphitheatre-app/amp-example-go","repository":"https://github.com/amphitheatre-app/amp-example-go","license":"Apache-2.0","keywords":["example","golang","getting-started"],"categories":["example"]},"partners":{},"live":true,"once":true}},"characters":[{"meta":{"name":"amp-example-go","version":"0.0.3","authors":["Eguo Wang <[email protected]>"],"description":"A simple Golang example app","readme":"README.md","homepage":"https://github.com/amphitheatre-app/amp-example-go","repository":"https://github.com/amphitheatre-app/amp-example-go","license":"Apache-2.0","keywords":["example","golang","getting-started"],"categories":["example"]},"partners":{},"live":true,"once":true}]} |
22 changes: 6 additions & 16 deletions
22
tests/fixtures/v1/api/playbooks/list-playbooks-success.http
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,6 @@ | ||
HTTP/1.1 200 OK | ||
Server: nginx | ||
Date: Tue, 19 Jan 2016 20:50:26 GMT | ||
Content-Type: application/json; charset=utf-8 | ||
Connection: keep-alive | ||
Status: 201 Created | ||
x-ratelimit-limit: 4000 | ||
x-ratelimit-remaining: 3997 | ||
x-ratelimit-after: 1453239045 | ||
ETag: W/"165299b0ea3e5c1c80f1ae622146626f" | ||
Cache-Control: max-age=0, private, must-revalidate | ||
X-Request-Id: 9f577b9e-5bc4-4a8f-adfb-09dbb1992b0e | ||
X-Runtime: 0.061482 | ||
Strict-Transport-Security: max-age=31536000 | ||
|
||
[{"id":"1","title":"Default","description":"First","created_at":"2016-01-19T20:50:26Z","updated_at":"2016-01-19T20:50:26Z"},{"id":"2","title":"Default","description":"First","created_at":"2016-01-19T20:50:26Z","updated_at":"2016-01-19T20:50:26Z"}] | ||
HTTP/1.1 200 OK | ||
content-type: application/json | ||
content-length: 1014 | ||
date: Sun, 14 Jan 2024 10:19:55 GMT | ||
|
||
[{"title":"Untitled","description":"","namespace":"amp-a82abba3-df2f-4608-b1a5-9e058ff80468","preface":{"name":"amp-example-go","manifest":{"meta":{"name":"amp-example-go","version":"0.0.3","authors":["Eguo Wang <[email protected]>"],"description":"A simple Golang example app","readme":"README.md","homepage":"https://github.com/amphitheatre-app/amp-example-go","repository":"https://github.com/amphitheatre-app/amp-example-go","license":"Apache-2.0","keywords":["example","golang","getting-started"],"categories":["example"]},"partners":{},"live":true,"once":true}},"characters":[{"meta":{"name":"amp-example-go","version":"0.0.3","authors":["Eguo Wang <[email protected]>"],"description":"A simple Golang example app","readme":"README.md","homepage":"https://github.com/amphitheatre-app/amp-example-go","repository":"https://github.com/amphitheatre-app/amp-example-go","license":"Apache-2.0","keywords":["example","golang","getting-started"],"categories":["example"]},"partners":{},"live":true,"once":true}]}] |
22 changes: 6 additions & 16 deletions
22
tests/fixtures/v1/api/playbooks/update-playbook-success.http
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,6 @@ | ||
HTTP/1.1 200 OK | ||
Server: nginx | ||
Date: Tue, 19 Jan 2016 20:50:26 GMT | ||
Content-Type: application/json; charset=utf-8 | ||
Connection: keep-alive | ||
Status: 201 Created | ||
x-ratelimit-limit: 4000 | ||
x-ratelimit-remaining: 3997 | ||
x-ratelimit-after: 1453239045 | ||
ETag: W/"165299b0ea3e5c1c80f1ae622146626f" | ||
Cache-Control: max-age=0, private, must-revalidate | ||
X-Request-Id: 9f577b9e-5bc4-4a8f-adfb-09dbb1992b0e | ||
X-Runtime: 0.061482 | ||
Strict-Transport-Security: max-age=31536000 | ||
|
||
{"id":"1","title":"Default","description":"First","created_at":"2016-01-19T20:50:26Z","updated_at":"2016-01-19T20:50:26Z"} | ||
HTTP/1.1 200 OK | ||
content-type: application/json | ||
content-length: 1012 | ||
date: Sun, 14 Jan 2024 10:20:36 GMT | ||
|
||
{"title":"Untitled","description":"","namespace":"amp-a82abba3-df2f-4608-b1a5-9e058ff80468","preface":{"name":"amp-example-go","manifest":{"meta":{"name":"amp-example-go","version":"0.0.3","authors":["Eguo Wang <[email protected]>"],"description":"A simple Golang example app","readme":"README.md","homepage":"https://github.com/amphitheatre-app/amp-example-go","repository":"https://github.com/amphitheatre-app/amp-example-go","license":"Apache-2.0","keywords":["example","golang","getting-started"],"categories":["example"]},"partners":{},"live":true,"once":true}},"characters":[{"meta":{"name":"amp-example-go","version":"0.0.3","authors":["Eguo Wang <[email protected]>"],"description":"A simple Golang example app","readme":"README.md","homepage":"https://github.com/amphitheatre-app/amp-example-go","repository":"https://github.com/amphitheatre-app/amp-example-go","license":"Apache-2.0","keywords":["example","golang","getting-started"],"categories":["example"]},"partners":{},"live":true,"once":true}]} |
Oops, something went wrong.