1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: Apache-2.0
7 // IDs of API server's test fixtures
9 SpectatorToken = "zw2f4gwx8hw8cjre7yp6v1zylhrhn3m5gvjq73rtpwhmknrybu"
10 ActiveToken = "3kg6k6lzmp9kj5cpkcoxie963cmvjahbt2fod9zru30k1jqdmi"
11 ActiveTokenV2 = "v2/zzzzz-gj3su-077z32aux8dg2s1/3kg6k6lzmp9kj5cpkcoxie963cmvjahbt2fod9zru30k1jqdmi"
12 AdminToken = "4axaw8zxe0qm22wa6urpp5nskcne8z88cvbupv653y1njyi05h"
13 AnonymousToken = "4kg6k6lzmp9kj4cpkcoxie964cmvjahbt4fod9zru44k4jqdmi"
14 DataManagerToken = "320mkve8qkswstz7ff61glpk3mhgghmg67wmic7elw4z41pke1"
15 ManagementToken = "jg3ajndnq63sywcd50gbs5dskdc9ckkysb0nsqmfz08nwf17nl"
16 ActiveUserUUID = "zzzzz-tpzed-xurymjxw79nv3jz"
17 FederatedActiveUserUUID = "zbbbb-tpzed-xurymjxw79nv3jz"
18 SpectatorUserUUID = "zzzzz-tpzed-l1s2piq4t4mps8r"
19 UserAgreementCollection = "zzzzz-4zz18-uukreo9rbgwsujr" // user_agreement_in_anonymously_accessible_project
20 FooCollectionName = "zzzzz-4zz18-fy296fx3hot09f7 added sometime"
21 FooCollection = "zzzzz-4zz18-fy296fx3hot09f7"
22 FooCollectionPDH = "1f4b0bc7583c2a7f9102c395f4ffc5e3+45"
23 NonexistentCollection = "zzzzz-4zz18-totallynotexist"
24 HelloWorldCollection = "zzzzz-4zz18-4en62shvi99lxd4"
25 FooBarDirCollection = "zzzzz-4zz18-foonbarfilesdir"
26 UserAgreementPDH = "b519d9cb706a29fc7ea24dbea2f05851+93"
27 FooPdh = "1f4b0bc7583c2a7f9102c395f4ffc5e3+45"
28 HelloWorldPdh = "55713e6a34081eb03609e7ad5fcad129+62"
30 AProjectUUID = "zzzzz-j7d0g-v955i6s2oi1cbso"
31 ASubprojectUUID = "zzzzz-j7d0g-axqo7eu9pwvna1x"
33 FooAndBarFilesInDirUUID = "zzzzz-4zz18-foonbarfilesdir"
34 FooAndBarFilesInDirPDH = "6bbac24198d09a93975f60098caf0bdf+62"
36 Dispatch1Token = "kwi8oowusvbutahacwk2geulqewy5oaqmpalczfna4b6bb0hfw"
37 Dispatch1AuthUUID = "zzzzz-gj3su-k9dvestay1plssr"
39 QueuedContainerRequestUUID = "zzzzz-xvhdp-cr4queuedcontnr"
40 QueuedContainerUUID = "zzzzz-dz642-queuedcontainer"
42 ArvadosRepoUUID = "zzzzz-s0uqq-arvadosrepo0123"
43 ArvadosRepoName = "arvados"
44 FooRepoUUID = "zzzzz-s0uqq-382brsig8rp3666"
45 FooRepoName = "active/foo"
46 Repository2UUID = "zzzzz-s0uqq-382brsig8rp3667"
47 Repository2Name = "active/foo2"
49 FooCollectionSharingTokenUUID = "zzzzz-gj3su-gf02tdm4g1z3e3u"
50 FooCollectionSharingToken = "iknqgmunrhgsyfok8uzjlwun9iscwm3xacmzmg65fa1j1lpdss"
52 WorkflowWithDefinitionYAMLUUID = "zzzzz-7fd4e-validworkfloyml"
55 // PathologicalManifest : A valid manifest designed to test
56 // various edge cases and parsing requirements
57 const PathologicalManifest = ". acbd18db4cc2f85cedef654fccc4a4d8+3 37b51d194a7513e45b56f6524f2d51f2+3 73feffa4b7f6bb68e44cf984c85f6e88+3+Z+K@xyzzy acbd18db4cc2f85cedef654fccc4a4d8+3 0:0:zero@0 0:1:f 1:0:zero@1 1:4:ooba 4:0:zero@4 5:1:r 5:4:rbaz 9:0:zero@9\n" +
58 "./overlapReverse acbd18db4cc2f85cedef654fccc4a4d8+3 acbd18db4cc2f85cedef654fccc4a4d8+3 5:1:o 4:2:oo 2:4:ofoo\n" +
59 "./segmented acbd18db4cc2f85cedef654fccc4a4d8+3 37b51d194a7513e45b56f6524f2d51f2+3 0:1:frob 5:1:frob 1:1:frob 1:2:oof 0:1:oof 5:0:frob 3:1:frob\n" +
60 `./foo\040b\141r acbd18db4cc2f85cedef654fccc4a4d8+3 0:3:baz` + "\n" +
61 `./foo\040b\141r acbd18db4cc2f85cedef654fccc4a4d8+3 0:3:b\141z\040w\141z` + "\n" +
62 "./foo acbd18db4cc2f85cedef654fccc4a4d8+3 0:0:zero 0:3:foo\n" +
63 ". acbd18db4cc2f85cedef654fccc4a4d8+3 0:0:foo/zero 0:3:foo/foo\n"
67 MD5CollisionData = [][]byte{
68 []byte("\x0e0eaU\x9a\xa7\x87\xd0\x0b\xc6\xf7\x0b\xbd\xfe4\x04\xcf\x03e\x9epO\x854\xc0\x0f\xfbe\x9cL\x87@\xcc\x94/\xeb-\xa1\x15\xa3\xf4\x15\\\xbb\x86\x07Is\x86em}\x1f4\xa4 Y\xd7\x8fZ\x8d\xd1\xef"),
69 []byte("\x0e0eaU\x9a\xa7\x87\xd0\x0b\xc6\xf7\x0b\xbd\xfe4\x04\xcf\x03e\x9etO\x854\xc0\x0f\xfbe\x9cL\x87@\xcc\x94/\xeb-\xa1\x15\xa3\xf4\x15\xdc\xbb\x86\x07Is\x86em}\x1f4\xa4 Y\xd7\x8fZ\x8d\xd1\xef"),
71 MD5CollisionMD5 = "cee9a457e790cf20d4bdaa6d69f01e41"
74 // BlobSigningKey used by the test servers
75 const BlobSigningKey = "zfhgfenhffzltr9dixws36j1yhksjoll2grmku38mi7yxd66h5j4q9w4jzanezacp8s6q0ro3hxakfye02152hncy6zml2ed0uc"