1
|
#OpenAire Dashboard
|
2
|
[![N|Solid](https://www.openaire.eu/images/site_images/OpenAIREplus_logo.png)](https://www.openaire.eu/)
|
3
|
|
4
|
## Required Actions
|
5
|
|
6
|
### Required Properties
|
7
|
Create a new dnet-override.properties file in the lib/ folder of the tomcat installation.
|
8
|
|
9
|
The properties file must contain the exist properties.
|
10
|
```properties
|
11
|
# Container properties
|
12
|
container.hostname = localhost
|
13
|
container.port = 8080
|
14
|
|
15
|
# IS Service
|
16
|
ISLookUpService.url = http://node6.t.openaire.research-infrastructures.eu:8280/is/services/isLookUp
|
17
|
ISRegistryService.url = http://node6.t.openaire.research-infrastructures.eu:8280/is/services/isRegistry
|
18
|
ISSNService.url = http://node6.t.openaire.research-infrastructures.eu:8280/is/services/isSN
|
19
|
|
20
|
# Users Service
|
21
|
services.users.ldap.address = 194.177.192.119
|
22
|
services.users.ldap.port = 389
|
23
|
services.users.ldap.username = cn=admin,dc=openaire,dc=eu
|
24
|
services.users.ldap.password = {password}
|
25
|
services.users.ldap.usersDN = ou=users,dc=openaire,dc=eu
|
26
|
|
27
|
# Broker Service
|
28
|
services.broker.url = http://broker1-dev-dnet.d4science.org
|
29
|
services.broker.port = 8080
|
30
|
services.broker.api = api/
|
31
|
services.broker.openaire = openaireBroker
|
32
|
|
33
|
```
|
34
|
|
35
|
|
36
|
### Required files
|
37
|
|
38
|
1. copy the [xercesImpl-2.9.0.jar](http://central.maven.org/maven2/xerces/xercesImpl/2.9.0/xercesImpl-2.9.0.jar)
|
39
|
in the lib/ folder of the tomcat installation.
|
40
|
|
41
|
## Required Maven Settings
|
42
|
|
43
|
Create a new maven settings.xml file containing the repositories for the dnet dependencies.
|
44
|
```
|
45
|
<profile>
|
46
|
<id>dnet4.0</id>
|
47
|
<activation>
|
48
|
<activeByDefault> true </activeByDefault>
|
49
|
</activation>
|
50
|
<repositories>
|
51
|
<repository>
|
52
|
<id>dnet4-bootstrap-snapshot</id>
|
53
|
<name>D-Net 4 Bootstrap Snapshot</name>
|
54
|
<url>
|
55
|
http://maven.research-infrastructures.eu/nexus/content/repositories/dnet4-bootstrap-snapshot
|
56
|
</url>
|
57
|
<releases>
|
58
|
<enabled>false</enabled>
|
59
|
</releases>
|
60
|
<snapshots>
|
61
|
<enabled>true</enabled>
|
62
|
</snapshots>
|
63
|
<layout>default</layout>
|
64
|
</repository>
|
65
|
<repository>
|
66
|
<id>dnet4-bootstrap-release</id>
|
67
|
<name>D-Net 4 Bootstrap Release</name>
|
68
|
<url>
|
69
|
http://maven.research-infrastructures.eu/nexus/content/repositories/dnet4-bootstrap-release
|
70
|
</url>
|
71
|
<releases>
|
72
|
<enabled>true</enabled>
|
73
|
</releases>
|
74
|
<snapshots>
|
75
|
<enabled>false</enabled>
|
76
|
</snapshots>
|
77
|
<layout>default</layout>
|
78
|
</repository>
|
79
|
</repositories>
|
80
|
</profile>
|
81
|
```
|
82
|
## Maven
|
83
|
|
84
|
### generate-sources phase
|
85
|
It generates the required async classes for gwt to work.
|
86
|
|
87
|
### package phase
|
88
|
<sup><sup>It includes the generate-sources phase in accordance to maven.</sup></sup>
|
89
|
|
90
|
It creates the .war application file for tomcat to run.
|
91
|
|