Skip to content

Commit

Permalink
refactor: org.chaos-mesh generated from OpenAPI schemas
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Nuri <marc@marcnuri.com>
  • Loading branch information
manusa authored Nov 13, 2024
1 parent 261781f commit 141bf0e
Show file tree
Hide file tree
Showing 173 changed files with 27,555 additions and 7,676 deletions.
9 changes: 3 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ openapi-generate-java-classes:
cd extensions && mvn $(MAVEN_ARGS) -N clean install
cd extensions/certmanager && mvn $(MAVEN_ARGS) -N clean install
cd extensions/certmanager/model && mvn $(MAVEN_ARGS) -Pgenerate clean install
cd extensions/chaosmesh && mvn $(MAVEN_ARGS) -N clean install
cd extensions/chaosmesh/model && mvn $(MAVEN_ARGS) -Pgenerate clean install
cd extensions/istio && mvn $(MAVEN_ARGS) -N clean install
cd extensions/istio/model && mvn $(MAVEN_ARGS) -Pgenerate clean install
cd extensions/knative && mvn $(MAVEN_ARGS) -N clean install
Expand All @@ -64,13 +66,8 @@ openapi-generate-java-classes:
cd extensions/volumesnapshot && mvn $(MAVEN_ARGS) -N clean install
cd extensions/volumesnapshot/model && mvn $(MAVEN_ARGS) -Pgenerate clean install

# Legacy generation of the model: TODO: remove
.PHONY: generate-model-legacy
generate-model-legacy:
cd kubernetes-model-generator && ./generateModel.sh

.PHONY: generate-model
generate-model: openapi-generate-schema openapi-generate-java-classes generate-model-legacy
generate-model: openapi-generate-schema openapi-generate-java-classes

.PHONY: sonar
sonar: clean
Expand Down
1 change: 0 additions & 1 deletion extensions/chaosmesh/generator/.gitignore

This file was deleted.

28 changes: 0 additions & 28 deletions extensions/chaosmesh/generator/Makefile

This file was deleted.

95 changes: 0 additions & 95 deletions extensions/chaosmesh/generator/cmd/generate/generate.go

This file was deleted.

68 changes: 0 additions & 68 deletions extensions/chaosmesh/generator/go.mod

This file was deleted.

Loading

0 comments on commit 141bf0e

Please sign in to comment.