Uploaded image for project: 'Byteman'
  1. Byteman
  2. BYTEMAN-56

make Submit more of a Java client

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 1.2.0
    • 1.1.1
    • None
    • None

      The Submit class looks to be more of a "script" client rather than a Java client that can be embedded in other Java apps.

      I would like to request that Submit be refactored or another class be created such that I can use it as a client that I embed in my own Java app.

      Right now, Submit dumps everything to stdout. I would like that interface to be more amenable to being called from other Java objects, not from a shell. So, I would like an API like:

      a) "ping" - can Submit connect with the TransportListener
      b) "list" - return a List<String> of all rules (or better yet, Map<String,String> keyed on rule name)
      c) "update" - I pass in a List<String> consisting of rules
      etc.

            rhn-engineering-adinn Andrew Dinn
            jmazzitelli John Mazzitelli
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: