Revision 51030
Added by Panagiotis Kanakakis about 6 years ago
RepositoryServiceImpl.java | ||
---|---|---|
1 | 1 |
package eu.dnetlib.repo.manager.server.services; |
2 | 2 |
|
3 |
import com.fasterxml.jackson.databind.DeserializationConfig; |
|
4 | 3 |
import com.fasterxml.jackson.databind.ObjectMapper; |
5 |
import com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException; |
|
6 |
import com.unboundid.util.Base64; |
|
7 | 4 |
import eu.dnetlib.domain.data.PiwikInfo; |
8 | 5 |
import eu.dnetlib.domain.data.Repository; |
9 | 6 |
import eu.dnetlib.domain.data.RepositoryInterface; |
... | ... | |
13 | 10 |
import eu.dnetlib.repo.manager.client.services.RepositoryService; |
14 | 11 |
import eu.dnetlib.repo.manager.server.utils.EmailUtils; |
15 | 12 |
import eu.dnetlib.repo.manager.server.utils.LocalVocabularies; |
16 |
import eu.dnetlib.domain.data.PiwikInfo; |
|
17 | 13 |
import eu.dnetlib.repo.manager.service.controllers.RepositoryApi; |
18 | 14 |
import eu.dnetlib.repo.manager.shared.*; |
19 | 15 |
import eu.dnetlib.repos.RepoApi; |
... | ... | |
23 | 19 |
import org.apache.commons.lang.WordUtils; |
24 | 20 |
import org.apache.log4j.Logger; |
25 | 21 |
import org.json.JSONException; |
26 |
import org.json.JSONObject; |
|
27 | 22 |
import org.springframework.beans.factory.annotation.Autowired; |
28 | 23 |
import org.springframework.beans.factory.annotation.Value; |
29 | 24 |
import org.springframework.core.ParameterizedTypeReference; |
... | ... | |
41 | 36 |
import java.io.IOException; |
42 | 37 |
import java.io.UnsupportedEncodingException; |
43 | 38 |
import java.net.URLEncoder; |
44 |
import java.text.Normalizer; |
|
45 | 39 |
import java.util.*; |
46 | 40 |
import java.util.concurrent.ConcurrentHashMap; |
47 | 41 |
import java.net.URL; |
... | ... | |
722 | 716 |
|
723 | 717 |
return null; |
724 | 718 |
} |
719 |
|
|
720 |
@Override |
|
721 |
public Aggregations getRepositoryAggregations(String repoId) throws Exception { |
|
722 |
return repositoryApi.getRepositoryAggregations(repoId); |
|
723 |
} |
|
725 | 724 |
} |
Also available in: Unified diff
1. Properties file changes.
2. Aggregation details / aggregation object add.
3. Other changes from stef