Project

General

Profile

« Previous | Next » 

Revision 52619

1. FetchProjectHandler.java: Rename 'fetchProjectIdByToken' to 'fetchProjectIdByTokenAndEmail' and create 'public String fetchProjectIdByToken(String token)' method.
2. QueryGenerator.java: Rename 'generateSelectProjectIdByTokenQuery' to 'generateSelectProjectIdByTokenAndEmailQuery'
create 'public String generateSelectProjectIdByTokenQuery(String token, ArrayList<Object> params)' method,
remove 'RETURNING' clause from query of 'generateUpdateClaimCuration' method -
> 'executeUpdateQuery' in 'SqlDAO.java' assumes update queries do not have resultset.

View differences:

ContextUtilsTest.java
28 28
        id="egi::classification::natsc::math::applied";
29 29
        Assert.assertEquals("EGI Federation> EGI classification scheme> Applied Mathematics", ContextUtils.extractLabel(id));
30 30
        id="aginfra::projects";
31
        Assert.assertEquals("AGINFRA+> AGINFRA+ Projects", ContextUtils.extractLabel(id));
31
        Assert.assertEquals("AGINFRA> AGINFRA+ Projects", ContextUtils.extractLabel(id));
32 32
        id="aginfra::projects::1";
33
        Assert.assertEquals("AGINFRA+> AGINFRA+ Projects> European Foodbusiness Transfer Laboratory for stimulating entrepreneurial skills, for fostering innovation and for business creation in the Food Sector", ContextUtils.extractLabel(id));
33
        Assert.assertEquals("AGINFRA> AGINFRA+ Projects> European Foodbusiness Transfer Laboratory for stimulating entrepreneurial skills, for fostering innovation and for business creation in the Food Sector", ContextUtils.extractLabel(id));
34 34

  
35 35
/*
36 36

  

Also available in: Unified diff