Dave Shanley
b83e751aa7
Working through test coverage of schema proxy
...
Main logic is now in place, ready for fleshing out. Pattern feels right.
2022-10-09 19:33:58 -04:00
Dave Shanley
277c7c0a4c
Working through schema changes.
2022-10-09 14:37:05 -04:00
Dave Shanley
4b9c5fba1e
Building out schema comparison mechanism
...
Which has led to a new wider hashing capability for the low level API. hashing makes it very easy to determine changes quickly, without having to run comparisons to discover changes, could really speed things up moving forward.
2022-10-08 14:09:46 -04:00
Dave Shanley
7f61a7624d
Fixed flaky test in what changed
...
There is no order guarantee once parsed, I need to stop nmaking this mistake.
Signed-off-by: Dave Shanley <dave@quobix.com >
2022-10-05 11:37:42 -04:00
Dave Shanley
f7703c4266
Added example object to what-changed feature.
...
Ready to tackle the main event now. The Schema!
Signed-off-by: Dave Shanley <dave@quobix.com >
2022-10-05 11:33:35 -04:00
Dave Shanley
3649dc594f
Refactored total change counts
...
Design is more uniformed and standardized, patterns are bubbling up. I think we're ready to tackle the schema soon.
Signed-off-by: Dave Shanley <dave@quobix.com >
2022-10-05 11:24:37 -04:00
Dave Shanley
0b2c3c1201
Added breaking change count to core design
...
Everything will now calculate total changes and breaking changes as a convenience and aggregation mechanism.
Signed-off-by: Dave Shanley <dave@quobix.com >
2022-10-05 10:15:55 -04:00
Dave Shanley
0dbbc8e826
Added discriminator checks and cleaned up some more patterns
...
Still quite early in the pattern finding process, needs another sweep to cache and fetch more pre-calculated change counts.
Signed-off-by: Dave Shanley <dave@quobix.com >
2022-10-05 09:27:46 -04:00
Dave Shanley
07c05ee540
Added XML object to what-changed.
...
Picking off low hanging fruit, before attacking the big, ugly stuff.
Signed-off-by: Dave Shanley <dave@quobix.com >
2022-10-04 07:35:06 -04:00
Dave Shanley
65fa21be86
Continued pattern building, added info changes
...
tried to make some more generic patterns, but I think it's about as thin as it can be now, some boilerplate will be required.
Signed-off-by: Dave Shanley <dave@quobix.com >
2022-10-03 09:46:12 -04:00
Dave Shanley
9775c384f7
Removed the ModifiedAndRemoved and Moved change types from the library.
...
They are not useful and will create a lot of noise, The context will always be available, but changes in context will not result in a recorded change.
Signed-off-by: Dave Shanley <dave@quobix.com >
2022-10-02 12:38:28 -04:00
Dave Shanley
60da35e8b5
Added in license diff check
...
Also refactored some of the import names, as they were pointless.
Signed-off-by: Dave Shanley <dave@quobix.com >
2022-10-02 12:02:52 -04:00
Dave Shanley
b4195d13f3
Refactored what-changed core code to be ready for buildout.
...
The designs and patterns are set, the way forward for low-level models is clear. Documentation and cleanliness will now be a side by side process as the rest is built out.
Signed-off-by: Dave Shanley <dave@quobix.com >
2022-10-02 10:58:53 -04:00
Dave Shanley
4cf9a0e0cd
refactored extensions to use new clean generics.
...
feels pretty clean!
2022-10-01 12:50:26 -04:00
Dave Shanley
3d0fe1cc2e
Cleaned up tags logic for what-changed feature.
...
Using new generic functions
2022-10-01 12:40:30 -04:00
Dave Shanley
ba37ca4e29
Collapsed repetitive code into generic functions.
...
Establishing patterns for individual objects, discovering designs to collapse what would be an obscene amount of repetitive code.
2022-09-30 10:39:35 -04:00
Dave Shanley
cb7df7c9b2
Adding more use cases
...
Fleshing out design to see how it holds up, needs more work.
2022-09-29 10:47:22 -04:00
Dave Shanley
a9252c656d
Added CreateChange generic method
...
Works pretty well, cuts down on code.
2022-09-29 10:09:47 -04:00
Dave Shanley
c47cc15cad
Added tags to what-changed
2022-09-29 07:46:21 -04:00
Dave Shanley
cd68570278
Fleshing out what-changed functionality.
...
Starting at the bottom again with low levels and sketching out how to consume it.
2022-09-28 11:41:59 -04:00
Dave Shanley
c099e0def5
3.0 Schema used by default now for 3.0.x minor versions.
...
Originally reported in vacuum: https://github.com/daveshanley/vacuum/issues/131
2022-09-28 07:17:57 -04:00
Dave Shanley
e80b640627
Added support for 3.1 docs and variations, as well as removed duplicated descriptions from sample spec.
2022-09-26 15:58:32 -04:00
Dave Shanley
ee4aec4cdb
Added latest and greatest schema for correct OAS3.1 validation
...
When updating vacuum, OAS 3.1 specs were not validated correctly.
2022-09-26 15:47:10 -04:00
Dave Shanley
8533ea9bdc
Fixed a small couple of glitches that appeared during load testing.
2022-09-26 14:22:48 -04:00
Dave Shanley
3b8e9a6827
Fixed readme code examples
2022-09-26 11:16:27 -04:00
Dave Shanley
8f0887f4bf
More tuning on readme.
2022-09-26 11:06:48 -04:00
Dave Shanley
df4f3b7693
Tuning README
2022-09-26 10:55:17 -04:00
Dave Shanley
57622b26e5
Docs, examples and new logo!
2022-09-26 10:52:09 -04:00
Dave Shanley
6214babaec
v2 low-level docs are now in also.
...
That is now 6/6! Time to tune up the README again next.
2022-09-21 09:24:40 -04:00
Dave Shanley
f9016b8414
Low-level docs for v3 model are now in place
...
5/6 of the way there!
2022-09-21 07:10:58 -04:00
Dave Shanley
d4857ffe05
Cleaning up go.sum
2022-09-20 10:10:42 -04:00
Dave Shanley
be71a5e775
V2 low-base docs in place
...
refactored constants a little also to clean things up.
2022-09-20 10:08:31 -04:00
Dave Shanley
65b242b6c4
Building out low level docs now
...
a long road ahead, but we must push forward.
2022-09-20 07:55:19 -04:00
Dave Shanley
b5e19ceeb2
Fixed reportcard link
2022-09-19 10:00:18 -04:00
Dave Shanley
cf6826aefb
Updated typo in readme.
2022-09-19 09:55:27 -04:00
Dave Shanley
fc68b488f0
Added new example and updated readme with mutation example.
...
We update and add as we go.
2022-09-19 09:51:57 -04:00
Dave Shanley
9d9592793d
All v2 high-level docs are completed
...
Good docs, maketh the tool...
2022-09-19 09:13:50 -04:00
Dave Shanley
e52cc69bab
Adding more docs to v2 swagger model.
...
once and done job, not much fun to be honest ;)
2022-09-18 13:07:07 -04:00
Dave Shanley
649a93b008
More v2 high-level docs
...
started including content from the schema to make it easier to understand when using the code as a complete guide, without pivoting to the spec.
2022-09-17 09:57:29 -04:00
Dave Shanley
c17cc4a7e6
Adding more docs to high level models.
...
Cleaning things that are not used.
2022-09-16 14:03:05 -04:00
Dave Shanley
2ea1d239cf
Updated sample code.
2022-09-16 10:51:57 -04:00
Dave Shanley
5ab30f0657
Updated README
2022-09-16 10:49:06 -04:00
Dave Shanley
cbce025d6c
More docs going in, Added README details.
...
still lots to do, a long way to go, but it's starting to take shape.
2022-09-16 10:44:30 -04:00
Dave Shanley
3d5ecf0efb
Refactored version directory names
...
3.0 and 2.0 do not work, there are multiple versions and anything with a period in it sucks from my point of view, v2 and v3 feel much better from a DX perspective.
2022-09-16 08:33:39 -04:00
Dave Shanley
849074d0bc
High-level base documentation is complete.
...
Examples and every model completed, 1/6th of the way through models.
2022-09-15 11:13:54 -04:00
Dave Shanley
b036982212
3.1 Support added to high models
...
webhooks and new multi-type models in place and coverage at 100%
2022-09-15 07:27:09 -04:00
Dave Shanley
5c93f3e28b
Low level support for 3.1 model updates
...
Webhooks and dialect are now added and working.
2022-09-15 06:28:56 -04:00
Dave Shanley
19269af7d7
Added support for 3.1 updates to schema
2022-09-14 11:16:16 -04:00
Dave Shanley
8bd691b9bd
Working through adding documentation to datamodel.
...
Adding examples and docs, A long way to go, but like always, we just keep chipping away.
2022-09-14 08:55:26 -04:00
Dave Shanley
26bf084207
Adding more docs and examples.
2022-09-13 10:59:53 -04:00