OpenLiberty / open-liberty

Open Liberty is a highly composable, fast to start, dynamic application server runtime environment
https://openliberty.io
Eclipse Public License 2.0
1.15k stars 592 forks source link

Add MP OpenAPI server.xml config to include or exclude apps (2.0+) #28857

Closed Azquelt closed 3 weeks ago

Azquelt commented 4 months ago

New server.xml elements:

<mpOpenAPI>​
    <include>myApp1/myModule</include>​
</mpOpenAPI>​
<mpOpenAPI>​
    <exclude>myInternalApp</exclude>​
</mpOpenAPI>​

Semantics should match the existing MP config properties for including or excluding apps: https://openliberty.io/docs/latest/documentation-openapi.html#multi-module

If either <include> or <exclude> are present in the server.xml, the MP config properties should be ignored.

Azquelt commented 1 month ago

We're reviewing the design of this part of the feature in #29541. We need to get the design questions resolved before we can implement this.

Azquelt commented 1 month ago

Tasks:

benjamin-confino commented 1 month ago

Note to self, also have to open a new issue for the warning messages for an included statement that doesn't match an app