Project

General

Profile

1
## Required Actions 
2

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