Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
histream
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Raphael
histream
Commits
dfac5f19
Commit
dfac5f19
authored
Jul 25, 2016
by
R.W.Majeed
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup unused code
parent
efc4e0a7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
31 deletions
+1
-31
histream-i2b2/src/main/scripts/i2b2-ws/main.js
histream-i2b2/src/main/scripts/i2b2-ws/main.js
+0
-21
histream-i2b2/src/main/scripts/i2b2-ws/pm.cell.js
histream-i2b2/src/main/scripts/i2b2-ws/pm.cell.js
+0
-9
histream-i2b2/src/test/java/de/sekmi/histream/i2b2/TestExtractor.java
...2/src/test/java/de/sekmi/histream/i2b2/TestExtractor.java
+1
-1
No files found.
histream-i2b2/src/main/scripts/i2b2-ws/main.js
deleted
100644 → 0
View file @
efc4e0a7
"
use strict
"
;
var
cells
=
[];
function
cell
(
id
){
this
.
id
=
id
;
this
.
register
=
function
(){
cells
[
id
]
=
this
;
}
}
load
(
'
src/main/scripts/i2b2-ws/pm.cell.js
'
);
this
.
httpRequest
=
function
(
method
,
path
,
query
,
body
){
var
i
=
-
1
;
if
(
path
!=
null
)
i
=
path
.
indexOf
(
'
/
'
,
1
);
if
(
i
!=
-
1
){
var
c
=
cells
[
path
.
substr
(
1
,
i
-
1
)];
if
(
c
)
return
c
.
request
(
method
,
path
.
substr
(
i
+
1
),
query
,
body
);
else
return
"
<error>Unknown cell in path
"
+
path
.
substr
(
1
,
i
-
1
)
+
"
</error>
"
;
}
else
return
"
<error>No cell id specified in path</error>
"
;
}
histream-i2b2/src/main/scripts/i2b2-ws/pm.cell.js
deleted
100644 → 0
View file @
efc4e0a7
"
use strict
"
;
var
pm
=
new
cell
(
'
pm
'
);
pm
.
request
=
function
(
method
,
path
,
query
,
body
){
return
"
<x>PM, method=
"
+
method
+
"
, path=
"
+
path
+
"
, query=
"
+
query
+
"
</x>
"
;
}
pm
.
register
();
print
(
'
PM cell loaded
'
);
histream-i2b2/src/test/java/de/sekmi/histream/i2b2/TestExtractor.java
View file @
dfac5f19
...
...
@@ -86,7 +86,7 @@ public class TestExtractor implements DataSource{
@Override
public
Connection
getConnection
()
throws
SQLException
{
final
int
defaultFetchSize
=
10000
;
//
final int defaultFetchSize = 10000;
final
String
driver
=
"org.postgresql.Driver"
;
final
String
uri
=
"jdbc:postgresql://localhost:15432/i2b2"
;
try
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment