File tree 3 files changed +13
-1
lines changed
apache-karaf-feature/src/main/feature
providers/src/main/java/graphql/servlet/examples/osgi
3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 3
3
* .iml
4
4
* .ipr
5
5
* .iws
6
- .idea /
6
+ ** / .idea /
7
7
target /
8
8
/out /
9
9
.classpath
Original file line number Diff line number Diff line change 5
5
name =" graphql-java-servlet-osgi-examples-karaf-feature" >
6
6
<feature dependency =" false" prerequisite =" true" >scr</feature >
7
7
<feature dependency =" false" prerequisite =" true" >war</feature >
8
+ <feature dependency =" false" prerequisite =" true" >http</feature >
8
9
</feature >
9
10
</features >
Original file line number Diff line number Diff line change
1
+ package graphql .servlet .examples .osgi ;
2
+
3
+ import graphql .kickstart .servlet .OsgiGraphQLHttpServlet ;
4
+ import org .osgi .service .component .annotations .Component ;
5
+
6
+ @ Component (
7
+ property = { "alias=/graphql" , "servlet-name=Example" }
8
+ )
9
+ public class ExampleServlet extends OsgiGraphQLHttpServlet {
10
+
11
+ }
You can’t perform that action at this time.
0 commit comments