Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-2005 Remove V2 APIs from CDAP
  3. CDAP-2179

MetaClient.resetUnrecoverably() should be replaced by NamespaceClient.deleteAll()

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: CDAP Clients, Standalone, Test
    • Labels:
      None
    • Rank:
      1|hzyrfj:

      Description

      While moving all tests to v3/ I found out that the StandaloneTestBase uses MetaClient.resetUnrecoverably() to clear the state of the standalpone CDAP after each test. So far, that was calling a v2 API that only deleted the default namespace. That is sufficient to make tests pass.

      But this method should actually delete all namespaces. Currently, we have no API to do that.

        Attachments

          Activity

            People

            • Assignee:
              andreas Andreas Neumann
              Reporter:
              andreas Andreas Neumann
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: