Class RequestTesters

java.lang.Object
org.dlese.dpc.schemedit.test.RequestTesters

public class RequestTesters extends Object
  • Constructor Details

    • RequestTesters

      public RequestTesters()
  • Method Details

    • enumTester

      public static void enumTester()
    • previewDCSSetup

      public static void previewDCSSetup()
    • taosSetup

      public static void taosSetup()
    • ndrTestSetup

      public static void ndrTestSetup()
    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception
    • delete

      public static void delete() throws Exception
      Throws:
      Exception
    • undelete

      public static void undelete() throws Exception
      Throws:
      Exception
    • deleteMdp

      public static void deleteMdp() throws Exception
      Throws:
      Exception
    • rmSetInfo

      public static void rmSetInfo() throws Exception
      Throws:
      Exception
    • mdpReader

      public static void mdpReader() throws Exception
      Throws:
      Exception
    • findPCResource

      public static void findPCResource() throws Exception
      Throws:
      Exception
    • findResourceOLD

      public static void findResourceOLD() throws Exception
      Throws:
      Exception
    • findResource

      public static void findResource() throws Exception
      Throws:
      Exception
    • findDupResources

      public static void findDupResources() throws Exception
      Throws:
      Exception
    • getMDP

      public static void getMDP() throws Exception
      Throws:
      Exception
    • getAggregator

      public static void getAggregator() throws Exception
      Throws:
      Exception
    • getAgent

      public static void getAgent() throws Exception
      Throws:
      Exception
    • findAgentById

      public static void findAgentById() throws Exception
      Throws:
      Exception
    • findAgent

      public static void findAgent() throws Exception
      Throws:
      Exception
    • addAgent

      public static void addAgent() throws Exception
      Throws:
      Exception
    • dsTester

      public static void dsTester() throws Exception
      Throws:
      Exception
    • addMetadata

      public static void addMetadata() throws Exception
      Throws:
      Exception
    • modifyMetadata

      public static void modifyMetadata() throws Exception
      Throws:
      Exception
    • setState

      public static void setState() throws Exception
      Throws:
      Exception
    • getMetadata

      public static void getMetadata() throws Exception
      Throws:
      Exception
    • getInfoLink

      public static void getInfoLink() throws Exception
      NOTE: this does not work for dlese.org metadata: no metadatadata is found that is metadataFor 2200/NSDL_Recommended_Resources_Collection
      Throws:
      Exception
    • modifyMetadataProvider

      public static void modifyMetadataProvider() throws Exception
      Throws:
      Exception
    • countMembers

      public static int countMembers() throws Exception
      Throws:
      Exception
    • listMembers

      public static void listMembers() throws Exception
      Throws:
      Exception
    • listAgents

      public static void listAgents() throws Exception
      Throws:
      Exception
    • listCollections

      public static void listCollections() throws Exception
      Throws:
      Exception
    • lister

      public static void lister() throws Exception
      Throws:
      Exception
    • grantAggAuthority

      public static void grantAggAuthority() throws Exception
      Throws:
      Exception
    • grantMdpAuthority

      public static void grantMdpAuthority() throws Exception
      Throws:
      Exception
    • find

      public static void find() throws Exception
      Throws:
      Exception
    • findMdpForAgg

      public static void findMdpForAgg() throws Exception
      to find non-DLESE MDP, we have to start with an aggregator and then find the MDP that is aggregated by it.
      Throws:
      Exception
    • findMdpBySetSpec

      public static void findMdpBySetSpec() throws Exception
      Throws:
      Exception
    • findMdById

      public static void findMdById() throws Exception
      Throws:
      Exception
    • findMdByNCSRecordId

      public static void findMdByNCSRecordId() throws Exception
      Throws:
      Exception
    • findCollectionMdpForMD

      public static void findCollectionMdpForMD() throws Exception
      Throws:
      Exception
    • findMdForResource

      public static void findMdForResource() throws Exception
      Throws:
      Exception
    • deletedRecordsTester

      public static void deletedRecordsTester()
    • findDeletedRecords

      public static void findDeletedRecords() throws Exception
      Throws:
      Exception
    • myProp

      public static void myProp() throws Exception
      Throws:
      Exception
    • myProp1

      public static void myProp1() throws Exception
      Throws:
      Exception
    • addResource

      public static void addResource() throws Exception
      Throws:
      Exception
    • addAggregator

      public static void addAggregator() throws Exception
      Throws:
      Exception
    • addAgentAggregator

      public static void addAgentAggregator() throws Exception
      Throws:
      Exception
    • modifyAggregator

      public static void modifyAggregator() throws Exception
      Throws:
      Exception
    • modifyResource

      public static void modifyResource() throws Exception
      Throws:
      Exception
    • modifyAgent

      public static void modifyAgent() throws Exception
      Throws:
      Exception
    • isAuthorizedToChangeAgg

      public static void isAuthorizedToChangeAgg() throws Exception
      Throws:
      Exception
    • isAuthorizedToChangeMdp

      public static void isAuthorizedToChangeMdp() throws Exception
      Throws:
      Exception
    • isNDRCollectionMetadataProvider1

      public static void isNDRCollectionMetadataProvider1() throws Exception
      Throws:
      Exception
    • isNDRCollectionMetadataProvider

      public static void isNDRCollectionMetadataProvider() throws Exception
      Throws:
      Exception
    • authorizeToChangeMdp

      public static void authorizeToChangeMdp() throws Exception
      Throws:
      Exception