|
13 | 13 | * limitations under the License. |
14 | 14 | */ |
15 | 15 |
|
| 16 | +plugins { |
| 17 | + id "com.github.sherter.google-java-format" version "0.3.2" |
| 18 | +} |
| 19 | + |
16 | 20 | apply plugin: 'java' |
17 | 21 | apply from: 'gradle/application.java.gradle' |
18 | 22 |
|
| 23 | + |
19 | 24 | repositories { |
20 | 25 | mavenCentral() |
21 | 26 | maven { |
22 | 27 | url "http://get.openbaton.org:8081/nexus/content/groups/public" |
23 | 28 | } |
| 29 | + // fc dependency |
| 30 | + maven { |
| 31 | + url "https://repository.jboss.org" |
| 32 | + } |
24 | 33 | } |
25 | 34 |
|
26 | 35 | project.ext{ |
@@ -49,49 +58,69 @@ apply from: 'gradle/run.application.java.gradle' |
49 | 58 |
|
50 | 59 | dependencies { |
51 | 60 |
|
52 | | - compile project(':fault-correlator') |
53 | | - compile project(':cli') |
54 | | - compile project(':high-availability') |
55 | | - |
56 | 61 | /** |
57 | 62 | * Spring dependencies |
58 | 63 | */ |
59 | 64 | compile 'org.springframework.boot:spring-boot:'+ springBootVersion |
60 | 65 | compile 'org.springframework.boot:spring-boot-starter-logging:'+ springBootVersion |
61 | 66 |
|
62 | 67 |
|
63 | | - //EnableJPA annotation |
64 | | - compile 'org.springframework.data:spring-data-jpa:1.9.4.RELEASE' |
65 | | - |
66 | 68 | //Rest Annotation in RestRegister |
67 | 69 | compile "org.springframework.boot:spring-boot-starter-web:" + springBootVersion |
68 | 70 |
|
69 | 71 |
|
| 72 | + //fc dependencies start |
70 | 73 |
|
71 | | - //Testing Service in Spring (see PolicyManagerTest) |
72 | | - testCompile 'junit:junit:4.12' |
73 | | - testCompile group: 'junit', name: 'junit', version: '4.11' |
| 74 | + //compile project (':high-availability') |
74 | 75 |
|
75 | | -} |
| 76 | + //Rest Annotation in AlarmReceiverImpl |
| 77 | + compile 'org.springframework.boot:spring-boot-starter-websocket:1.3.3.RELEASE' |
76 | 78 |
|
77 | | -allprojects{ |
78 | | - dependencies { |
79 | | - //Unirest |
80 | | - compile 'com.mashape.unirest:unirest-java:1.3.0' |
| 79 | + // CrudRepository |
| 80 | + //compile 'org.springframework.data:spring-data-jpa:1.9.4.RELEASE' |
| 81 | + compile group: 'org.springframework.data', name: 'spring-data-jpa', version: '1.10.2.RELEASE' |
| 82 | + //compile 'org.hibernate:hibernate-entitymanager:4.3.10.Final' |
| 83 | + compile group: 'org.hibernate', name: 'hibernate-entitymanager', version: '5.1.0.Final' |
81 | 84 |
|
82 | | - /** |
83 | | - * Spring dependencies |
84 | | - */ |
85 | | - compile 'org.springframework.boot:spring-boot:' + springBootVersion |
86 | | - compile 'org.springframework.boot:spring-boot-starter-logging:' + springBootVersion |
| 85 | + compile 'commons-dbcp:commons-dbcp:1.4' |
| 86 | + compile 'mysql:mysql-connector-java:5.1.35' |
| 87 | + compile 'org.aspectj:aspectjweaver:1.8.7' |
87 | 88 |
|
88 | | - //Openbaton |
89 | | - compile 'org.openbaton:monitoring:2.0.1' |
| 89 | + compile 'org.springframework:spring-jdbc' |
| 90 | + compile 'org.springframework.boot:spring-boot-starter-jdbc:1.3.3.RELEASE' |
| 91 | + |
| 92 | + //NFVO Requestor |
| 93 | + compile 'org.openbaton:sdk:2.1.1-SNAPSHOT-fm' /*{ |
| 94 | + exclude module: 'catalogue' |
| 95 | + }*/ |
| 96 | + |
| 97 | + //RABBIT |
| 98 | + compile 'org.springframework.boot:spring-boot-starter-amqp:1.3.3.RELEASE' |
| 99 | + |
| 100 | + //Drools |
| 101 | + compile 'org.kie:kie-spring:6.3.0.Final' |
| 102 | + |
| 103 | + // fc dependencies end |
| 104 | + |
| 105 | + //Unirest |
| 106 | + compile 'com.mashape.unirest:unirest-java:1.3.0' |
| 107 | + |
| 108 | + // cli dependencies start |
| 109 | + compile 'org.springframework.boot:spring-boot:1.3.3.RELEASE' |
| 110 | + compile 'commons-io:commons-io:2.4' |
| 111 | + compile "org.springframework.shell:spring-shell:1.1.0.RELEASE" |
| 112 | + // cli dependencies end |
| 113 | + |
| 114 | + //Openbaton |
| 115 | + compile 'org.openbaton:monitoring:2.1.0' |
| 116 | + |
| 117 | + //Gson |
| 118 | + compile 'com.google.code.gson:gson:2.4' |
| 119 | + |
| 120 | + //Testing Service in Spring (see PolicyManagerTest) |
| 121 | + testCompile 'junit:junit:4.12' |
| 122 | + testCompile group: 'junit', name: 'junit', version: '4.11' |
90 | 123 |
|
91 | | - testCompile 'org.springframework:spring-test:' + springVersion |
92 | | - //Gson |
93 | | - compile 'com.google.code.gson:gson:2.4' |
94 | | - } |
95 | 124 | } |
96 | 125 |
|
97 | 126 |
|
|
0 commit comments