Skip to content

Commit

Permalink
fix idp schema, add virtual setup
Browse files Browse the repository at this point in the history
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
  • Loading branch information
butonic committed Oct 29, 2021
1 parent 4157eed commit 924682d
Show file tree
Hide file tree
Showing 19 changed files with 340 additions and 90 deletions.
3 changes: 3 additions & 0 deletions changelog/unreleased/add-virtual-view-tests.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Enhancement: add virtual view tests

https://github.com/cs3org/reva/pull/2219
32 changes: 16 additions & 16 deletions examples/meshdirectory/groups.demo.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"id": {
"opaque_id": "sailing-lovers",
"idp": "localhost:20080"
"idp": "http://localhost:20080"
},
"group_name": "sailing-lovers",
"mail": "[email protected]",
Expand All @@ -12,15 +12,15 @@
{
"id": {
"opaque_id": "4c510ada-c86b-4815-8820-42cdf82c3d51",
"idp": "localhost:20080"
"idp": "http://localhost:20080"
}
}
]
},
{
"id": {
"opaque_id": "violin-haters",
"idp": "localhost:20080"
"idp": "http://localhost:20080"
},
"group_name": "violin-haters",
"mail": "[email protected]",
Expand All @@ -30,15 +30,15 @@
{
"id": {
"opaque_id": "4c510ada-c86b-4815-8820-42cdf82c3d51",
"idp": "localhost:20080"
"idp": "http://localhost:20080"
}
}
]
},
{
"id": {
"opaque_id": "radium-lovers",
"idp": "localhost:20080"
"idp": "http://localhost:20080"
},
"group_name": "radium-lovers",
"mail": "[email protected]",
Expand All @@ -48,15 +48,15 @@
{
"id": {
"opaque_id": "f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c",
"idp": "localhost:20080"
"idp": "http://localhost:20080"
}
}
]
},
{
"id": {
"opaque_id": "polonium-lovers",
"idp": "localhost:20080"
"idp": "http://localhost:20080"
},
"group_name": "polonium-lovers",
"mail": "[email protected]",
Expand All @@ -66,15 +66,15 @@
{
"id": {
"opaque_id": "f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c",
"idp": "localhost:20080"
"idp": "http://localhost:20080"
}
}
]
},
{
"id": {
"opaque_id": "quantum-lovers",
"idp": "localhost:20080"
"idp": "http://localhost:20080"
},
"group_name": "quantum-lovers",
"mail": "[email protected]",
Expand All @@ -84,15 +84,15 @@
{
"id": {
"opaque_id": "932b4540-8d16-481e-8ef4-588e4b6b151c",
"idp": "localhost:20080"
"idp": "http://localhost:20080"
}
}
]
},
{
"id": {
"opaque_id": "philosophy-haters",
"idp": "localhost:20080"
"idp": "http://localhost:20080"
},
"group_name": "philosophy-haters",
"mail": "[email protected]",
Expand All @@ -102,15 +102,15 @@
{
"id": {
"opaque_id": "932b4540-8d16-481e-8ef4-588e4b6b151c",
"idp": "localhost:20080"
"idp": "http://localhost:20080"
}
}
]
},
{
"id": {
"opaque_id": "physics-lovers",
"idp": "localhost:20080"
"idp": "http://localhost:20080"
},
"group_name": "physics-lovers",
"mail": "[email protected]",
Expand All @@ -120,19 +120,19 @@
{
"id": {
"opaque_id": "4c510ada-c86b-4815-8820-42cdf82c3d51",
"idp": "localhost:20080"
"idp": "http://localhost:20080"
}
},
{
"id": {
"opaque_id": "f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c",
"idp": "localhost:20080"
"idp": "http://localhost:20080"
}
},
{
"id": {
"opaque_id": "932b4540-8d16-481e-8ef4-588e4b6b151c",
"idp": "localhost:20080"
"idp": "http://localhost:20080"
}
}
]
Expand Down
6 changes: 3 additions & 3 deletions examples/meshdirectory/users.demo.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"id": {
"opaque_id": "4c510ada-c86b-4815-8820-42cdf82c3d51",
"idp": "localhost:20080",
"idp": "http://localhost:20080",
"type": 1
},
"username": "einstein",
Expand All @@ -14,7 +14,7 @@
{
"id": {
"opaque_id": "f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c",
"idp": "localhost:20080",
"idp": "http://localhost:20080",
"type": 1
},
"username": "marie",
Expand All @@ -26,7 +26,7 @@
{
"id": {
"opaque_id": "932b4540-8d16-481e-8ef4-588e4b6b151c",
"idp": "localhost:20080",
"idp": "http://localhost:20080",
"type": 1
},
"username": "richard",
Expand Down
32 changes: 16 additions & 16 deletions examples/oc-phoenix/groups.demo.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"id": {
"opaque_id": "sailing-lovers",
"idp": "localhost:20080"
"idp": "http://localhost:20080"
},
"group_name": "sailing-lovers",
"mail": "[email protected]",
Expand All @@ -12,15 +12,15 @@
{
"id": {
"opaque_id": "4c510ada-c86b-4815-8820-42cdf82c3d51",
"idp": "localhost:20080"
"idp": "http://localhost:20080"
}
}
]
},
{
"id": {
"opaque_id": "violin-haters",
"idp": "localhost:20080"
"idp": "http://localhost:20080"
},
"group_name": "violin-haters",
"mail": "[email protected]",
Expand All @@ -30,15 +30,15 @@
{
"id": {
"opaque_id": "4c510ada-c86b-4815-8820-42cdf82c3d51",
"idp": "localhost:20080"
"idp": "http://localhost:20080"
}
}
]
},
{
"id": {
"opaque_id": "radium-lovers",
"idp": "localhost:20080"
"idp": "http://localhost:20080"
},
"group_name": "radium-lovers",
"mail": "[email protected]",
Expand All @@ -48,15 +48,15 @@
{
"id": {
"opaque_id": "f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c",
"idp": "localhost:20080"
"idp": "http://localhost:20080"
}
}
]
},
{
"id": {
"opaque_id": "polonium-lovers",
"idp": "localhost:20080"
"idp": "http://localhost:20080"
},
"group_name": "polonium-lovers",
"mail": "[email protected]",
Expand All @@ -66,15 +66,15 @@
{
"id": {
"opaque_id": "f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c",
"idp": "localhost:20080"
"idp": "http://localhost:20080"
}
}
]
},
{
"id": {
"opaque_id": "quantum-lovers",
"idp": "localhost:20080"
"idp": "http://localhost:20080"
},
"group_name": "quantum-lovers",
"mail": "[email protected]",
Expand All @@ -84,15 +84,15 @@
{
"id": {
"opaque_id": "932b4540-8d16-481e-8ef4-588e4b6b151c",
"idp": "localhost:20080"
"idp": "http://localhost:20080"
}
}
]
},
{
"id": {
"opaque_id": "philosophy-haters",
"idp": "localhost:20080"
"idp": "http://localhost:20080"
},
"group_name": "philosophy-haters",
"mail": "[email protected]",
Expand All @@ -102,15 +102,15 @@
{
"id": {
"opaque_id": "932b4540-8d16-481e-8ef4-588e4b6b151c",
"idp": "localhost:20080"
"idp": "http://localhost:20080"
}
}
]
},
{
"id": {
"opaque_id": "physics-lovers",
"idp": "localhost:20080"
"idp": "http://localhost:20080"
},
"group_name": "physics-lovers",
"mail": "[email protected]",
Expand All @@ -120,19 +120,19 @@
{
"id": {
"opaque_id": "4c510ada-c86b-4815-8820-42cdf82c3d51",
"idp": "localhost:20080"
"idp": "http://localhost:20080"
}
},
{
"id": {
"opaque_id": "f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c",
"idp": "localhost:20080"
"idp": "http://localhost:20080"
}
},
{
"id": {
"opaque_id": "932b4540-8d16-481e-8ef4-588e4b6b151c",
"idp": "localhost:20080"
"idp": "http://localhost:20080"
}
}
]
Expand Down
6 changes: 3 additions & 3 deletions examples/oc-phoenix/users.demo.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"id": {
"opaque_id": "4c510ada-c86b-4815-8820-42cdf82c3d51",
"idp": "localhost:20080",
"idp": "http://localhost:20080",
"type": 1
},
"username": "einstein",
Expand All @@ -14,7 +14,7 @@
{
"id": {
"opaque_id": "f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c",
"idp": "localhost:20080",
"idp": "http://localhost:20080",
"type": 1
},
"username": "marie",
Expand All @@ -26,7 +26,7 @@
{
"id": {
"opaque_id": "932b4540-8d16-481e-8ef4-588e4b6b151c",
"idp": "localhost:20080",
"idp": "http://localhost:20080",
"type": 1
},
"username": "richard",
Expand Down
8 changes: 4 additions & 4 deletions examples/ocmd/users.demo.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"id": {
"opaque_id": "4c510ada-c86b-4815-8820-42cdf82c3d51",
"idp": "cernbox.cern.ch",
"idp": "https://cernbox.cern.ch",
"type": 1
},
"username": "einstein",
Expand All @@ -28,7 +28,7 @@
{
"id": {
"opaque_id": "f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c",
"idp": "cesnet.cz",
"idp": "https://cesnet.cz",
"type": 1
},
"username": "marie",
Expand All @@ -54,7 +54,7 @@
{
"id": {
"opaque_id": "932b4540-8d16-481e-8ef4-588e4b6b151c",
"idp": "example.org",
"idp": "https://example.org",
"type": 1
},
"username": "richard",
Expand All @@ -80,7 +80,7 @@
{
"id": {
"opaque_id": "932b4522-139b-4815-8ef4-42cdf82c3d51",
"idp": "example.com",
"idp": "https://example.com",
"type": 1
},
"username": "test",
Expand Down
3 changes: 2 additions & 1 deletion examples/plugin/users.demo.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
{
"id": {
"opaque_id": "4c510ada-c86b-4815-8820-42cdf82c3d51",
"idp": "cernbox.cern.ch"
"idp": "https://cernbox.cern.ch",
"type": 1
},
"username": "einstein",
"secret": "relativity",
Expand Down
Loading

0 comments on commit 924682d

Please sign in to comment.