Uploaded image for project: 'Coopr'
  1. Coopr
  2. COOPR-493

Add a command line interface

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.9, Code Name: Ursa Major
    • Component/s: server
    • Labels:
    • Sprint:
      Tracking Sprint 1, Tracking Sprint 2
    • Rank:
      1|hzy8jb:

      Description

      currently, interaction with the rest apis is a bit clumsy. I have to do something like:

      curl -H 'Coopr-UserID:admin' -H 'Coopr-TenantID:superadmin' -X POST -d '

      {"name":"test", "clusterTemplate":"hadoop-distributed", "numMachines":5}

      ' 'host:port/v2/clusters'

      if I want to create a cluster. This will get more complicated when we add authentication. It would be good to have some sort of command line interface like a shell for interacting with coopr. That way you could do things like:

      create cluster "test" "hadoop-distributed" 5
      list clusters
      delete cluster "test"

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ashau Albert Shau
                Reporter:
                ashau Albert Shau
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: