Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: org.chaos-mesh generated from OpenAPI schemas #6573

Merged
merged 1 commit into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading