Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Works as designed
    • Affects Version/s: 4.0_b22
    • Fix Version/s: None
    • Component/s: rest-interface
    • Labels:
      None

      Description

      The delete-node endpoint used to be
      "management/domain/nodes/node/NODE-NAME/delete-node" for 3.1.2

      However, in 4.0, calling this returns 404.
      Using the HTML interface also didn't do anything, just refresh the screen.

        Activity

        Hide
        Jason Lee added a comment -

        To delete a node you need to issue a DELETE request:

        curl -sv -S -H 'Accept: application/json' -H 'X-Requested-By: dummy' -X DELETE http://localhost:4848/management/domain/nodes/node/foo

        Show
        Jason Lee added a comment - To delete a node you need to issue a DELETE request: curl -sv -S -H 'Accept: application/json' -H 'X-Requested-By: dummy' -X DELETE http://localhost:4848/management/domain/nodes/node/foo
        Hide
        Anissa Lam added a comment -

        Thats fine if we don't want to provide the same endpoint as in 3.1.2, GUI can code accordingly.

        However, you should fix the HTML interface, although i know you hate it
        There are others who is using it, and it will be nice to continue maintaining it so it is useful. Unless you want to remove this HTML interface all together.

        Show
        Anissa Lam added a comment - Thats fine if we don't want to provide the same endpoint as in 3.1.2, GUI can code accordingly. However, you should fix the HTML interface, although i know you hate it There are others who is using it, and it will be nice to continue maintaining it so it is useful. Unless you want to remove this HTML interface all together.
        Hide
        Jason Lee added a comment -

        I'm going to see if I can get permission to remove the HTML interface. It's clunky and buggy, and the source of other, more serious bugs. Lowering the priority on this.

        Show
        Jason Lee added a comment - I'm going to see if I can get permission to remove the HTML interface. It's clunky and buggy, and the source of other, more serious bugs. Lowering the priority on this.
        Show
        Jason Lee added a comment - The delete-node URI was removed on 10/13/2011 (and moved, presumably, to an annotation): http://svnsearch.org/svnsearch/repos/GLASSFISH/search?p=/trunk/main/nucleus/admin/rest/rest-service/src/main/java/org/glassfish/admin/rest/generator/CommandResourceMetaData.java&rev=50230&filename=CommandResourceMetaData.java

          People

          • Assignee:
            Jason Lee
            Reporter:
            Anissa Lam
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: