Skip to content

Commit

Permalink
K8s Schema Matcher (#307)
Browse files Browse the repository at this point in the history
* Implement K8sSchemaMatcher class

* Apply property-name-based heuristic on ranking matched schema

* Improve schema matching heuristic

- Observe property names used for each k8s schemas in k8s schema spec
  and use them to improve ranking of matched schemas

* Fix code style and add documentation

* Add test cases for K8sSchemaMatcher

- Added kafka_crd to test_data/
- Added test case generation code
- Partially fixed pylint warnings in test code

* Match descendants of matched schemas

* Rename K8s dict and list schema class

* Use YAML for dumped schema files

* Fix and improve type hints
  • Loading branch information
MarkintoshZ authored Jan 16, 2024
1 parent 8e03b3e commit 9c942b5
Show file tree
Hide file tree
Showing 3 changed files with 8,690 additions and 54 deletions.
Loading

0 comments on commit 9c942b5

Please sign in to comment.