quobix
b37b9a2fb9
more coverage bumps to rolodex
...
Signed-off-by: quobix <dave@quobix.com >
2023-10-31 14:10:48 -04:00
quobix
0b08a63e63
more coverage bumps
...
Signed-off-by: quobix <dave@quobix.com >
2023-10-31 13:58:58 -04:00
quobix
9746f51a0e
bumping up coverage of the rolodex
...
Signed-off-by: quobix <dave@quobix.com >
2023-10-31 11:30:39 -04:00
quobix
9302f7c6dd
whoops.
...
Signed-off-by: quobix <dave@quobix.com >
2023-10-31 10:25:20 -04:00
quobix
0b24a5b5b7
flaky test fixed.
...
well, it’s not fixed, there is an async bug somewhere.
Signed-off-by: quobix <dave@quobix.com >
2023-10-31 10:19:20 -04:00
quobix
5d41427960
more coverage, bumping up rolodex coverage
...
fixing small glitches now as we go.
Signed-off-by: quobix <dave@quobix.com >
2023-10-31 10:15:19 -04:00
quobix
fde9ede4ac
Working through more coverage
...
adding more tests.
Signed-off-by: quobix <dave@quobix.com >
2023-10-31 08:25:56 -04:00
quobix
ba8b5ac776
more coverage tuning
...
Signed-off-by: quobix <dave@quobix.com >
2023-10-30 15:50:33 -04:00
quobix
0cc66982f6
Adding more logic to resolver to handle mixed usecases
...
Signed-off-by: quobix <dave@quobix.com >
2023-10-30 15:02:00 -04:00
quobix
aca3ed66d7
Adding more use-cases for resolving remote docs
...
Signed-off-by: quobix <dave@quobix.com >
2023-10-30 10:43:51 -04:00
quobix
d8dfafd0a4
Working through test cases
...
There are still gaps to be found based on various combinations of crazy references.
Signed-off-by: quobix <dave@quobix.com >
2023-10-30 10:03:02 -04:00
quobix
3ee631c748
working on more tests
...
Signed-off-by: quobix <dave@quobix.com >
2023-10-27 16:41:50 -04:00
quobix
7cf93e83b4
bumping coverage
...
Signed-off-by: quobix <dave@quobix.com >
2023-10-26 16:22:22 -04:00
quobix
765c7e2e14
Working through rolodex coverage.
...
Signed-off-by: quobix <dave@quobix.com >
2023-10-25 14:54:32 -04:00
quobix
eff416603e
fixed flaking test
...
Signed-off-by: quobix <dave@quobix.com >
2023-10-25 08:16:11 -04:00
quobix
a87d9236d8
bumping test coverage
...
more to go, more cleaning inbound also
Signed-off-by: quobix <dave@quobix.com >
2023-10-25 08:09:33 -04:00
quobix
b82b46eb02
Pipeline is failing because it’s hanging somewhere
...
cannot re-create the problem locally, even when setting GOMAXPROCS to 1
Signed-off-by: quobix <dave@quobix.com >
2023-10-24 18:17:15 -04:00
quobix
e26897d8a1
Updated logic to handle a single core
...
The remote loader was blocking the only thread.
Signed-off-by: quobix <dave@quobix.com >
2023-10-24 17:54:02 -04:00
quobix
f644fbb250
bumped go version and build
...
Signed-off-by: quobix <dave@quobix.com >
2023-10-24 16:22:09 -04:00
quobix
c1cf240cab
Working through test coverage
...
This will be a bit of a slog, new code built in the hot path will need some love and attention.
Signed-off-by: quobix <dave@quobix.com >
2023-10-24 16:13:08 -04:00
quobix
5d717bdefe
Changed document signatures to use error instead of []error
...
Also removed old swagger `CreateDocument` method that has been deprecated.
Signed-off-by: quobix <dave@quobix.com >
2023-10-24 12:31:47 -04:00
quobix
d30ac24db9
All tests pass! logs of tests fixed and tuning API for high level
...
Document configuration has been simplified, no more need for AllowRemote stuff in the document configuration, it’s assumed by setting the baseURL or the basePath.
Signed-off-by: quobix <dave@quobix.com >
2023-10-24 10:24:19 -04:00
quobix
6e9db7f838
A massive test update to bring everything inlne with the new Buildable signature.
...
All tests in index and datamodel now pass. The rolodex fixes all the things.
Signed-off-by: quobix <dave@quobix.com >
2023-10-23 18:18:44 -04:00
quobix
8717b3cd33
An enormous amount of surgery on the low level model.
...
Every `Build()` method now requires a `context.Context`. This is so the rolodex knows where to resolve from when locating relative links. Without knowing where we are, there is no way to resolve anything. This new mechanism allows the model to recurse across as many files as required to locate references, without loosing track of where we are in the process.
Signed-off-by: quobix <dave@quobix.com >
2023-10-23 15:04:34 -04:00
quobix
3bf830c2b3
Another round of cleaning.
...
Signed-off-by: quobix <dave@quobix.com >
2023-10-21 18:41:53 -04:00
quobix
28047d08d2
First sweep at cleaning up dead code
...
first round of a number I am sure, lots to clean.
Signed-off-by: quobix <dave@quobix.com >
2023-10-21 18:26:21 -04:00
quobix
be7e477529
index tests all pass! now time to clean.
...
Signed-off-by: quobix <dave@quobix.com >
2023-10-21 17:29:53 -04:00
quobix
bf270d3d2b
whacking the shit out of exploded use-cases
...
Before everything worked, but was completely accurate, now everything works and everything is absolute and can be resolved. Phew, what a mission!
Signed-off-by: quobix <dave@quobix.com >
2023-10-21 14:14:49 -04:00
quobix
afe89454ac
More fine tuning, handling resolving and edge cases now.
...
Signed-off-by: quobix <dave@quobix.com >
2023-10-20 17:50:51 -04:00
quobix
1bf772ab69
All spec_index tests pass
...
It’s so, so much faster than before, intelligent and ready for scale. I’m excited!
Signed-off-by: quobix <dave@quobix.com >
2023-10-20 11:38:29 -04:00
quobix
b295e8fd5c
bashing through usecases and updating tests as we go.
...
so many things that can go wrong. have to catch them all.
Signed-off-by: quobix <dave@quobix.com >
2023-10-19 15:18:33 -04:00
quobix
054103b733
working through logging now and further tests
...
starting the circle dance now.
Signed-off-by: quobix <dave@quobix.com >
2023-10-18 17:27:56 -04:00
quobix
9ee1afe1f3
digital ocean now running correctly
...
Sucking in all the files!
Signed-off-by: quobix <dave@quobix.com >
2023-10-18 16:52:32 -04:00
quobix
77819061fa
cleaning up a little.
...
Signed-off-by: quobix <dave@quobix.com >
2023-10-18 12:04:04 -04:00
quobix
48c83ddb30
resolver tests all operational
...
time to start some cleanup.
Signed-off-by: quobix <dave@quobix.com >
2023-10-18 12:01:06 -04:00
quobix
51971762a9
Another massive surgical strike with the rolodex and index reshuffle.
...
Signed-off-by: quobix <dave@quobix.com >
2023-10-18 09:29:26 -04:00
quobix
0fcd55ea78
More surgery on rolodex and the index
...
Bringing the tests back online, bit by bit.
Signed-off-by: quobix <dave@quobix.com >
2023-10-17 07:45:00 -04:00
quobix
cea7bb0cc8
chopping through index changes, basic design works.
...
seems to be holding, more tests to change.
Signed-off-by: quobix <dave@quobix.com >
2023-10-16 14:56:58 -04:00
quobix
d5f72a2a2e
a first working engine of the new design.
...
There is a horrible amount of work to be done to clean this up, and wire in remote support. but so far, this is working as expected and is now a much cleaner design, (once everything has been cleaned up that is)
Signed-off-by: quobix <dave@quobix.com >
2023-10-16 13:36:30 -04:00
quobix
8b795c6321
working through rolodex design and using it externally via vacuum
...
this is some complex and messy work.
Signed-off-by: quobix <dave@quobix.com >
2023-10-15 12:34:54 -04:00
quobix
511843e4df
Major surgery on the index and resolver. A complete flip in design.
...
Signed-off-by: quobix <dave@quobix.com >
2023-10-14 12:36:38 -04:00
quobix
de85651414
Performing some major surgery on the index
...
To make this work correctly, this needs completely shaking up and a transfer of ownership. The index is now local,
the rolodex is now global.
Signed-off-by: quobix <dave@quobix.com >
2023-10-13 15:51:41 -04:00
quobix
81902efddc
working through rolodex build
...
Signed-off-by: quobix <dave@quobix.com >
2023-10-12 17:32:04 -04:00
quobix
8952d76ace
Working through the rolodex design.
...
assembling the low level blocks, all based on `fs.FS` interfaces.
Signed-off-by: quobix <dave@quobix.com >
2023-10-11 10:02:29 -04:00
quobix
ec3bf9e224
Adding the rolodex
...
Signed-off-by: quobix <dave@quobix.com >
2023-10-10 13:45:07 -04:00
quobix
1d566cd60c
fixed more tests
...
Signed-off-by: quobix <dave@quobix.com >
2023-10-08 12:27:52 -04:00
quobix
faf191bdd0
bumped coverage on tests
...
Signed-off-by: quobix <dave@quobix.com >
2023-10-08 12:27:52 -04:00
quobix
198a47153b
Added logic to ensure minumum and maximum are printed correctly.
...
If they are zero, but they are defined then do the right thing!
Signed-off-by: quobix <dave@quobix.com >
2023-10-08 12:27:52 -04:00
quobix
70eda75790
Schema now has access to index, which has access to spec info.
...
version can be extracted from anywhere in the model. Added logic for extracting the correct
version for exlusiveMaximum and exlusiveMinimum
Signed-off-by: quobix <dave@quobix.com >
2023-10-08 12:27:52 -04:00
quobix
b74d9ff002
Spec index now has access to SpecInfo
...
Signed-off-by: quobix <dave@quobix.com >
2023-10-08 12:27:52 -04:00