Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit f37d782

Browse files
committed
updated to use existing data source name for BUGS.
1 parent 6441870 commit f37d782

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

resources/DBMS.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ TRUVEO_DATASOURCE_NAME = java:JTS_TRUVEO_OLTP
2222
AOLICQ_DATASOURCE_NAME = java:JTS_AOLICQ_OLTP
2323
WINFORMULA_DATASOURCE_NAME = java:JTS_WINFORMULA_OLTP
2424
CSF_DATASOURCE_NAME = java:JTS_CSF_OLTP
25-
JIRA_MYSQL_DATASOURCE_NAME = java:BUGS
25+
JIRA_DATASOURCE_NAMEE = java:BUGS
2626

2727
CONTEST_ADMIN_DATASOURCE = java:OLTP
2828

src/main/com/topcoder/web/query/common/Constants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ public static void init(ServletConfig servletConfig) {
182182
DB_LIST.add(new DatabaseBean(DBMS.WINFORMULA_DATASOURCE_NAME, "Winning Formula"));
183183
DB_LIST.add(new DatabaseBean("java:/PIPELINE", "Pipeline"));
184184
DB_LIST.add(new DatabaseBean("java:/BUGS", "Jira"));
185-
DB_LIST.add(new DatabaseBean(DBMS.JIRA_MYSQL_DATASOURCE_NAME, "Jira MySQL"));
185+
DB_LIST.add(new DatabaseBean(DBMS.JIRA_DATASOURCE_NAME, "Jira"));
186186
/*
187187
DB_LIST.add(new DatabaseBean("java:/GOOGLE_OLTP", "Google"));
188188
DB_LIST.add(new DatabaseBean("java:/GOOGLE_DW", "Google DW"));

src/main/com/topcoder/web/tc/controller/request/bugrace/ViewActiveBugRaces.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ protected void businessProcessing() throws Exception {
6464
s.addDefault(5, "desc"); // Active Since
6565
getRequest().setAttribute(SortInfo.REQUEST_KEY, s);
6666

67-
DataAccessInt dai = getDataAccess(DBMS.JIRA_MYSQL_DATASOURCE_NAME, true);
67+
DataAccessInt dai = getDataAccess(DBMS.JIRA_DATASOURCE_NAME, true);
6868
Map result = dai.getData(dataRequest);
6969

7070
ResultSetContainer rsc = (ResultSetContainer) result.get(dataRequest.getContentHandle());

0 commit comments

Comments
 (0)