Skip to content

Commit

Permalink
Add user type resolution to GRAPPA
Browse files Browse the repository at this point in the history
  • Loading branch information
ishank011 committed Jun 4, 2021
1 parent c40fbae commit fcf25b0
Show file tree
Hide file tree
Showing 19 changed files with 159 additions and 83 deletions.
9 changes: 6 additions & 3 deletions examples/meshdirectory/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": "localhost:20080"
"idp": "localhost:20080",
"type": 1
},
"username": "einstein",
"secret": "relativity",
Expand All @@ -13,7 +14,8 @@
{
"id": {
"opaque_id": "f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c",
"idp": "localhost:20080"
"idp": "localhost:20080",
"type": 1
},
"username": "marie",
"secret": "radioactivity",
Expand All @@ -24,7 +26,8 @@
{
"id": {
"opaque_id": "932b4540-8d16-481e-8ef4-588e4b6b151c",
"idp": "localhost:20080"
"idp": "localhost:20080",
"type": 1
},
"username": "richard",
"secret": "superfluidity",
Expand Down
9 changes: 6 additions & 3 deletions examples/oc-phoenix/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": "localhost:20080"
"idp": "localhost:20080",
"type": 1
},
"username": "einstein",
"secret": "relativity",
Expand All @@ -13,7 +14,8 @@
{
"id": {
"opaque_id": "f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c",
"idp": "localhost:20080"
"idp": "localhost:20080",
"type": 1
},
"username": "marie",
"secret": "radioactivity",
Expand All @@ -24,7 +26,8 @@
{
"id": {
"opaque_id": "932b4540-8d16-481e-8ef4-588e4b6b151c",
"idp": "localhost:20080"
"idp": "localhost:20080",
"type": 1
},
"username": "richard",
"secret": "superfluidity",
Expand Down
12 changes: 8 additions & 4 deletions examples/ocm-partners/users-ailleron.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
{
"id": {
"opaque_id": "jarek1234",
"idp": "softwaremind.com"
"idp": "softwaremind.com",
"type": 1
},
"username": "jarek",
"secret": "jarekpass",
Expand All @@ -13,7 +14,8 @@
{
"id": {
"opaque_id": "mateusz5678",
"idp": "softwaremind.com"
"idp": "softwaremind.com",
"type": 1
},
"username": "mateusz",
"secret": "mateuszpass",
Expand All @@ -24,7 +26,8 @@
{
"id": {
"opaque_id": "dawid9876",
"idp": "softwaremind.com"
"idp": "softwaremind.com",
"type": 1
},
"username": "dawid",
"secret": "dawidpass",
Expand All @@ -35,7 +38,8 @@
{
"id": {
"opaque_id": "test4242",
"idp": "softwaremind.com"
"idp": "softwaremind.com",
"type": 1
},
"username": "test",
"secret": "testpass",
Expand Down
12 changes: 8 additions & 4 deletions examples/ocm-partners/users-cern.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
{
"id": {
"opaque_id": "ishank1234",
"idp": "cern.ch"
"idp": "cern.ch",
"type": 1
},
"username": "ishank",
"secret": "ishankpass",
Expand All @@ -13,7 +14,8 @@
{
"id": {
"opaque_id": "hugo5678",
"idp": "cern.ch"
"idp": "cern.ch",
"type": 1
},
"username": "hugo",
"secret": "hugopass",
Expand All @@ -24,7 +26,8 @@
{
"id": {
"opaque_id": "samuel9876",
"idp": "cern.ch"
"idp": "cern.ch",
"type": 1
},
"username": "samuel",
"secret": "samuelpass",
Expand All @@ -35,7 +38,8 @@
{
"id": {
"opaque_id": "test4242",
"idp": "cern.ch"
"idp": "cern.ch",
"type": 1
},
"username": "test",
"secret": "testpass",
Expand Down
9 changes: 6 additions & 3 deletions examples/ocm-partners/users-cesnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
{
"id": {
"opaque_id": "miroslav1234",
"idp": "cesnet.cz"
"idp": "cesnet.cz",
"type": 1
},
"username": "miroslav",
"secret": "miroslavpass",
Expand All @@ -13,7 +14,8 @@
{
"id": {
"opaque_id": "milan5678",
"idp": "cesnet.cz"
"idp": "cesnet.cz",
"type": 1
},
"username": "milan",
"secret": "milanpass",
Expand All @@ -24,7 +26,8 @@
{
"id": {
"opaque_id": "test4242",
"idp": "cesnet.cz"
"idp": "cesnet.cz",
"type": 1
},
"username": "test",
"secret": "testpass",
Expand Down
9 changes: 6 additions & 3 deletions examples/ocm-partners/users-cubbit.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
{
"id": {
"opaque_id": "alessandro1234",
"idp": "cubbit.io"
"idp": "cubbit.io",
"type": 1
},
"username": "alessandro",
"secret": "alessandropass",
Expand All @@ -13,7 +14,8 @@
{
"id": {
"opaque_id": "lorenzo5678",
"idp": "cubbit.io"
"idp": "cubbit.io",
"type": 1
},
"username": "lorenzo",
"secret": "lorenzopass",
Expand All @@ -24,7 +26,8 @@
{
"id": {
"opaque_id": "test4242",
"idp": "cubbit.io"
"idp": "cubbit.io",
"type": 1
},
"username": "test",
"secret": "testpass",
Expand Down
73 changes: 34 additions & 39 deletions examples/ocm-partners/users-dtu.json
Original file line number Diff line number Diff line change
@@ -1,43 +1,38 @@
[

{


"id": {
"opaque_id": "marina1234",
"idp": "dtu.dk"

},
"username": "marina",
"secret": "marinapass",
"mail": "marpap@dtu.dk",
"display_name": "Marina Papathanasiou",
"groups": ["sailing-lovers", "violin-haters", "physics-lovers"]
{
"id": {
"opaque_id": "marina1234",
"idp": "dtu.dk",
"type": 1
},
{
"id": {
"opaque_id": "frederik7899",
"idp": "dtu.dk"

},
"username": "frederik",
"secret": "frederikpass",
"mail": "frederik.orellana@deic.dk",
"display_name": "Frederik Orellana",
"groups": ["radium-lovers", "polonium-lovers", "physics-lovers"]


"username": "marina",
"secret": "marinapass",
"mail": "marpap@dtu.dk",
"display_name": "Marina Papathanasiou",
"groups": ["sailing-lovers", "violin-haters", "physics-lovers"]
},
{
"id": {
"opaque_id": "frederik7899",
"idp": "dtu.dk",
"type": 1
},
{
"id": {
"opaque_id": "test3456",
"idp": "dtu.dk"
},
"username": "test",
"secret": "testpass",
"mail": "test7@dtu.dk",
"display_name": "User_test",
"groups": ["test-lovers", "bug-haters", "ai-lovers"]
}

"username": "frederik",
"secret": "frederikpass",
"mail": "frederik.orellana@deic.dk",
"display_name": "Frederik Orellana",
"groups": ["radium-lovers", "polonium-lovers", "physics-lovers"]
},
{
"id": {
"opaque_id": "test3456",
"idp": "dtu.dk",
"type": 1
},
"username": "test",
"secret": "testpass",
"mail": "test7@dtu.dk",
"display_name": "User_test",
"groups": ["test-lovers", "bug-haters", "ai-lovers"]
}
]
9 changes: 6 additions & 3 deletions examples/ocm-partners/users-surfsara.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
{
"id": {
"opaque_id": "ron1234",
"idp": "surfsara.nl"
"idp": "surfsara.nl",
"type": 1
},
"username": "ron",
"secret": "ronpass",
Expand All @@ -13,7 +14,8 @@
{
"id": {
"opaque_id": "antoon5678",
"idp": "surfsara.nl"
"idp": "surfsara.nl",
"type": 1
},
"username": "antoon",
"secret": "antoonpass",
Expand All @@ -24,7 +26,8 @@
{
"id": {
"opaque_id": "test4242",
"idp": "surfsara.nl"
"idp": "surfsara.nl",
"type": 1
},
"username": "test",
"secret": "testpass",
Expand Down
12 changes: 8 additions & 4 deletions examples/ocm-partners/users-switch.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
{
"id": {
"opaque_id": "kerins1234",
"idp": "switch.ch"
"idp": "switch.ch",
"type": 1
},
"username": "kerins",
"secret": "kerinspass",
Expand All @@ -13,7 +14,8 @@
{
"id": {
"opaque_id": "furter5678",
"idp": "switch.ch"
"idp": "switch.ch",
"type": 1
},
"username": "furter",
"secret": "furterpass",
Expand All @@ -24,7 +26,8 @@
{
"id": {
"opaque_id": "schmid9876",
"idp": "switch.ch"
"idp": "switch.ch",
"type": 1
},
"username": "schmid",
"secret": "schmidpass",
Expand All @@ -35,7 +38,8 @@
{
"id": {
"opaque_id": "test4242",
"idp": "switch.ch"
"idp": "switch.ch",
"type": 1
},
"username": "test",
"secret": "testpass",
Expand Down
9 changes: 6 additions & 3 deletions examples/ocm-partners/users-wwu.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
{
"id": {
"opaque_id": "holger1234",
"idp": "uni-muenster.de"
"idp": "uni-muenster.de",
"type": 1
},
"username": "holger",
"secret": "holgerpass",
Expand All @@ -13,7 +14,8 @@
{
"id": {
"opaque_id": "daniel5678",
"idp": "uni-muenster.de"
"idp": "uni-muenster.de",
"type": 1
},
"username": "daniel",
"secret": "danielpass",
Expand All @@ -24,7 +26,8 @@
{
"id": {
"opaque_id": "test4242",
"idp": "uni-muenster.de"
"idp": "uni-muenster.de",
"type": 1
},
"username": "test",
"secret": "testpass",
Expand Down
Loading

0 comments on commit fcf25b0

Please sign in to comment.