Loading data-discovery/config/Makefile +4 −4 Original line number Diff line number Diff line Loading @@ -3,13 +3,13 @@ DBMS ?= localhost # localhost | pasquale | pasquale-devel AUTH ?= # ia2token | garrtoken | <empty> ################################################################ all: formatresponsefilter.properties authpolicy.properties web.xml discovery.properties all: formatresponsefilter.properties authpolicy.properties web.xml search.properties web.xml: cd web-xml && cat web.xml-begining web.xml-format-filter web.xml-$(AUTH)-filter web.xml-authorization-filter web.xml-servlets web.xml-ending > ../web.xml discovery.properties: discovery.properties.in cat dbms.conf-$(DBMS) discovery.properties.in > $@ search.properties: dbms.conf-$(DBMS) cp dbms.conf-$(DBMS) $@ formatresponsefilter.properties: formatresponsefilter.properties.in cat dbms.conf-$(DBMS) formatresponsefilter.properties.in > $@ Loading @@ -19,4 +19,4 @@ authpolicy.properties: dbms.conf-$(DBMS) .PHONY: clean: -rm -f formatresponsefilter.properties authpolicy.properties discovery.properties web.xml -rm -f formatresponsefilter.properties authpolicy.properties search.properties web.xml data-discovery/config/discovery.properties.indeleted 100644 → 0 +0 −9 Original line number Diff line number Diff line # database with 'surveys' table of metadata used to write VLKB-legacy response.xml #db_uri=jdbc:postgresql://localhost:5432/vialactea #db_schema=datasets #db_user_name=vialactea #db_password=IA2lbt09 data-discovery/src/main/java/vlkb/search/DbPSearch.java +0 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,6 @@ import java.lang.ClassNotFoundException; public class DbPSearch { private static final Logger LOGGER = Logger.getLogger(DbPSearch.class.getName()); //private static final SearchSettings.DBConn dbConn = SearchSettings.getInstance("discovery.properties").dbConn; private DBConn dbConn; //private static final String DB_DRIVER = "org.postgresql.Driver"; Loading data-discovery/src/main/java/vlkb/webapi/SearchServlet.java +1 −1 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ import javax.servlet.http.HttpServletResponse; public class SearchServlet extends javax.servlet.http.HttpServlet { private static final Logger LOGGER = Logger.getLogger("PSearch"); private static final SearchSettings settings = SearchSettings.getInstance("discovery.properties"); private static final SearchSettings settings = SearchSettings.getInstance("search.properties"); public void init() throws ServletException Loading data-discovery/src/main/resources/discovery.properties→data-discovery/src/main/resources/search.properties +0 −0 File moved. View file Loading
data-discovery/config/Makefile +4 −4 Original line number Diff line number Diff line Loading @@ -3,13 +3,13 @@ DBMS ?= localhost # localhost | pasquale | pasquale-devel AUTH ?= # ia2token | garrtoken | <empty> ################################################################ all: formatresponsefilter.properties authpolicy.properties web.xml discovery.properties all: formatresponsefilter.properties authpolicy.properties web.xml search.properties web.xml: cd web-xml && cat web.xml-begining web.xml-format-filter web.xml-$(AUTH)-filter web.xml-authorization-filter web.xml-servlets web.xml-ending > ../web.xml discovery.properties: discovery.properties.in cat dbms.conf-$(DBMS) discovery.properties.in > $@ search.properties: dbms.conf-$(DBMS) cp dbms.conf-$(DBMS) $@ formatresponsefilter.properties: formatresponsefilter.properties.in cat dbms.conf-$(DBMS) formatresponsefilter.properties.in > $@ Loading @@ -19,4 +19,4 @@ authpolicy.properties: dbms.conf-$(DBMS) .PHONY: clean: -rm -f formatresponsefilter.properties authpolicy.properties discovery.properties web.xml -rm -f formatresponsefilter.properties authpolicy.properties search.properties web.xml
data-discovery/config/discovery.properties.indeleted 100644 → 0 +0 −9 Original line number Diff line number Diff line # database with 'surveys' table of metadata used to write VLKB-legacy response.xml #db_uri=jdbc:postgresql://localhost:5432/vialactea #db_schema=datasets #db_user_name=vialactea #db_password=IA2lbt09
data-discovery/src/main/java/vlkb/search/DbPSearch.java +0 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,6 @@ import java.lang.ClassNotFoundException; public class DbPSearch { private static final Logger LOGGER = Logger.getLogger(DbPSearch.class.getName()); //private static final SearchSettings.DBConn dbConn = SearchSettings.getInstance("discovery.properties").dbConn; private DBConn dbConn; //private static final String DB_DRIVER = "org.postgresql.Driver"; Loading
data-discovery/src/main/java/vlkb/webapi/SearchServlet.java +1 −1 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ import javax.servlet.http.HttpServletResponse; public class SearchServlet extends javax.servlet.http.HttpServlet { private static final Logger LOGGER = Logger.getLogger("PSearch"); private static final SearchSettings settings = SearchSettings.getInstance("discovery.properties"); private static final SearchSettings settings = SearchSettings.getInstance("search.properties"); public void init() throws ServletException Loading
data-discovery/src/main/resources/discovery.properties→data-discovery/src/main/resources/search.properties +0 −0 File moved. View file