Commit graph

43 commits

Author SHA1 Message Date
Vincent Batts
5e76776e74 dup the stringbuffer when rendering the root pathnode 2012-11-07 09:48:19 -05:00
Vincent Batts
49c606be4d Moar progress!
* adding logging, at least for a minute
* working through the PathTree.validate(path) logic
* BUG: in the populate tree path, calling a stringbuffer charAt(0)
* moar unit testing to iron things out.
2012-11-07 09:36:22 -05:00
Vincent Batts
d12655d4db more unit tests for payload -> content sets and back
pinned the bug down to the PathTree.condenseSubTreeNodes()
2012-11-02 15:59:19 -04:00
Vincent Batts
37a33c5545 debugging output in the unit test 2012-11-02 11:12:01 -04:00
Vincent Batts
c9081b41b5 testing the big test: there and back again! 2012-11-02 10:56:48 -04:00
Vincent Batts
b36fddf91d moving around the test data files, for unit testing 2012-11-02 09:50:51 -04:00
Vincent Batts
4dbdeb4916 working on the PathNode includes() logic, and moar documentation and
unit testing
2012-11-01 17:14:34 -04:00
Vincent Batts
f06d01718a moar documentation and unit test 2012-11-01 13:29:33 -04:00
Vincent Batts
90b8b201db moar unit tests and documentation 2012-11-01 13:16:32 -04:00
Vincent Batts
dcc9c50655 NodeContext tests 2012-10-31 21:46:59 -04:00
Vincent Batts
d40e41de5a the start of two tests 2012-10-31 16:21:56 -04:00
Vincent Batts
8e413fa985 maven tells me i don't need these exception handlers ... 2012-10-31 14:45:00 -04:00
Vincent Batts
1d13db07c5 getters 2012-10-31 13:17:30 -04:00
Vincent Batts
c053cae590 PathTree should now go from content sets to payload, and vice versa. 2012-10-31 12:44:24 -04:00
Vincent Batts
27fd63294c The decoding dirty work is in the PathTree class 2012-10-30 14:11:40 -04:00
Vincent Batts
2779cfa63d documentation and prototyping 2012-10-25 17:01:50 -04:00
Vincent Batts
c07d6ab172 cleaning up the things that are exclusive to a cli interface.
Preparing to dig into Util and hydrate-fu
2012-10-25 16:18:42 -04:00
Vincent Batts
e0692ae64f removing unused imports 2012-10-25 10:59:32 -04:00
Vincent Batts
3fe0da753c JUMPING CATS! CONTENT SETS! 2012-10-25 10:56:28 -04:00
Vincent Batts
162640b552 formatting 2012-10-23 15:58:44 -04:00
Vincent Batts
b07f5a05e8 working along to decode the DEROctetString 2012-10-23 15:18:04 -04:00
Vincent Batts
5a3abc75a1 moving the list copying inside the makeTrie, so the argument object is
not destroyed
2012-10-12 12:39:06 -04:00
Vincent Batts
2a9511cbe5 first break off of the hydrate function 2012-10-12 12:29:06 -04:00
Vincent Batts
eb4a4a7bdd thinking of a class/structure to do the validation of a content set path 2012-10-12 12:28:18 -04:00
Vincent Batts
bcf6b61125 adding the byteProcess() function 2012-10-05 08:50:23 -04:00
Vincent Batts
6741e96c81 adding methods:
getStringNodeList()
    getPathNodeNodeList()
    makeTrie()
    findSmallest()
    mergeNodes()
    hydrateContentPackage()
    populatePathNodes()
    findHuffNodeValueByBits()
    makeURLs()
2012-10-04 16:59:42 -04:00
Vincent Batts
84a6b24305 adding more methods 2012-10-04 16:30:05 -04:00
Vincent Batts
e8a1616eb4 more java-ish 2012-10-04 16:17:54 -04:00
Vincent Batts
20648a5dd3 getting the PathNode context wired together 2012-10-04 16:16:30 -04:00
Vincent Batts
1bb7b1083b it now prints the pathnode tree, from a file arg 2012-10-04 15:52:35 -04:00
Vincent Batts
68ade68d4e now it reads a file, to have a List<String> from a file. 2012-10-04 15:43:26 -04:00
Vincent Batts
02eb42c4aa pretty printing, and start to read in a file of contents sets, to print
the tree
2012-10-04 15:32:12 -04:00
Vincent Batts
50c5215717 playing with javadoc options 2012-10-04 15:15:19 -04:00
Vincent Batts
a8dbc26260 target to generate javadoc 2012-10-04 15:01:15 -04:00
Vincent Batts
5a202c097e starting the trie utility that can contruct trie from paths 2012-10-04 14:35:31 -04:00
Vincent Batts
9520047496 commit 595f08259cfd44f1a6faf1a169735f6f452904ce
Refs: candlepin-0.7.10-1-1-g595f082
Author:     James Bowes <jbowes@redhat.com>
AuthorDate: Wed Sep 19 17:22:36 2012 -0300
Commit:     James Bowes <jbowes@redhat.com>
CommitDate: Wed Sep 19 17:22:36 2012 -0300

    certv3: sort path names alphabetically

    By sorting the child paths of a node alphabetically, clients can do a
    binary search for the node they want, rather than having to iterate over
    all children.
2012-10-04 10:31:46 -04:00
Vincent Batts
721355396c adding an executable aspect to the jar 2012-10-04 09:31:21 -04:00
Vincent Batts
e1677f54b9 moving the files that are from redhat code, into their own namespace 2012-10-04 09:22:28 -04:00
Vincent Batts
5162210602 adding the license to the classes pulled from candlepin's
X509V3ExtensionUtil
2012-10-04 09:20:18 -04:00
Vincent Batts
7664a903cc pulling out more of the tree objects 2012-10-03 21:40:17 -04:00
Vincent Batts
f788c73a8e adding ignores 2012-10-03 15:37:17 -04:00
Vincent Batts
eff1a986ad adding huffman node and a context by which to increment the id 2012-10-03 15:09:19 -04:00
Vincent Batts
ee041ca50c initial commit 2012-09-26 18:47:16 -04:00