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
4dc693a3f5
Another readme tweak.
...
Signed-off-by: quobix <dave@quobix.com >
2023-10-11 13:58:18 -04:00
quobix
6a49a51788
Updated sponsors, added scalar
...
Signed-off-by: quobix <dave@quobix.com >
2023-10-11 13:56:53 -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
quobix
8e08110b11
Added numeric version to SpecInfo
...
It’s easier to determine now which version is which.
Signed-off-by: quobix <dave@quobix.com >
2023-10-08 12:27:52 -04:00
quobix
55b6e13bb5
Some housekeeping I noticed.
...
Signed-off-by: quobix <dave@quobix.com >
2023-10-08 12:27:52 -04:00
Nicholas Jackson
4847c4b296
refactor: remove single iteration loop
...
Simplify code by taking the first element instead of
performing a single-iteration loop.
2023-10-08 12:24:20 -04:00
Nicholas Jackson
b6f5730a7f
chore: replace use of deprecated ioutil with os
2023-10-08 12:23:48 -04:00
Tristan Cartledge
d4dabca04f
fix: correctly handling of extracting enums for index
2023-10-05 09:31:16 -04:00
Tristan Cartledge
2723ed974d
fix: test
2023-10-05 09:31:16 -04:00
Tristan Cartledge
8531113e17
fix!: fixed handling of additionalProperties to handle the bool/json-schema nature better
2023-10-05 09:31:16 -04:00
Shawn Poulson
8b90e9a808
Improve test coverage.
2023-10-05 09:30:28 -04:00
Shawn Poulson
a3ea4586f7
Fix tests.
2023-10-05 09:30:28 -04:00
Shawn Poulson
0634514149
Tidy code.
2023-10-05 09:30:28 -04:00
Shawn Poulson
663cb90b67
Improve coverage. Simplify error handling.
2023-10-05 09:30:28 -04:00
Shawn Poulson
e2da992488
Tidy code.
2023-10-05 09:30:28 -04:00
Shawn Poulson
dc4670028c
Fix compatibility issue with Go 1.19.
2023-10-05 09:30:28 -04:00