Project

General

Profile

« Previous | Next » 

Revision 58341

ClaimEntity: Add information about the dashboard where the claim was created

Properties:
add properties for the different services
create beans properly
production or beta is decided from the services urls in properties

Migration:
create migration method: CopyFromBetaToProduction for communities

View differences:

FetchClaimHandler.java
124 124
        ResultSet rs = sqlDAO.executePreparedQuery(query, params);
125 125
        return fetchClaimsByResultSet(rs, addCurationInfo);
126 126
    }
127

  
128
    public List<Claim> fetchClaimsByDateForDashboards(String dateFrom, String dataTo, Integer limit, Integer offset, boolean addCurationInfo, ArrayList<String> dashboards) throws Exception, SQLStoreException {
129
        ArrayList<Object> params = new ArrayList<>();
130
        String query = queryGenerator.generateFetchClaimsByDateForDashboards(dateFrom, dataTo, limit, offset,null, "claim.claim_date", true,new ArrayList<String>(), params, dashboards);
131
        ResultSet rs = sqlDAO.executePreparedQuery(query, params);
132
        return fetchClaimsByResultSet(rs, addCurationInfo);
133
    }
127 134
    /**
128 135
     *
129 136
     * @param dateFrom

Also available in: Unified diff