Add ServerConfiguration schema to validate Meteor settings, removed defaultSettings, ran JSCS for DIMSEService package
This commit is contained in:
1 parent
356abd0978
commit
d4b014847a
16 files changed
+1696
-1429
No files matched your search
@@ -39,3 +39,4 @@ clinical:router
|
||||
fastclick@1.0.12
|
||||
standard-minifier-css@1.1.8
|
||||
standard-minifier-js@1.1.8
|
||||
aldeed:simple-schema
|
||||
@@ -1,3 +1,4 @@
|
||||
aldeed:simple-schema@1.5.3
|
||||
allow-deny@1.0.5
|
||||
arsnebula:reactive-promise@0.9.1
|
||||
autoupdate@1.3.11
|
||||
@@ -49,6 +50,7 @@ jquery@1.11.9
|
||||
launch-screen@1.0.12
|
||||
livedata@1.0.18
|
||||
logging@1.1.14
|
||||
mdg:validation-error@0.2.0
|
||||
meteor@1.2.16
|
||||
meteor-base@1.0.4
|
||||
meteor-platform@1.2.6
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
import { Meteor } from 'meteor/meteor';
|
||||
|
||||
Meteor.startup(function() {
|
||||
if (Object.keys(Meteor.settings).length > 1) {
|
||||
console.log('Using custom LesionTracker settings: ');
|
||||
console.log(Meteor.settings);
|
||||
return;
|
||||
}
|
||||
|
||||
Meteor.settings = {
|
||||
servers: {
|
||||
dicomWeb: [{
|
||||
name: 'Orthanc',
|
||||
wadoUriRootNOTE: 'either this uri is not correct for wado-uri or wado-uri is not configured on orthanc currently',
|
||||
wadoUriRoot: 'http://localhost:8043/wado',
|
||||
qidoRoot: 'http://localhost:8042/dicom-web',
|
||||
wadoRoot: 'http://localhost:8042/dicom-web',
|
||||
qidoSupportsIncludeField: false,
|
||||
imageRendering: 'wadouri',
|
||||
requestOptions: {
|
||||
auth: 'orthanc:orthanc',
|
||||
logRequests: true,
|
||||
logResponses: false,
|
||||
logTiming: true
|
||||
}
|
||||
}],
|
||||
dimse: [{
|
||||
name: "ORTHANC_DIMSE",
|
||||
peers: [{
|
||||
host: 'localhost',
|
||||
port: 4242,
|
||||
hostAE: 'ORTHANC'
|
||||
}]
|
||||
}]
|
||||
},
|
||||
defaultServiceType: 'dicomWeb',
|
||||
//defaultServiceType: 'dimse'
|
||||
public: {
|
||||
ui: {
|
||||
studyListFunctionsEnabled: true
|
||||
}
|
||||
}
|
||||
};
|
||||
});
|
||||
Reference in new issue
Block a user