Skip to content

Latest commit

 

History

History
131 lines (131 loc) · 5.34 KB

TODO.org

File metadata and controls

131 lines (131 loc) · 5.34 KB

api-checker TODOs

Mavenize

Move Normalizer code to a lib in WADL tools.

Schema for checker XML (XSD 1.1)

File Xerces Bugs[2/2]

  1. [X] assert error
  2. [X] multiple ID error in cli validator

WADL Normalize, Builder, opt1, checker2dot in a single PATH.

Maybe an optional output?

CLI for translation?

Implement validator [9/9]

  1. [X] Implement dispatch handler
  2. [X] Create assert handler
  3. [X] Simple tests on validator [6/6]
    1. [X] GET a/b
    2. [X] Empty machine
    3. [X] GET on regex
    4. [X] GET on an allow all regex
    5. [X] Method regex
    6. [X] Complex URI tests
  4. [X] Unit test steps [6/6]
    1. [X] Start
    2. [X] Accept
    3. [X] MethodFail
    4. [X] URLFail
    5. [X] URI
    6. [X] Method
  5. [X] Clean up console handler…should be more readable
  6. [X] Add Fail Matchers[5/5]
    1. [X] Add URL Fail Matcher
    2. [X] Add Method Fail Matchers
    3. [X] Test URL Fail Matcher
    4. [X] Test Method Fail Matcher
    5. [X] Update validation tests to use both matchers
  7. [X] Capture attempt in error steps
  8. [X] Quickly extract correct error in multi-result case
  9. [X] Assert that validator tests above return the correct error

Checker to scala.[6/6]

  1. [X] Build support for method/uri fail match in schema
  2. [X] Populate method/uri fail match in checker conversion
  3. [X] Update dot conversion to accunt for method/uri fail match
  4. [X] Checker to scala as a handler – possibly passing to an other handler
  5. [X] Add support in validator
  6. [X] Test conversion..including new error states.

Updates to XSD Schema[3/3]

  1. [X] Checker should allow only one start node.
  2. [X] Method must always have next nodes.
  3. [X] Add grammar section (type, namespace, href)

WADL Normalize, Builder, opt1 in a single path [5/5]

  1. [X] Add Builder Library
  2. [X] Support Grammar in checker format[2/2]
    1. [X] Add support for grammar in checker format
    2. [X] Generate checker format with grammars
  3. [X] Simple transation tests to confirm the lib is working [6/6]
    1. [X] Test URI and Method from various WADL configurations[13/13]
      1. [X] Emtpty WADL
      2. [X] URL/Method single resource
      3. [X] URL/Method single resource (tree)
      4. [X] URL/Method single resource (mixed)
      5. [X] Method Reference
      6. [X] Resource Type
      7. [X] Resource Type with Method Reference
      8. [X] Multiple Resource PATHs
      9. [X] Multiple Resource PATHs (tree)
      10. [X] Multiple Resource PATHs (mixed)
      11. [X] Mulitple Resource PATHs (disconnected)
      12. [X] Multiple Resource PATHs (disconnected, tree)
      13. [X] Multiple Resource PATHs (disconnected, mixed)
    2. [X] Other misc Translation tests [2/2]
      1. [X] State Labels
      2. [X] rax:invisible extension
    3. [X] Ensure that input WADLs are correct before tests are run.
    4. [X] Test Path Templates[4/4]
      1. [X] String templates[7/7]
        1. [X] At the end of the path
        2. [X] At the end of the path (tree)
        3. [X] At the end of the path (mixed)
        4. [X] In between path
        5. [X] In between path (tree)
        6. [X] In between path (mixed)
        7. [X] Different prefix
      2. [X] Test Path Templates of other types[9/9]
        1. [X] At the end of the path
        2. [X] At the end of the path (tree)
        3. [X] At the end of the path (mixed)
        4. [X] In between path
        5. [X] In between path (tree)
        6. [X] In between path (mixed)
        7. [X] Test default QName type
        8. [X] Test default QName type (tree)
        9. [X] Test default QName type (mixed)
      3. [X] Resource/Parameter mismatch[4/4]
        1. [X] Name MisMatch
        2. [X] Missing parameter
        3. [X] Bad Parameter type
        4. [X] Bad QName
      4. [X] RegEx Encoding[2/2]
        1. [X] In URL
        2. [X] In Method
    5. [X] Write tests for multi-method target
    6. [X] WADL Grammar[2/2]
      1. [X] External Grammar[6/6]
        1. [X] File Available, add to checker
        2. [X] Multiple available files
        3. [X] Relative paths
        4. [X] Missing File should fail
        5. [X] Should not fail with unknown XML
        6. [X] Should not fail with unknown unparsed-text
      2. [X] Inline Grammar
  4. [X] Add Opt as an option, by pipeing through removeDups
  5. [X] Simple optimization test to confirm functionality[9/9]
    1. [X] OPT on but no duplicates
    2. [X] OPT on but no duplicates (tree)
    3. [X] OPT on but no duplicates (mixed)
    4. [X] A single duplicate
    5. [X] A single duplicate (tree)
    6. [X] A single duplicate (mixed)
    7. [X] Multiple duplicates
    8. [X] Multiple duplicates (tree)
    9. [X] Multiple duplicates (mixed)

URLXSD types [4/6]

  1. [X] URLXSD node
  2. [X] URLXSD/URL Fail nodes
  3. [X] step handler – external grammar
  4. [X] WADL XSD tests
  5. [ ] step handler – inline grammar
  6. [ ] WADL XSD tests – inline

Better log handling…ERROR, INFO, etc..carried out to XSL as well

WADL Change Detector…

Real tests on DOT output