3t VW XY Z[ \] ^_ `a bc d ef ghi Vj k l mnopqr s t uv uwx y z{ "|} ~ " '  ) )  *   7V 7  " >V  C  > GV   K      U U U U )  "    g'  "     p p  w w { "  | ()VCodeLineNumberTableLocalVariableTablethisILorg/dataone/integration/it/testImplementations/SidMNTestImplementations;getTestDescription()Ljava/lang/String;getNodeIterator()Ljava/util/Iterator; Signature;()Ljava/util/Iterator; getSetupClassO()Lorg/dataone/integration/it/testImplementations/SidCommonTestImplementations;getCasesToTest()[I getPidsPerSid setupMNCase1IdPair InnerClasses(Lorg/dataone/integration/adapters/CommonCallAdapter;Lorg/dataone/service/types/v1/Node;)Lorg/dataone/integration/it/testImplementations/SidCommonTestImplementations$IdPair; callAdapter4Lorg/dataone/integration/adapters/CommonCallAdapter;node#Lorg/dataone/service/types/v1/Node;p1)Lorg/dataone/service/types/v1/Identifier;s1 Exceptions setupMNCase2p2 setupMNCase3s2 setupMNCase4 setupMNCase5 setupMNCase6 setupMNCase7p3 setupMNCase8 setupMNCase9 setupMNCase10 setupMNCase11 setupMNCase12 setupMNCase13 setupMNCase14 setupMNCase15setupResourcePkgMNCase1setupResourcePkgMNCase2setupResourcePkgMNCase3setupResourcePkgMNCase4setupResourcePkgMNCase5setupResourcePkgMNCase6setupResourcePkgMNCase7setupResourcePkgMNCase8setupResourcePkgMNCase9setupResourcePkgMNCase10setupResourcePkgMNCase11setupResourcePkgMNCase12setupResourcePkgMNCase13setupResourcePkgMNCase14setupResourcePkgMNCase15testGetPackagee1Ljava/lang/Exception;manifest#Lgov/loc/repository/bagit/Manifest;filepathLjava/lang/String;sess&Lorg/dataone/service/types/v1/Session;format5Lorg/dataone/service/types/v1/ObjectFormatIdentifier; bagFactory%Lgov/loc/repository/bagit/BagFactory; sidBagFileLjava/io/File;sidBagLgov/loc/repository/bagit/Bag; sidFilePathsLjava/util/List; manifestIterLjava/util/Iterator; pidBagFilepidBag pidFilePathspidManifestIter contentsEqualZe.Lorg/dataone/service/exceptions/BaseException;0Lorg/dataone/integration/adapters/MNCallAdapter;idPairTLorg/dataone/integration/it/testImplementations/SidCommonTestImplementations$IdPair;sidpidformatIDsidPkgLjava/io/InputStream;pidPkg setupMethodLjava/lang/reflect/Method;nodeItercaseNumILocalVariableTypeTable$Ljava/util/List;9Ljava/util/Iterator;9Ljava/util/Iterator; StackMapTablenrx]iRuntimeVisibleAnnotations-Lorg/dataone/integration/webTest/WebTestName;valueEgetPackage: tests that getPackage() works whether given a sid and pid4Lorg/dataone/integration/webTest/WebTestDescription;this test checks that calling getPackage() with a sid and with the pid that's the head of that sid chain, then compares the resulting InputStreams for equalityLorg/junit/Test; testUpdatenodeCapnewPid contentBytes[Bd1o$Lorg/dataone/client/v1/itk/D1Object;sysmeta-Lorg/dataone/service/types/v2/SystemMetadata;objectInputStreamir/Lorg/dataone/service/exceptions/InvalidRequest;invalidRequestCaughtnodeId,Lorg/dataone/service/types/v1/NodeReference;i casesToTest[I?Eupdate: tests that update fails if given a SID's head PID is archived^this test checks that calling update with a SID doesn't work if the head PID has been archivedtestSystemMetadataChanged8systemMetadataChanged: ... test not yet implemented ... " ... test not yet implemented ... Lorg/junit/Ignore; testSidReuse6Lorg/dataone/service/exceptions/InvalidSystemMetadata;qsid reuse not allowedthis test checks that reusing a sid in a pid chain yields an InvalidSystemMetadata exception if the chain containing that sid has beenended (obsoleted by another sid). Scenario: P1(S1) <-> P2(S2) <-> P3(S1)testSidReuseDiffChainp4s3,sid reuse not allowed - different pid chainsthis test checks that reusing a sid, even in a different pid chain, yields an InvalidSystemMetadata exception if the chain containing that sid has been ended (obsoleted by another sid). Scenario: P1(S1) <-> P2(S2), separate chain: P3(S3) <-> P4(S1) SourceFileSidMNTestImplementations.java 7Tests v2 API methods for MNs that accept SID parameters  P1_   S1_   Rorg/dataone/integration/it/testImplementations/SidCommonTestImplementations$IdPair P2_ S2_ P3_   Testing getPackage() method ...  java/lang/StringBuilderTesting getPackage(), Case   Gorg/dataone/integration/it/testImplementations/SidMNTestImplementationssetupResourcePkgMNCasejava/lang/Class2org/dataone/integration/adapters/CommonCallAdapter!org/dataone/service/types/v1/Node    !".org/dataone/integration/adapters/MNCallAdapter # $%v2 &java/lang/Object '(java/lang/Exceptionjava/lang/AssertionError ) Case:  : *+ , - ./   03org/dataone/service/types/v1/ObjectFormatIdentifierapplication/bagit-097 12testRightsHolder3 $4 56#gov/loc/repository/bagit/BagFactory sidBagit..zip 78java/io/FileOutputStream 9: ;< =>java/util/ArrayList ?@ A!gov/loc/repository/bagit/Manifest B CD pidBagit.  EFgetPackage() Case 8, getPackage for sid and pid should return same content.G HI JK,org/dataone/service/exceptions/BaseException L M NTesting update() method ... Testing update(), Case OP QR ST,Unable to fetch node identifier for node at U VW setupMNCasetestUpdate unable to set up : X YZ [update() Case :, setup step failed for testUpdate(): couldn't archive(). Error: P9_"eml://ecoinformatics.org/eml-2.0.1\ ]^"org/dataone/client/v1/itk/D1Object_ `a bcbogusAuthoritativeNode de f gh+org/dataone/service/types/v2/SystemMetadatai jk lT mnjava/io/ByteArrayInputStream o pq-org/dataone/service/exceptions/InvalidRequest3, an exception occurred while trying to update() : 7, InvalidRequest expected on update of archived object.+Testing systemMetadataChanged() method ... %Testing systemMetadataChanged(), CaseCase: rstestSidReuse() method ... *testSidReuse() : unable to set up test! : testSidReuse() : should not be able to reuse a sid in a pid chain if it was used earlier but obsoleted by another sid! However, the update() call succeeded. Scenario: P1(S1) <-> P2(S2) <-> P3(S1)4org/dataone/service/exceptions/InvalidSystemMetadata@testSidReuse() : yielded an exception on update() as expected : PtestSidReuseDiffChain() : expected an InvalidSystemMetadata exception but got : #testSidReuseDiffChain() method ... P4_S3_3testSidReuseDiffChain() : unable to set up test! : testSidReuseDiffChain() : should not be able to reuse a sid in a different pid chain if it was used in another pid chain and obsoleted by a different sid! However, the update() call succeeded. Scenario: P1(S1) <-> P2(S2), P3(S3) <-> P4(S1)ItestSidReuseDiffChain() : yielded an exception on update() as expected : Korg/dataone/integration/it/testImplementations/SidCommonTestImplementations+org/dataone/service/exceptions/InvalidToken-org/dataone/service/exceptions/ServiceFailure,org/dataone/service/exceptions/NotAuthorized2org/dataone/service/exceptions/IdentifierNotUnique.org/dataone/service/exceptions/UnsupportedType4org/dataone/service/exceptions/InsufficientResources-org/dataone/service/exceptions/NotImplemented'org/dataone/service/exceptions/NotFound0org/dataone/client/exception/ClientSideException&java/security/NoSuchAlgorithmException java/lang/InstantiationException java/lang/IllegalAccessException+java/lang/reflect/InvocationTargetExceptionjava/io/IOExceptionorg/jibx/runtime/JiBXExceptionjava/lang/NoSuchMethodExceptionjava/lang/reflect/Methodjava/util/Iteratorjava/lang/String'org/dataone/service/types/v1/Identifierjava/io/InputStream$org/dataone/service/types/v1/Session java/io/Filegov/loc/repository/bagit/Bagjava/util/Listjava/lang/Throwablejava/lang/SecurityException"java/lang/IllegalArgumentException*org/dataone/service/types/v1/NodeReferencegetV2MemberNodeIteratorcreateIdentifier`(Ljava/lang/String;Lorg/dataone/service/types/v1/Node;)Lorg/dataone/service/types/v1/Identifier;createTestObject(Lorg/dataone/integration/adapters/CommonCallAdapter;Lorg/dataone/service/types/v1/Identifier;Lorg/dataone/service/types/v1/Identifier;Lorg/dataone/service/types/v1/Identifier;Lorg/dataone/service/types/v1/Identifier;)Lorg/dataone/service/types/v1/Identifier;U(Lorg/dataone/service/types/v1/Identifier;Lorg/dataone/service/types/v1/Identifier;)VupdateTestObject(Lorg/dataone/integration/adapters/CommonCallAdapter;Lorg/dataone/service/types/v1/Identifier;Lorg/dataone/service/types/v1/Identifier;Lorg/dataone/service/types/v1/Identifier;)Lorg/dataone/service/types/v1/Identifier;deletez(Lorg/dataone/service/types/v1/Session;Lorg/dataone/service/types/v1/Identifier;)Lorg/dataone/service/types/v1/Identifier; createPackagelog Lorg/apache/commons/logging/Log;org/apache/commons/logging/Loginfo(Ljava/lang/Object;)Vappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;(I)Ljava/lang/StringBuilder;toStringgetDeclaredMethod@(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;hasNext()Znext()Ljava/lang/Object; subjectLabel getSessionA(Ljava/lang/String;)Lorg/dataone/client/rest/MultipartRestClient;e(Lorg/dataone/client/rest/MultipartRestClient;Lorg/dataone/service/types/v1/Node;Ljava/lang/String;)Vinvoke9(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;getNodeBaseServiceUrlgetClass()Ljava/lang/Class; getSimpleName getMessagegetCause()Ljava/lang/Throwable;headPidsetValue(Ljava/lang/String;)V+org/dataone/client/rest/MultipartRestClient'()Lorg/dataone/client/auth/X509Session; getPackage(Lorg/dataone/service/types/v1/Session;Lorg/dataone/service/types/v1/ObjectFormatIdentifier;Lorg/dataone/service/types/v1/Identifier;)Ljava/io/InputStream;createTempFile4(Ljava/lang/String;Ljava/lang/String;)Ljava/io/File;(Ljava/io/File;)Vorg/apache/commons/io/IOUtilscopy.(Ljava/io/InputStream;Ljava/io/OutputStream;)I createBag.(Ljava/io/File;)Lgov/loc/repository/bagit/Bag;getTagManifests()Ljava/util/List;iterator getFilepathadd(Ljava/lang/Object;)Z containsAll(Ljava/util/Collection;)Zorg/junit/Assert assertTrue(Ljava/lang/String;Z)V closeQuietly(Ljava/io/InputStream;)VprintStackTracegetDetail_codegetDescriptiongetCapabilities%()Lorg/dataone/service/types/v1/Node; getIdentifier.()Lorg/dataone/service/types/v1/NodeReference; setIdentifier/(Lorg/dataone/service/types/v1/NodeReference;)V getBaseURLerror*(Ljava/lang/Object;Ljava/lang/Throwable;)Vjava/lang/Threadsleep(J)Varchive(org/dataone/integration/ExampleUtilitiesgetExampleObjectOfType(Ljava/lang/String;)[B)org/dataone/client/v1/types/D1TypeBuilderbuildFormatIdentifierI(Ljava/lang/String;)Lorg/dataone/service/types/v1/ObjectFormatIdentifier; buildSubject:(Ljava/lang/String;)Lorg/dataone/service/types/v1/Subject;buildNodeReference@(Ljava/lang/String;)Lorg/dataone/service/types/v1/NodeReference;(Lorg/dataone/service/types/v1/Identifier;[BLorg/dataone/service/types/v1/ObjectFormatIdentifier;Lorg/dataone/service/types/v1/Subject;Lorg/dataone/service/types/v1/NodeReference;)VgetSystemMetadata/()Lorg/dataone/service/types/v1/SystemMetadata;(org/dataone/service/types/v2/TypeFactoryconvertTypeFromType7(Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;setAuthoritativeMemberNode setObsoletes,(Lorg/dataone/service/types/v1/Identifier;)V([B)Vupdate(Lorg/dataone/service/types/v1/Session;Lorg/dataone/service/types/v1/Identifier;Ljava/io/InputStream;Lorg/dataone/service/types/v1/Identifier;Lorg/dataone/service/types/v2/SystemMetadata;)Lorg/dataone/service/types/v1/Identifier; handleFail'(Ljava/lang/String;Ljava/lang/String;)V!)/*4 -8 /*@ ,*E 2 YOI tJ YOYOYOYOYOYOYOYOYOY OY OY OY OY OYON J'*,N*,:*+-WY- UVXZ4'''$~<*,N* ,:*,:*+-W*+- WY efgi%j0l><<<4+"$~D*,N* ,:*,:* ,:*+-W*+- WY- wxyz#|.}9HDDD<3*#!$~E*,N* ,:*,:* ,:*+-W*+- WY #.9HEEE=4+#"$~L*,N* ,:*,:* ,:*+-W*+- W+- WY "#.9@HLLLD;2#)$~L*,N* ,:*,:* ,:*+-W*+- W+ WY- "#.9AHLLLD;2#)$~R*,N* ,:*,:*,:*+-W*+- W*+ WY "#/:FHRRRJA8#/$~Z*,N* ,:*,:*,:*+-W*+- W*+ W+ WY & #/:FNHZZZRI@#7$~Z*,N* ,:*,:*,:*+-W*+- W*+ W+ WY & #/:FNHZZZRI@#7$~[*,N* ,:*,:*,:* ,:*+-W*+- W*+ WY & #, 8 C O R[[[SJA#8,/$~[*,N* ,:*,:*,:* ,:*+-W*+- W*+ WY & #,8C O"R[[[SJA#8,/$~b*,N* ,:*,:*,:* ,:*+-W*+- W*+ W+ WY- * -./0#1,384C5O6W8RbbbZQH#?,6$~c*,N* ,:*,:*,:* ,:*+-W*+- W*+ W+ WY * CDEF#G,I8JCKOLWNRccc[RI#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):u*,*?h jk-mWo\peqprsu{vw|}$-47:FS`ipy+4>AGMXuz*19<jB8s +4 F/ i ywn`X_ E p$-  7 : W \  6  C 4n`\  ODP  !"+7 !" !"+@ #`F$ %&~'()s*+)s,-.P[*\L=+;+.>Y]:*: !:"Y;$%&::^:  _:`&: Yab cYdYSYS:  *'YSYS(:F:  Z*YYe+- ./- 045: 6: fh iW.: Yjkl 0S6 *m: no: pY  nq#rstu:vwxw:y z{Y |:  }WF: 6 >: Yj ./- 0S ZYj Sűj))=LO)}~})2 69?IUgjqx/6=CLOQz}   $ )FIOq/ !  A Q) \0 U12 834(56789 9 Ugj6 =  }: .  9;<?  >= PA>? ?   @-AB @A"FB @A*k @ABG:@'()sC+)sD-E" *\L=++.>Y*: !:"Y#$%&:YdYSYS:*'YSYS(:5: 6: 3:Z*+Y-0R!e)R 6< F!R"e$%&'>;<=?Ap '  .Re  < = >? < 4@*}@/'!()sF+)sGH)sG-I ,*L+ +!MY#$,%N*,:* ,:*,:*,:* ,:*-W*- W4: *YY ./- 04*- W*Y4: Y ./- 4: *YY ./- 04`y|))bI KLN"O3Q<RESNTWU`YmZy^|[~\bcginkl(o+pz ~/ /J / "3<ENW`,   Dl K0ULs0'()sM+)sN-O K*L+ 5+!MY#$,%N*,:* ,:*,:*,:*,:* ,: *,: *-W*- W*- W4: *YY ./- 04*- W*Y4: Y ./- 4: *YY ./- 04ȱr))ny {|~"3<ENW`irGJ/ /J / "%3< ENWP`i rQ K<  < J K0ULs0'()sR+)sS-TU