Skip to content

Commit 151b382

Browse files
committed
Merge branch 'master' of github.com:soajs/soajs.java.jaxrs_jersey
2 parents 7c54c26 + e0bf36d commit 151b382

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

nbproject/private/private.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
33
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
44
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
5-
<group>
6-
<file>file:/Users/etienne/NetBeansProjects/soajs.java.jaxrs_jersey/src/java/soajs/test/rest/Hello.java</file>
7-
</group>
5+
<group/>
86
</open-files>
97
</project-private>

src/java/soajs/test/rest/Hello.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import javax.ws.rs.core.MediaType;
1717
import javax.ws.rs.core.Response;
1818
import org.json.JSONObject;
19+
import soajs.filters.SoajsRegistry;
1920

2021
import soajs.filters.SoajsRequestUtilities;
2122

@@ -55,6 +56,7 @@ public Response postTest(String data,
5556
String host = SoajsRequestUtilities.getHost(soajs);
5657
soajs.put("controller", host);
5758

59+
soajs.put("databases", SoajsRegistry.getDatabases());
5860
}catch(Exception e){
5961
e.printStackTrace();
6062
}

0 commit comments

Comments
 (0)