Skip to content

Commit

Permalink
Add test scenario , closes [#24].
Browse files Browse the repository at this point in the history
  • Loading branch information
Syndesi committed Oct 28, 2023
1 parent 1a1b268 commit d0cfb05
Show file tree
Hide file tree
Showing 10 changed files with 84 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ 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
### Added
- Add test scenario `general.ownershipModel`, closes [#24].
### Changed
- Update readme.

Expand Down
8 changes: 8 additions & 0 deletions node/general/ownershipModel/data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "Data",
"id": "b66de74d-791a-4157-a632-4fdf066e80f2",
"data": {
"name": "Data",
"scenario": "general.ownershipModel"
}
}
8 changes: 8 additions & 0 deletions node/general/ownershipModel/group1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "Group",
"id": "3d7bf35e-0188-467f-8cb4-6741a1741429",
"data": {
"name": "Group 1",
"scenario": "general.ownershipModel"
}
}
8 changes: 8 additions & 0 deletions node/general/ownershipModel/group2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "Group",
"id": "dbc96de1-0cb7-4f20-9cfe-d23740af32b0",
"data": {
"name": "Group 2",
"scenario": "general.ownershipModel"
}
}
10 changes: 10 additions & 0 deletions node/general/ownershipModel/token.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"type": "Token",
"id": "fdc9fc1f-1436-437b-a46d-358dbbb086d1",
"data": {
"token": "secret-token:INirKZbnZETk6hLD86rfrL",
"hash": "e61b269ce385bc0e612c72cadb1727930f7b89dd4131779e72cf8dae6f9ffec9",
"scenario": "general.ownershipModel",
"note": "Token contains token only due to testing purposes."
}
}
12 changes: 12 additions & 0 deletions node/general/ownershipModel/user.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"type": "User",
"id": "e5d6c437-e13c-4fe8-85be-fc12e164eb17",
"data": {
"name": "User",
"email": "[email protected]",
"scenario": "general.ownershipModel",
"_passwordHash": "$argon2i$v=19$m=65536,t=4,p=1$b1FSdkd1OU4zWTdDME1VMQ$sKQXJI9KQTZ5Ddok/dtj3+pbVnEaTY/p0RvhLWSCqSk",
"password": "1234",
"note": "User contains password only due to testing purposes."
}
}
9 changes: 9 additions & 0 deletions relation/general/ownershipModel/is-in-group1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"type": "IS_IN_GROUP",
"id": "39956f35-6f15-4eab-aea2-ff52e395f8cf",
"start": "e5d6c437-e13c-4fe8-85be-fc12e164eb17",
"end": "3d7bf35e-0188-467f-8cb4-6741a1741429",
"data": {
"scenario": "general.ownershipModel"
}
}
9 changes: 9 additions & 0 deletions relation/general/ownershipModel/is-in-group2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"type": "IS_IN_GROUP",
"id": "57129a33-c91c-4fcf-b935-cdc9e5acf4b4",
"start": "3d7bf35e-0188-467f-8cb4-6741a1741429",
"end": "dbc96de1-0cb7-4f20-9cfe-d23740af32b0",
"data": {
"scenario": "general.ownershipModel"
}
}
9 changes: 9 additions & 0 deletions relation/general/ownershipModel/owns-token.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"type": "OWNS",
"id": "2aa7f808-d8ef-47a3-a978-56d4b329f5a5",
"start": "e5d6c437-e13c-4fe8-85be-fc12e164eb17",
"end": "fdc9fc1f-1436-437b-a46d-358dbbb086d1",
"data": {
"scenario": "general.ownershipModel"
}
}
9 changes: 9 additions & 0 deletions relation/general/ownershipModel/owns.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"type": "OWNS",
"id": "45e99a64-83c2-457e-8a37-ae753a778113",
"start": "dbc96de1-0cb7-4f20-9cfe-d23740af32b0",
"end": "b66de74d-791a-4157-a632-4fdf066e80f2",
"data": {
"scenario": "general.ownershipModel"
}
}

0 comments on commit d0cfb05

Please sign in to comment.