Revision 50268
Added by Michele Artini over 6 years ago
applicationContext-dnet-openaire-datasource-manager.xml | ||
---|---|---|
32 | 32 |
p:sql="select coalesce(a.compatibility_override, a.compatibility) as term, count(*) as count from dsm_api a group by coalesce(a.compatibility_override, a.compatibility) order by count desc" /> |
33 | 33 |
<bean class="eu.dnetlib.enabling.datasources.DbBrowsableField" |
34 | 34 |
p:id="active" p:label="API activation" |
35 |
p:sql="select a.active as term, count(*) as count from dsm_api a group by a.active order by count desc" |
|
36 |
p:text="false" /> |
|
35 |
p:sql="select a.active as term, count(*) as count from dsm_api a group by a.active order by count desc" /> |
|
37 | 36 |
</list> |
38 | 37 |
</property> |
39 | 38 |
</bean> |
... | ... | |
42 | 41 |
class="eu.dnetlib.enabling.datasources.DatasourceManagerClients"> |
43 | 42 |
<property name="jdbcTemplate"> |
44 | 43 |
<bean class="org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate"> |
45 |
<property name="dataSource">
|
|
44 |
<constructor-arg>
|
|
46 | 45 |
<bean class="org.springframework.jdbc.datasource.DriverManagerDataSource" |
47 | 46 |
p:driverClassName="org.postgresql.Driver" p:url="${dnet.openaire.db.url}" |
48 | 47 |
p:username="${dnet.openaire.db.username}" p:password="${dnet.openaire.db.password}" /> |
49 |
</property>
|
|
48 |
</constructor-arg>
|
|
50 | 49 |
</bean> |
51 | 50 |
</property> |
52 | 51 |
</bean> |
Also available in: Unified diff
some fix (maven versions, properties, appContexts)