Skip to content
Permalink
Browse files

added lombok, fixed project code style

  • Loading branch information...
jfractalus authored and gta committed Mar 14, 2019
1 parent eb8ccc2 commit 8cef0367694d0d75d71bad82befb11c6d1ff6006
@@ -1,13 +1,34 @@
# Editor configuration, see http://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
max_line_length = off
trim_trailing_whitespace = false

[*.java]
indent_style = space
indent_size = 4
continuation_indent_size = 4

[*.{js,css,html}]
indent_style = space
indent_size = 4
insert_final_newline = false

[*.yml]
indent_style = space
indent_size = 2

[*.json]
indent_style = space
indent_size = 2

[*.xml]
indent_style = space
indent_size = 4
@@ -1,122 +1,138 @@
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>de.adorsys.psd2.sandbox</groupId>
<artifactId>online-banking</artifactId>
<version>0.2-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>online-banking-app</artifactId>
<name>online-banking-app</name>

<properties>
<ruleset.basedir>../..</ruleset.basedir>
</properties>

<dependencies>
<!-- project dependencies -->
<dependency>
<groupId>de.adorsys.ledgers</groupId>
<artifactId>ledgers-utils</artifactId>
<version>${ledgers.version}</version>
</dependency>
<dependency>
<groupId>de.adorsys.ledgers</groupId>
<artifactId>ledgers-middleware-rest-client</artifactId>
<version>${ledgers.version}</version>
</dependency>
<dependency>
<groupId>de.adorsys.ledgers</groupId>
<artifactId>oba-rest-api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>de.adorsys.ledgers</groupId>
<artifactId>consent-psu-rest-client</artifactId>
<version>${project.version}</version>
</dependency>

<!-- spring dependencies -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId>
<version>2.0.2.RELEASE</version>
</dependency>
<!-- Sprinfox and swagger UI -->
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
</dependency>
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
</dependency>
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger-ui</artifactId>
</dependency>

<!-- Other dependencies -->
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>de.adorsys.psd2.sandbox</groupId>
<artifactId>online-banking</artifactId>
<version>0.2-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>online-banking-app</artifactId>
<name>online-banking-app</name>

<properties>
<ruleset.basedir>../..</ruleset.basedir>
</properties>

<dependencies>
<!-- project dependencies -->
<dependency>
<groupId>de.adorsys.ledgers</groupId>
<artifactId>ledgers-utils</artifactId>
<version>${ledgers.version}</version>
</dependency>

<dependency>
<groupId>de.adorsys.ledgers</groupId>
<artifactId>ledgers-middleware-rest-client</artifactId>
<version>${ledgers.version}</version>
</dependency>

<dependency>
<groupId>de.adorsys.ledgers</groupId>
<artifactId>oba-rest-api</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>de.adorsys.ledgers</groupId>
<artifactId>consent-psu-rest-client</artifactId>
<version>${project.version}</version>
</dependency>

<!-- spring dependencies -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
<scope>runtime</scope>
</dependency>

<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId>
<version>2.0.2.RELEASE</version>
</dependency>

<!-- Sprinfox and swagger UI -->
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
</dependency>

<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
</dependency>

<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger-ui</artifactId>
</dependency>

<!-- Other dependencies -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
<groupId>com.nimbusds</groupId>
<artifactId>nimbus-jose-jwt</artifactId>
</dependency>

<!-- logging dependencies -->
<!-- test dependencies -->

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<finalName>${project.artifactId}</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.1.1.RELEASE</version>
<configuration>
<mainClass>de.adorsys.ledgers.oba.rest.server.LedgersXs2aObaApplication</mainClass>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

<dependency>
<groupId>com.nimbusds</groupId>
<artifactId>nimbus-jose-jwt</artifactId>
</dependency>

<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>

<!-- logging dependencies -->
<!-- test dependencies -->

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<finalName>${project.artifactId}</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.1.1.RELEASE</version>
<configuration>
<mainClass>de.adorsys.ledgers.oba.rest.server.LedgersXs2aObaApplication</mainClass>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

</project>

@@ -16,20 +16,17 @@

package de.adorsys.ledgers.oba.rest.server;

import de.adorsys.ledgers.middleware.client.rest.AccountRestClient;
import org.adorsys.ledgers.consent.aspsp.rest.client.CmsAspspPiisClient;
import org.adorsys.ledgers.consent.psu.rest.client.CmsPsuPisClient;
import org.adorsys.ledgers.consent.xs2a.rest.client.AspspConsentDataClient;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

import de.adorsys.ledgers.middleware.client.rest.AccountRestClient;

@EnableFeignClients(basePackageClasses= {AccountRestClient.class, CmsPsuPisClient.class, AspspConsentDataClient.class, CmsAspspPiisClient.class})
@SpringBootApplication
@EnableAutoConfiguration
@ComponentScan( basePackages="de.adorsys.ledgers.oba")
public class LedgersXs2aObaApplication {
public static void main(String[] args) {

0 comments on commit 8cef036

Please sign in to comment.
You can’t perform that action at this time.