Details
-
Task
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
None
-
False
-
False
-
Undefined
-
---
-
---
Description
There are multiple Files.write directly inside the generators while this should be delegated to the external container (KogitoAssetsProcessor or kogito-maven-plugin.
The goal of this ticket is:
- Remove all Files.write from inside the generator
- Remove param Collection<GeneratedFile> and make methods always return a new collection of generate files (to avoid the side effect)
- Remove all imageMetadata (and label) code because it use Files.write and it is no more used by the operator so it is better to remove the whole feature
Attachments
Issue Links
- blocks
-
KOGITO-3072 Restructure codegen (part 2)
- Resolved
- causes
-
KOGITO-4115 Due to removal of `target/classes/persistence` path, S2I tests of images are failing with persistence enabled
- Closed
- is related to
-
KOGITO-4517 Update code base and documentation after proto files generation refactoring
- Resolved