Project

General

Profile

« Previous | Next » 

Revision 62942

Added by Michele Artini 11 months ago

new fields in api response

View differences:

applicationContext-dnet-openaire-datasource-manager.xml
39 39
				<bean class="eu.dnetlib.enabling.datasources.DbBrowsableField"
40 40
					p:id="fulltextdownload" p:label="Fulltext download"
41 41
					p:sql="select d.fulltextdownload as term, count(*) as count from dsm_api a left outer join dsm_services d on (a.service = d.id) group by d.fulltextdownload order by count desc" />
42
				<bean class="eu.dnetlib.enabling.datasources.DbBrowsableField"
43
					p:id="collbackend" p:label="Last Collection Backend"
44
					p:sql="select t.term, count(*) from (select CASE WHEN last_collection_mdid LIKE 'md-%' THEN 'HDFS' ELSE 'MONGO' END as term from dsm_api where last_collection_mdid is not null) as t group by t.term order by count desc" />			
42 45
			</list>
43 46
		</property>
44 47
	</bean>

Also available in: Unified diff