Skip to content

Commit a4717f2

Browse files
sergehuberapottere
authored andcommitted
Revert change to OSGi R6 Property back to a property compatible with … (#25)
* Revert change to OSGi R6 Property back to a property compatible with older OSGi containers * Add ignore for Maven target directories
1 parent 8e494c0 commit a4717f2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ build
33
*.iml
44
*.ipr
55
*.iws
6-
.idea/
6+
.idea/
7+
target

src/main/java/graphql/servlet/OsgiGraphQLServlet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
@Component(
4040
service={javax.servlet.http.HttpServlet.class,javax.servlet.Servlet.class},
41-
property = {"osgi.http.whiteboard.servlet.pattern=/graphql/*", "jmx.objectname=graphql.servlet:type=graphql"}
41+
property = {"alias=/graphql", "jmx.objectname=graphql.servlet:type=graphql"}
4242
)
4343
public class OsgiGraphQLServlet extends GraphQLServlet {
4444

0 commit comments

Comments
 (0)