Skip to content

Commit

Permalink
Refactor folder structure, and include new test scenarios for Ember N…
Browse files Browse the repository at this point in the history
…exus API endpoints.

### Changed
- Refactor folder structure.
### Added
- Add test scenario `endpoint.user.postToken` for [Ember Nexus API #49: HTTP POST /token - PostTokenController](ember-nexus/api#49).
- Add test scenario `endpoint.user.deleteToken` for [Ember Nexus API #65: HTTP DELETE /token - DeleteTokenController](ember-nexus/api#65).
- Add test scenario `endpoint.user.getToken` for [Ember Nexus API #72: HTTP GET /token - GetTokenController](ember-nexus/api#72).
  • Loading branch information
Syndesi committed Sep 3, 2023
1 parent cfeadc5 commit c11bb07
Show file tree
Hide file tree
Showing 70 changed files with 230 additions and 51 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
### Changed
- Refactor folder structure.
### Added
- Add test scenario `endpoint.user.postToken` for [Ember Nexus API #49: HTTP POST /token - PostTokenController](https://github.com/ember-nexus/api/issues/49).
- Add test scenario `endpoint.user.deleteToken` for [Ember Nexus API #65: HTTP DELETE /token - DeleteTokenController](https://github.com/ember-nexus/api/issues/65).
- Add test scenario `endpoint.user.getToken` for [Ember Nexus API #72: HTTP GET /token - GetTokenController](https://github.com/ember-nexus/api/issues/72).

## 0.0.6 - 2023-07-04
### Fixed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"id": "55cce573-1377-4781-be16-8b81587aca10",
"data": {
"name": "Data",
"test": "endpoint.deleteElement.node"
"test": "endpoint.element.deleteElement.node"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"data": {
"token": "secret-token:CevJS3ZkDtJcCdqEhFKqWF",
"hash": "4a6150e94a8b74d1f2a08b515d1e6262813e56c9315cff21148495fcfe18ac51",
"test": "endpoint.deleteElement.node",
"test": "endpoint.element.deleteElement.node",
"note": "Token contains token only due to testing purposes."
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"data": {
"name": "User",
"email": "user@node.deleteElement.endpoint.localhost.de",
"test": "endpoint.deleteElement.node"
"test": "endpoint.element.deleteElement.node"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"id": "9afdc17d-5b46-4a5b-bea1-dd8090973988",
"data": {
"name": "Data 1",
"test": "endpoint.deleteElement.relation"
"test": "endpoint.element.deleteElement.relation"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"id": "26626f55-d2db-41b6-af4e-ef04a365e0dd",
"data": {
"name": "Data 2",
"test": "endpoint.deleteElement.relation"
"test": "endpoint.element.deleteElement.relation"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"data": {
"token": "secret-token:DZnGleUhhBS5CY2T3JUkFY",
"hash": "113dda7b5bfbf4edde0e207f5abd60048d9dcfa53dd8e0e3e94542ef25a2a345",
"test": "endpoint.deleteElement.relation",
"test": "endpoint.element.deleteElement.relation",
"note": "Token contains token only due to testing purposes."
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"data": {
"name": "User",
"email": "user@relation.deleteElement.endpoint.localhost.de",
"test": "endpoint.deleteElement.relation"
"test": "endpoint.element.deleteElement.relation"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"id": "d77ca32c-8cf2-4ed9-868e-27ae122e9ea1",
"data": {
"name": "Data",
"test": "endpoint.patchElement.node"
"test": "endpoint.element.patchElement.node"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"data": {
"token": "secret-token:PsN3SfXuql92IjEUkUYZFN",
"hash": "9e93a1fd0a2c610eeec749d7f8100c8fc7129aecee49799d7e3b58aefe50b95d",
"test": "endpoint.patchElement.node",
"test": "endpoint.element.patchElement.node",
"note": "Token contains token only due to testing purposes."
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"data": {
"name": "User",
"email": "user@node.patchElement.endpoint.localhost.de",
"test": "endpoint.patchElement.node"
"test": "endpoint.element.patchElement.node"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"id": "1d223f3a-ed7a-4a08-a5fd-3c986cce9ee6",
"data": {
"name": "Data 1",
"test": "endpoint.patchElement.relation"
"test": "endpoint.element.patchElement.relation"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"id": "cea3999c-7113-497a-be6a-0e6905b3b257",
"data": {
"name": "Data 2",
"test": "endpoint.patchElement.relation"
"test": "endpoint.element.patchElement.relation"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"data": {
"token": "secret-token:S26Pn61Imv52pWOJ9GuXET",
"hash": "1e0534a02273005d4372cd9401a7a405fd1f2c585c4eaac81714640e7ca90902",
"test": "endpoint.patchElement.relation",
"test": "endpoint.element.patchElement.relation",
"note": "Token contains token only due to testing purposes."
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"data": {
"name": "User",
"email": "user@relation.patchElement.endpoint.localhost.de",
"test": "endpoint.patchElement.relation"
"test": "endpoint.element.patchElement.relation"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"data": {
"token": "secret-token:NMASHc1jOGZdU7pEl3j68T",
"hash": "8e1afc834c4388fca16de7fe7d8fe40b50427139a6743e0328a77f73a6669ff4",
"test": "endpoint.postIndex.node",
"test": "endpoint.element.postIndex.node",
"note": "Token contains token only due to testing purposes."
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"data": {
"name": "User",
"email": "user@node.postIndex.endpoint.localhost.de",
"test": "endpoint.postIndex.node"
"test": "endpoint.element.postIndex.node"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"id": "2e709799-b84b-487f-837b-9ba92b991614",
"data": {
"name": "Data 1",
"test": "endpoint.postIndex.relation"
"test": "endpoint.element.postIndex.relation"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"id": "8bf94f2b-898e-4e50-9657-6a9a0736a1be",
"data": {
"name": "Data 2",
"test": "endpoint.postIndex.relation"
"test": "endpoint.element.postIndex.relation"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"data": {
"token": "secret-token:OZmOjZnLpek1ppUvog82KR",
"hash": "d3f007b0661bb62ddb797e2733eebd93301e5fd0cd7d61c5c8e2e3538e325482",
"test": "endpoint.postIndex.relation",
"test": "endpoint.element.postIndex.relation",
"note": "Token contains token only due to testing purposes."
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"data": {
"name": "User",
"email": "user@relation.postIndex.endpoint.localhost.de",
"test": "endpoint.postIndex.relation"
"test": "endpoint.element.postIndex.relation"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"id": "b0f77cc4-5cd1-4de6-a172-ca49a662e0a7",
"data": {
"name": "Data",
"test": "endpoint.putElement.node"
"test": "endpoint.element.putElement.node"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"data": {
"token": "secret-token:SuB0jXgi2sFAkC9su6ecr8",
"hash": "c9e6c68932bd5a0c57765203fde2aca17570669be179fc7ae072d96936640b57",
"test": "endpoint.putElement.node",
"test": "endpoint.element.putElement.node",
"note": "Token contains token only due to testing purposes."
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"data": {
"name": "User",
"email": "user@node.putElement.endpoint.localhost.de",
"test": "endpoint.putElement.node"
"test": "endpoint.element.putElement.node"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"id": "4960a52c-ac17-4664-8c4c-7006205a4976",
"data": {
"name": "Data 1",
"test": "endpoint.putElement.relation"
"test": "endpoint.element.putElement.relation"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"id": "cecefaa6-cc24-45c1-bfee-d3fe527c7e8d",
"data": {
"name": "Data 2",
"test": "endpoint.putElement.relation"
"test": "endpoint.element.putElement.relation"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"data": {
"token": "secret-token:7Sm1i6YAFHCW2FFf5KmG3j",
"hash": "f8fc81b5d739df4cae113fc5f74518690c6b3195f46023581bcdd3ca589c47fd",
"test": "endpoint.putElement.relation",
"test": "endpoint.element.putElement.relation",
"note": "Token contains token only due to testing purposes."
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"data": {
"name": "User",
"email": "user@relation.putElement.endpoint.localhost.de",
"test": "endpoint.putElement.relation"
"test": "endpoint.element.putElement.relation"
}
}
8 changes: 8 additions & 0 deletions node/endpoint/user/deleteToken/data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "Data",
"id": "c9d07f63-a149-4da8-bbdd-dee1c4d2ddd0",
"data": {
"name": "Data",
"test": "endpoint.user.deleteToken"
}
}
10 changes: 10 additions & 0 deletions node/endpoint/user/deleteToken/token1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"type": "Token",
"id": "befd839e-5711-414e-8fe3-a8a3225dd603",
"data": {
"token": "secret-token:HWqEN8ai8eZtnfEIo4e1GI",
"hash": "77084f038948553ce92e20f11936953278203b18bf2f78b4cc183d8bc447f2e9",
"test": "endpoint.user.deleteToken",
"note": "Token contains token only due to testing purposes."
}
}
10 changes: 10 additions & 0 deletions node/endpoint/user/deleteToken/token2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"type": "Token",
"id": "ed1891bf-d7a8-4e64-ba0d-ebec82ad173e",
"data": {
"token": "secret-token:RIaBS3MoIoQRbu45ES4ZTP",
"hash": "6f36ef9a395a982bcef728933e99e6ff82db7c663f91f8971807c20e4dd9702c",
"test": "endpoint.user.deleteToken",
"note": "Token contains token only due to testing purposes."
}
}
9 changes: 9 additions & 0 deletions node/endpoint/user/deleteToken/user.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"type": "User",
"id": "1eb25cca-9c9e-4ec9-a9be-9044741b2b8c",
"data": {
"name": "User",
"email": "user@deleteToken.user.endpoint.localhost.de",
"test": "endpoint.user.deleteToken"
}
}
8 changes: 8 additions & 0 deletions node/endpoint/user/getToken/data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "Data",
"id": "b7bdbceb-f413-4dcd-905d-54beba27e30d",
"data": {
"name": "Data",
"test": "endpoint.user.getToken"
}
}
10 changes: 10 additions & 0 deletions node/endpoint/user/getToken/token1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"type": "Token",
"id": "2f8e245a-ff14-4f3c-b2c9-b8f7a61e55d6",
"data": {
"token": "secret-token:7s0vuDVJ1UDH0SErDeaLNe",
"hash": "62ee3af6c3a4b38922894ff256abd79da4c53f857ab447f6b52f575780782bf3",
"test": "endpoint.user.getToken",
"note": "Token contains token only due to testing purposes."
}
}
10 changes: 10 additions & 0 deletions node/endpoint/user/getToken/token2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"type": "Token",
"id": "933936dd-4bc8-48ea-bb52-2084b46c32c9",
"data": {
"token": "secret-token:6SXhgAHr76tTok79RCbdjk",
"hash": "317b5f2f14e9cc9e5a3641937b08f7b2951f2ea1a7cd9e4f7ec58408e6bf1c7d",
"test": "endpoint.user.getToken",
"note": "Token contains token only due to testing purposes."
}
}
9 changes: 9 additions & 0 deletions node/endpoint/user/getToken/user.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"type": "User",
"id": "0b42c1d0-9994-4cd4-99db-4ba5e06168cf",
"data": {
"name": "User",
"email": "user@deleteToken.user.endpoint.localhost.de",
"test": "endpoint.user.getToken"
}
}
8 changes: 8 additions & 0 deletions node/endpoint/user/postToken/data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "Data",
"id": "d728b134-f674-48cd-9fad-4077e3ee0985",
"data": {
"name": "Data",
"test": "endpoint.user.postToken"
}
}
10 changes: 10 additions & 0 deletions node/endpoint/user/postToken/token.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"type": "Token",
"id": "0bdb2640-2a6e-4dfc-b053-8ce98041d7ca",
"data": {
"token": "secret-token:3tgEP9MhD81rkp3qiJcm1U",
"hash": "16188ad791497a1fc569a56e13bf023828de0c36d1a6367a284d31680c6ebbbb",
"test": "endpoint.user.postToken",
"note": "Token contains token only due to testing purposes."
}
}
9 changes: 9 additions & 0 deletions node/endpoint/user/postToken/user.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"type": "User",
"id": "a7bdb6d2-9aeb-4406-99b4-2e1d31eeea6c",
"data": {
"name": "User",
"email": "user@postToken.user.endpoint.localhost.de",
"test": "endpoint.user.postToken"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"start": "1a0fd886-9f62-497f-8d20-bd61a40b49b7",
"end": "374fa7ea-4df7-475c-a6a6-b35ff7b9bae1",
"data": {
"test": "endpoint.deleteElement.node"
"test": "endpoint.element.deleteElement.node"
}
}
Loading

0 comments on commit c11bb07

Please sign in to comment.