File tree Expand file tree Collapse file tree 2 files changed +0
-15
lines changed
src/main/java/org/mskcc/cbio/oncokb Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ public class ApplicationProperties {
2222 private String name ;
2323 private String baseUrl = "" ;
2424 private String apiProxyUrl ;
25- private String apiProxyGermlineUrl ;
2625 private SlackProperties slack ;
2726 private ProjectProfile profile ;
2827 private Boolean sitemapEnabled ;
@@ -63,14 +62,6 @@ public void setApiProxyUrl(String apiProxyUrl) {
6362 this .apiProxyUrl = apiProxyUrl ;
6463 }
6564
66- public String getApiProxyGermlineUrl () {
67- return apiProxyGermlineUrl ;
68- }
69-
70- public void setApiProxyGermlineUrl (String apiProxyGermlineUrl ) {
71- this .apiProxyGermlineUrl = apiProxyGermlineUrl ;
72- }
73-
7465 public SlackProperties getSlack () { return slack ; }
7566
7667 public void setSlack ( SlackProperties slack ) { this .slack = slack ; }
Original file line number Diff line number Diff line change 22
33import org .apache .commons .lang3 .StringUtils ;
44import org .mskcc .cbio .oncokb .config .application .ApplicationProperties ;
5- import org .mskcc .cbio .oncokb .security .SecurityUtils ;
65import org .slf4j .Logger ;
76import org .slf4j .LoggerFactory ;
87import org .springframework .beans .factory .annotation .Autowired ;
@@ -30,11 +29,6 @@ public class ApiProxyService {
3029 public URI prepareURI (HttpServletRequest request ) throws URISyntaxException {
3130 String queryString = request .getQueryString ();
3231 String defaultApiProxyUrl = applicationProperties .getApiProxyUrl ();
33- String germlineParam = request .getParameter ("germline" );
34- if (germlineParam != null && Boolean .TRUE .equals (Boolean .parseBoolean (germlineParam ))
35- && SecurityUtils .isAuthenticated () && StringUtils .isNotEmpty (applicationProperties .getApiProxyGermlineUrl ())) {
36- defaultApiProxyUrl = applicationProperties .getApiProxyGermlineUrl ();
37- }
3832 return new URI (defaultApiProxyUrl + request .getRequestURI () + (queryString == null ? "" : "?" + queryString ));
3933 }
4034
You can’t perform that action at this time.
0 commit comments