Globus Groups _testing Method List#

globus_sdk.GroupsClient#

globus_sdk.GroupsClient has registered responses for the following methods:

create_group (case="default")
{
  "name": "Claptrap's Rough Riders",
  "description": "No stairs allowed.",
  "parent_id": null,
  "id": "7d72ef88-d7ed-11ee-875f-0242ac110002",
  "group_type": "regular",
  "enforce_session": false,
  "session_limit": 28800,
  "session_timeouts": {},
  "my_memberships": [
    {
      "group_id": "7d72ef88-d7ed-11ee-875f-0242ac110002",
      "identity_id": "7d72f0a0-d7ed-11ee-875f-0242ac110002",
      "username": "claptrap@globus.org",
      "role": "member",
      "status": "active"
    }
  ],
  "policies": {
    "group_visibility": "private",
    "group_members_visibility": "managers"
  },
  "subscription_id": null,
  "subscription_info": null
}
delete_group (case="default")
{
  "name": "Claptrap's Rough Riders",
  "description": "No stairs allowed.",
  "parent_id": null,
  "id": "7d72ef88-d7ed-11ee-875f-0242ac110002",
  "group_type": "regular",
  "enforce_session": false,
  "session_limit": 28800,
  "session_timeouts": {},
  "my_memberships": [
    {
      "group_id": "7d72ef88-d7ed-11ee-875f-0242ac110002",
      "identity_id": "7d72f0a0-d7ed-11ee-875f-0242ac110002",
      "username": "claptrap@globus.org",
      "role": "member",
      "status": "active"
    }
  ],
  "policies": {
    "group_visibility": "private",
    "group_members_visibility": "managers"
  },
  "subscription_id": null,
  "subscription_info": null
}
get_group (case="default")
{
  "name": "Claptrap's Rough Riders",
  "description": "No stairs allowed.",
  "parent_id": null,
  "id": "7d72ef88-d7ed-11ee-875f-0242ac110002",
  "group_type": "regular",
  "enforce_session": false,
  "session_limit": 28800,
  "session_timeouts": {},
  "my_memberships": [
    {
      "group_id": "7d72ef88-d7ed-11ee-875f-0242ac110002",
      "identity_id": "7d72f0a0-d7ed-11ee-875f-0242ac110002",
      "username": "claptrap@globus.org",
      "role": "member",
      "status": "active"
    }
  ],
  "policies": {
    "group_visibility": "private",
    "group_members_visibility": "managers"
  },
  "subscription_id": null,
  "subscription_info": null
}
get_group (case="subscription")
{
  "name": "University of Chicago, Department of Magical Automata",
  "description": "The finest in machines that go 'ping!' and 'whomp!' and 'bzzt!'",
  "parent_id": null,
  "id": "7d72f1ae-d7ed-11ee-875f-0242ac110002",
  "group_type": "plus",
  "enforce_session": true,
  "session_limit": 1800,
  "session_timeouts": {},
  "my_memberships": [
    {
      "group_id": "7d72f1ae-d7ed-11ee-875f-0242ac110002",
      "identity_id": "7d72f0a0-d7ed-11ee-875f-0242ac110002",
      "username": "claptrap@globus.org",
      "role": "member",
      "status": "active"
    }
  ],
  "policies": {
    "group_visibility": "private",
    "group_members_visibility": "managers"
  },
  "subscription_id": "7d72f12c-d7ed-11ee-875f-0242ac110002",
  "subscription_info": {
    "name": "Golems R Us",
    "subscriber_name": "University of Chicago Golem Lab",
    "is_high_assurance": true,
    "is_baa": false,
    "connectors": {
      "052be037-7dda-4d20-b163-3077314dc3e6": {
        "is_ha": true,
        "is_baa": false
      },
      "1b6374b0-f6a4-4cf7-a26f-f262d9c6ca72": {
        "is_ha": true,
        "is_baa": false
      },
      "28ef55da-1f97-11eb-bdfd-12704e0d6a4d": {
        "is_ha": true,
        "is_baa": false
      },
      "49b00fd6-63f1-48ae-b27f-d8af4589f876": {
        "is_ha": true,
        "is_baa": false
      },
      "56366b96-ac98-11e9-abac-9cb6d0d9fd63": {
        "is_ha": true,
        "is_baa": false
      },
      "7251f6c8-93c9-11eb-95ba-12704e0d6a4d": {
        "is_ha": true,
        "is_baa": false
      },
      "7643e831-5f6c-4b47-a07f-8ee90f401d23": {
        "is_ha": true,
        "is_baa": false
      },
      "7c100eae-40fe-11e9-95a3-9cb6d0d9fd63": {
        "is_ha": true,
        "is_baa": false
      },
      "7e3f3f5e-350c-4717-891a-2f451c24b0d4": {
        "is_ha": true,
        "is_baa": false
      },
      "9436da0c-a444-11eb-af93-12704e0d6a4d": {
        "is_ha": true,
        "is_baa": false
      },
      "976cf0cf-78c3-4aab-82d2-7c16adbcc281": {
        "is_ha": true,
        "is_baa": false
      },
      "e47b6920-ff57-11ea-8aaa-000c297ab3c2": {
        "is_ha": true,
        "is_baa": false
      },
      "fb656a17-0f69-4e59-95ff-d0a62ca7bdf5": {
        "is_ha": true,
        "is_baa": false
      }
    }
  }
}
get_group_by_subscription_id (case="default")
{
  "group_id": "7d72f1ae-d7ed-11ee-875f-0242ac110002",
  "subscription_id": "7d72f12c-d7ed-11ee-875f-0242ac110002",
  "subscription_info": {
    "is_high_assurance": true,
    "is_baa": false,
    "connectors": {
      "052be037-7dda-4d20-b163-3077314dc3e6": {
        "is_ha": true,
        "is_baa": false
      },
      "1b6374b0-f6a4-4cf7-a26f-f262d9c6ca72": {
        "is_ha": true,
        "is_baa": false
      },
      "28ef55da-1f97-11eb-bdfd-12704e0d6a4d": {
        "is_ha": true,
        "is_baa": false
      },
      "49b00fd6-63f1-48ae-b27f-d8af4589f876": {
        "is_ha": true,
        "is_baa": false
      },
      "56366b96-ac98-11e9-abac-9cb6d0d9fd63": {
        "is_ha": true,
        "is_baa": false
      },
      "7251f6c8-93c9-11eb-95ba-12704e0d6a4d": {
        "is_ha": true,
        "is_baa": false
      },
      "7643e831-5f6c-4b47-a07f-8ee90f401d23": {
        "is_ha": true,
        "is_baa": false
      },
      "7c100eae-40fe-11e9-95a3-9cb6d0d9fd63": {
        "is_ha": true,
        "is_baa": false
      },
      "7e3f3f5e-350c-4717-891a-2f451c24b0d4": {
        "is_ha": true,
        "is_baa": false
      },
      "9436da0c-a444-11eb-af93-12704e0d6a4d": {
        "is_ha": true,
        "is_baa": false
      },
      "976cf0cf-78c3-4aab-82d2-7c16adbcc281": {
        "is_ha": true,
        "is_baa": false
      },
      "e47b6920-ff57-11ea-8aaa-000c297ab3c2": {
        "is_ha": true,
        "is_baa": false
      },
      "fb656a17-0f69-4e59-95ff-d0a62ca7bdf5": {
        "is_ha": true,
        "is_baa": false
      }
    }
  }
}
get_my_groups (case="default")
[
  {
    "name": "Claptrap's Rough Riders",
    "parent_id": null,
    "id": "d3974728-6458-11e4-b72d-123139141556",
    "group_type": "regular",
    "enforce_session": false,
    "session_limit": 28800,
    "session_timeouts": {},
    "my_memberships": [
      {
        "group_id": "d3974728-6458-11e4-b72d-123139141556",
        "identity_id": "ae332d86-d274-11e5-b885-b31714a110e9",
        "username": "sirosen@globusid.org",
        "role": "member",
        "status": "active"
      }
    ],
    "policies": {
      "group_visibility": "private",
      "group_members_visibility": "managers"
    }
  },
  {
    "name": "duke",
    "parent_id": "fdb38a24-03c1-11e3-86f7-12313809f035",
    "id": "7c580b9a-4592-11e3-a2a0-12313d2d6e7f",
    "group_type": "regular",
    "enforce_session": false,
    "session_limit": 28800,
    "session_timeouts": {},
    "my_memberships": [
      {
        "group_id": "7c580b9a-4592-11e3-a2a0-12313d2d6e7f",
        "identity_id": "ae332d86-d274-11e5-b885-b31714a110e9",
        "username": "sirosen@globusid.org",
        "role": "member",
        "status": "active"
      }
    ],
    "policies": {
      "group_visibility": "authenticated",
      "group_members_visibility": "members"
    }
  },
  {
    "name": "kbase_users",
    "parent_id": null,
    "id": "99d2a548-7218-11e2-adc0-12313d2d6e7f",
    "group_type": "regular",
    "enforce_session": false,
    "session_limit": 28800,
    "session_timeouts": {},
    "my_memberships": [
      {
        "group_id": "99d2a548-7218-11e2-adc0-12313d2d6e7f",
        "identity_id": "ae332d86-d274-11e5-b885-b31714a110e9",
        "username": "sirosen@globusid.org",
        "role": "member",
        "status": "active"
      }
    ],
    "policies": {
      "group_visibility": "authenticated",
      "group_members_visibility": "members"
    }
  },
  {
    "name": "connect",
    "parent_id": null,
    "id": "fdb38a24-03c1-11e3-86f7-12313809f035",
    "group_type": "regular",
    "enforce_session": false,
    "session_limit": 28800,
    "session_timeouts": {},
    "my_memberships": [
      {
        "group_id": "fdb38a24-03c1-11e3-86f7-12313809f035",
        "identity_id": "ae332d86-d274-11e5-b885-b31714a110e9",
        "username": "sirosen@globusid.org",
        "role": "member",
        "status": "active"
      }
    ],
    "policies": {
      "group_visibility": "authenticated",
      "group_members_visibility": "members"
    }
  },
  {
    "name": "sirosen's Email Testing Group",
    "parent_id": null,
    "id": "b0d168b0-6398-11e4-ac82-12313b077182",
    "group_type": "regular",
    "enforce_session": false,
    "session_limit": 28800,
    "session_timeouts": {},
    "my_memberships": [
      {
        "group_id": "b0d168b0-6398-11e4-ac82-12313b077182",
        "identity_id": "ae332d86-d274-11e5-b885-b31714a110e9",
        "username": "sirosen@globusid.org",
        "role": "admin",
        "status": "active"
      }
    ],
    "policies": {
      "group_visibility": "private",
      "group_members_visibility": "managers"
    }
  },
  {
    "name": "osg",
    "parent_id": "fdb38a24-03c1-11e3-86f7-12313809f035",
    "id": "80321e42-41a3-11e3-bef1-12313d2d6e7f",
    "group_type": "regular",
    "enforce_session": false,
    "session_limit": 28800,
    "session_timeouts": {},
    "my_memberships": [
      {
        "group_id": "80321e42-41a3-11e3-bef1-12313d2d6e7f",
        "identity_id": "ae332d86-d274-11e5-b885-b31714a110e9",
        "username": "sirosen@globusid.org",
        "role": "member",
        "status": "active"
      }
    ],
    "policies": {
      "group_visibility": "authenticated",
      "group_members_visibility": "members"
    }
  },
  {
    "name": "Search Examples: Cookery",
    "parent_id": null,
    "id": "0a4dea26-44cd-11e8-847f-0e6e723ad808",
    "group_type": "regular",
    "enforce_session": false,
    "session_limit": 28800,
    "session_timeouts": {},
    "my_memberships": [
      {
        "group_id": "0a4dea26-44cd-11e8-847f-0e6e723ad808",
        "identity_id": "ae341a98-d274-11e5-b888-dbae3a8ba545",
        "username": "sirosen@globus.org@accounts.google.com",
        "role": "admin",
        "status": "active"
      }
    ],
    "policies": {
      "group_visibility": "authenticated",
      "group_members_visibility": "managers"
    }
  }
]
set_group_policies (case="default")
{
  "is_high_assurance": false,
  "authentication_assurance_timeout": 28800,
  "group_visibility": "private",
  "group_members_visibility": "managers",
  "join_requests": false,
  "signup_fields": [
    "address1"
  ]
}