You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-18Lines changed: 19 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,34 +13,35 @@ A [Bnd](https://bnd.bndtools.org/) plugin that validates OSGi bundle metadata co
13
13
14
14
-**Export Packages** - Validates that exported packages follow naming conventions
15
15
-**Bundle Symbolic Names** - Ensures bundle symbolic names conform to organizational standards
16
-
-**OSGi DS Component Service Interfaces** - Validates service interface FQCNs in OSGi DS components
17
-
-**OSGi HTTP/Servlet Whiteboard** - Validates that HTTP servlets/filters registered via [HTTP/servlet whiteboard](https://docs.osgi.org/specification/osgi.cmpn/8.1.0/service.servlet.html) are listening to specific paths only
16
+
-**DS Component Provided Services** - Validates [provided service FQCNs in DS components](https://docs.osgi.org/specification/osgi.cmpn/8.1.0/service.component.html#service.component-service.element)
17
+
-**HTTP/Servlet Whiteboard** - Validates that HTTP servlets/filters registered via [HTTP/servlet whiteboard](https://docs.osgi.org/specification/osgi.cmpn/8.1.0/service.servlet.html) are listening to specific paths only
18
18
-**Sling Servlet/Filter** - Validates [Sling servlet](https://sling.apache.org/documentation/the-sling-engine/servlets.html) paths, resource types, and resource super types as well as [Sling filter](https://sling.apache.org/documentation/the-sling-engine/filters.html) patterns/resource types
19
19
-**Sling Authentication Handler** - Validates a [Sling Authentication Handler](https://sling.apache.org/documentation/the-sling-engine/authentication/authentication-authenticationhandler.html) is registered to a specific path only
20
20
21
21
## Features
22
22
23
-
### Export Package Validation
23
+
### Export Packages
24
24
Validates that all exported packages match a specified regular expression pattern.
25
25
26
-
### Bundle Symbolic Name Validation
26
+
### Bundle Symbolic Name sn
27
27
Ensures Bundle-SymbolicName headers conform to naming conventions, with support for parameter handling (e.g., `singleton:=true`).
28
28
29
-
### OSGi DS Component Service Validation
30
-
Validates that OSGi Declarative Services components only implement services whose fully qualified class names match specified patterns.
31
-
Apart from the explicitly managed configuration there is implicit allows for all those commons services which have multitenancy via a specific (validated) OSGi property.r
29
+
### DS Component Provided Services
30
+
Validates that Declarative Services components only provide services whose fully qualified class names match specified patterns.
31
+
Apart from the explicitly managed configuration there is implicit allows for all those commons services which have multi-tenancy support built-in via a specific (validated) OSGi property. Those
32
+
are validated on a different level.
32
33
33
-
### OSGi HTTP/Servlet Whiteboardd
34
+
### HTTP/Servlet Whiteboard
34
35
For DS components implementing `javax.servlet.Servlet` or `jakarta.servlet.Servlet`, validates
Each parameter may take multiple [regular expression patterns](https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html) separated by comma. That makes the comma itself unusable within the regular expression pattern itself, however this shouldn't be necessary there.
78
79
All parameters are optional. If not set the according property/name/header is not validated.
0 commit comments