[OpenNMS/opennms] a5a608: NMS-20263: Make the swagger annotation imports opt...

Marshall Massengill via opennms-cvs <[email protected]>
Newsgroups gmane.network.opennms.cvs
Message-ID <OpenNMS/opennms/push/refs/heads/mm/NMS-20263-smoke/[email protected]>
  Branch: refs/heads/mm/NMS-20263-smoke
  Home:   https://github.com/OpenNMS/opennms
  Commit: a5a6086a56e80e906430988e397f9fdfbc960082
      https://github.com/OpenNMS/opennms/commit/a5a6086a56e80e906430988e397f9fdfbc960082
  Author: Marshall Massengill <[email protected]>
  Date:   2026-08-26 (Wed, 26 Aug 2026)

  Changed paths:
    M features/bsm/rest/api/pom.xml
    M features/bsm/rest/impl/pom.xml
    M features/geolocation/rest/pom.xml
    M features/measurements/api/pom.xml
    M features/rest/model/pom.xml

  Log Message:
  -----------
  NMS-20263: Make the swagger annotation imports optional in the OSGi bundles

The swagger annotations have runtime retention, so adding them to classes
in bundle-packaged modules made bnd emit a mandatory Import-Package for
io.swagger.v3.oas.annotations and its subpackages. Sentinel does not ship
that bundle, so its feature resolution failed on
org.opennms.features.measurements.api and every sentinel smoke test timed
out waiting for a health check.

The annotations are only read at build time by opennms-openapi-docs, which
works off the compile classpath, so an optional import is enough. This
matches what opennms-config-model and features/events/api already do.



To unsubscribe from these emails, change your notification settings at https://github.com/OpenNMS/opennms/settings/notifications


_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/wiki/index.php?page=MailingListFaq
opennms-cvs mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.