Add an element "PipelinePart" as possible root-element.#438
Conversation
…xplain why I did not see other ways to get the desired result.
And perhaps we need to document which version of the doc corresponds to what version of the framework somewhere. |
| public enum AdditionalRootElement { | ||
| PIPELINE_PART("PipelinePart", "IPipe", "Wrapper element to help create reusable parts of a pipeline"); | ||
|
|
||
| public static final Map<String, AdditionalRootElement> VALUE_BY_TYPE = Arrays.stream(values()) |
There was a problem hiding this comment.
Wellicht even aangeven waarom je voor deze oplossing kiest? Misschien iets met performance ofzo?
| public FrankClassRepository(DocTrees docTrees, Set<? extends Element> classElements, Set<String> includeFilters, Set<String> excludeFilters, Set<String> excludeFiltersForSuperclass) { | ||
| this.excludeFiltersForSuperclass = new HashSet<>(excludeFiltersForSuperclass); | ||
|
|
||
| // This populates the map classesByName |
There was a problem hiding this comment.
Dank je, lekker verstopt idd
|
In Frank!Doc a new root element should be added that acts as a pipeline (only allows validators/wrappers/pipes). In the framework a step 1:
step 2:
step 3:
|
…PartTag # Conflicts: # frank-doc-doclet/src/main/java/org/frankframework/frankdoc/FrankDocJsonFactory.java
Zo'n class PipelinePart / ComponentPipe etc zit nog niet in dit PR. Wat ik daarvoor moet doen in de Frank!Doc heb ik nog niet geheel werkend gekregen. Wat nu in dit PR zit is De rest moet komen in een volgend PR. |
Change Frank!Doc XSD generator to allow extra root elements, beginning with PipelinePart.
This will change the Frank!Doc XSD generation in a way that does not make sense for older versions of the Frank!Framework, so before merging this change we should probably increase the version number to 4.3.0-SNAPSHOT and make a proper release of 4.2.0 to use in Frank!Framework 9.3.x and older.