diff --git a/shrine-webclient/src/main/html/i2b2_config_data.js b/shrine-webclient/src/main/html/i2b2_config_data.js index a5e800ce9..a48ba65cf 100644 --- a/shrine-webclient/src/main/html/i2b2_config_data.js +++ b/shrine-webclient/src/main/html/i2b2_config_data.js @@ -1,27 +1,27 @@ { - //urlProxy: "http://localhost:6443/shrine-proxy/request/", - urlProxy: "/shrine-proxy/request", + urlProxy: "http://localhost:6443/shrine-proxy/request/", + //urlProxy: "/shrine-proxy/request", urlFramework: "js-i2b2/", loginTimeout: 15, // in seconds //JIRA|SHRINE-519:Charles McGow username_label:"SHRINE Username:", //Username Label password_label:"SHRINE Password:", //Password Label clientHelpUrl: 'help/pdf/shrine-client-guide.pdf', networkHelpUrl:'help/pdf/shrine-network-guide.pdf', wikiBaseUrl: 'https://open.med.harvard.edu/wiki/display/SHRINE/', obfuscation: 10, resultName: "patients", //JIRA|SHRINE-519:Charles McGow // ------------------------------------------------------------------------------------------- // THESE ARE ALL THE DOMAINS A USER CAN LOGIN TO lstDomains: [ { domain: "i2b2demo", name: "SHRINE", urlCellPM: "http://services.i2b2.org/i2b2/services/PMService/", allowAnalysis: true, debug: true, isSHRINE: true } ] // ------------------------------------------------------------------------------------------- } diff --git a/shrine-webclient/src/main/html/js-shrine/index.html b/shrine-webclient/src/main/html/js-shrine/index.html index bbcc488fa..92fe55a1e 100644 --- a/shrine-webclient/src/main/html/js-shrine/index.html +++ b/shrine-webclient/src/main/html/js-shrine/index.html @@ -1,19 +1,27 @@ <!DOCTYPE html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title></title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <body> <!--[if lt IE 7]> <p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="#">upgrade your browser</a> to improve your experience.</p> <![endif]--> SHRINE PLUGIN Sandbox + <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"> + </script> + <script> + // A $( document ).ready() block. + $( document ).ready(function() { + alert( "SHRINE and jQuery ready!" ); + }); + </script> </body> </html> \ No newline at end of file diff --git a/shrine-webclient/src/main/html/js-shrine/package.json b/shrine-webclient/src/main/html/js-shrine/package.json new file mode 100644 index 000000000..bc1416ba9 --- /dev/null +++ b/shrine-webclient/src/main/html/js-shrine/package.json @@ -0,0 +1,11 @@ +{ + "name": "shrine-plugin", + "version": "1.0.0", + "description": "SHRINE i2b2 plugin", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "author": "‘Ben <benjamin_carmen@hms.harvard.edu>", + "license": "MIT" +}