X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/7538d084fa8778289053f62a6fb8d3ea04868258..f5764a05d616e8d3c55b94503d5a1f789ac66ea7:/services/api/test/fixtures/groups.yml diff --git a/services/api/test/fixtures/groups.yml b/services/api/test/fixtures/groups.yml index 7c3396047f..92a1ced528 100644 --- a/services/api/test/fixtures/groups.yml +++ b/services/api/test/fixtures/groups.yml @@ -1,3 +1,7 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + public: uuid: zzzzz-j7d0g-it30l961gq3t0oi owner_uuid: zzzzz-tpzed-d9tiejq69daie8f @@ -148,6 +152,14 @@ group_for_sharing_tests: description: Users who can share objects with each other group_class: role +project_owned_by_foo: + uuid: zzzzz-j7d0g-lsjm0ibr0ydwpzx + owner_uuid: zzzzz-tpzed-81hsbo6mk8nl05c + created_at: 2014-02-03T17:22:54Z + modified_at: 2014-02-03T17:22:54Z + name: project_owned_by_foo + group_class: project + empty_project: uuid: zzzzz-j7d0g-9otoxmrksam74q6 owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz @@ -196,15 +208,15 @@ project_with_10_pipelines: description: project with 10 pipelines group_class: project -project_with_2_pipelines_and_60_jobs: - uuid: zzzzz-j7d0g-nnjobspipelines +project_with_2_pipelines_and_60_crs: + uuid: zzzzz-j7d0g-nnncrspipelines owner_uuid: zzzzz-tpzed-user1withloadab created_at: 2014-04-21 15:37:48 -0400 modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr modified_by_user_uuid: zzzzz-tpzed-user1withloadab modified_at: 2014-04-21 15:37:48 -0400 updated_at: 2014-04-21 15:37:48 -0400 - name: project with 2 pipelines and 60 jobs + name: project with 2 pipelines and 60 crs description: This will result in two pages in the display group_class: project @@ -256,3 +268,79 @@ project_owns_itself: description: ~ updated_at: 2014-11-05 22:31:24.258093171 Z group_class: project + +# Used to test renaming when removed from the "asubproject" while +# another such object with same name exists in home project. +subproject_in_active_user_home_project_to_test_unique_key_violation: + uuid: zzzzz-j7d0g-subprojsamenam1 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: 2013-04-21 15:37:48 -0400 + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz + modified_at: 2013-04-21 15:37:48 -0400 + updated_at: 2013-04-21 15:37:48 -0400 + name: Subproject to test owner uuid and name unique key violation upon removal + description: Subproject in active user home project to test owner uuid and name unique key violation upon removal + group_class: project + +subproject_in_asubproject_with_same_name_as_one_in_active_user_home: + uuid: zzzzz-j7d0g-subprojsamenam2 + owner_uuid: zzzzz-j7d0g-axqo7eu9pwvna1x + created_at: 2013-04-21 15:37:48 -0400 + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz + modified_at: 2013-04-21 15:37:48 -0400 + updated_at: 2013-04-21 15:37:48 -0400 + name: Subproject to test owner uuid and name unique key violation upon removal + description: "Removing this will result in name conflict with 'A project' in Home project and hence get renamed." + group_class: project + +starred_and_shared_active_user_project: + uuid: zzzzz-j7d0g-starredshared01 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: 2014-04-21 15:37:48 -0400 + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz + modified_at: 2014-04-21 15:37:48 -0400 + updated_at: 2014-04-21 15:37:48 -0400 + name: Starred and shared active user project + description: Starred and shared active user project + group_class: project + +trashed_project: + uuid: zzzzz-j7d0g-trashedproject1 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + name: trashed project + group_class: project + trash_at: 2001-01-01T00:00:00Z + delete_at: 2008-03-01T00:00:00Z + is_trashed: true + modified_at: 2001-01-01T00:00:00Z + +trashed_subproject: + uuid: zzzzz-j7d0g-trashedproject2 + owner_uuid: zzzzz-j7d0g-trashedproject1 + name: trashed subproject + group_class: project + is_trashed: false + modified_at: 2001-01-01T00:00:00Z + +trashed_subproject3: + uuid: zzzzz-j7d0g-trashedproject3 + owner_uuid: zzzzz-j7d0g-trashedproject1 + name: trashed subproject 3 + group_class: project + trash_at: 2001-01-01T00:00:00Z + delete_at: 2038-03-01T00:00:00Z + is_trashed: true + modified_at: 2001-01-01T00:00:00Z + +trashed_on_next_sweep: + uuid: zzzzz-j7d0g-soontobetrashed + owner_uuid: zzzzz-j7d0g-xurymjxw79nv3jz + name: soon to be trashed project + group_class: project + trash_at: 2001-01-01T00:00:00Z + delete_at: 2038-03-01T00:00:00Z + is_trashed: false + modified_at: 2001-01-01T00:00:00Z \ No newline at end of file