Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
dartartem committed Dec 7, 2017
1 parent 90faddd commit 00be2d8
Show file tree
Hide file tree
Showing 25 changed files with 21 additions and 253 deletions.
2 changes: 1 addition & 1 deletion customer-service/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dependencies {
compile project(":customer-web")
compile project(":customer-web-api")

compile "org.springframework.boot:spring-boot-starter-actuator:$springBootVersion"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

import io.eventuate.examples.tram.sagas.ordersandcustomers.customers.domain.Customer;
import io.eventuate.examples.tram.sagas.ordersandcustomers.customers.service.CustomerService;
import io.eventuate.examples.tram.sagas.ordersandcustomers.customers.webapi.CreateCustomerRequest;
import io.eventuate.examples.tram.sagas.ordersandcustomers.customers.webapi.CreateCustomerResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.eventuate.examples.tram.sagas.ordersandcustomers.customers.web;
package io.eventuate.examples.tram.sagas.ordersandcustomers.customers.webapi;

import io.eventuate.examples.tram.sagas.ordersandcustomers.commondomain.Money;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.eventuate.examples.tram.sagas.ordersandcustomers.customers.web;
package io.eventuate.examples.tram.sagas.ordersandcustomers.customers.webapi;


public class CreateCustomerResponse {
Expand Down
3 changes: 0 additions & 3 deletions customer-web/Dockerfile

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

4 changes: 2 additions & 2 deletions end-to-end-tests/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies {
compile project(":customer-web")
compile project(":order-web")
compile project(":customer-web-api")
compile project(":order-web-api")

testCompile "org.springframework.boot:spring-boot-starter-test:${springBootVersion}"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package io.eventuate.examples.tram.sagas.ordersandcustomers.endtoendtests;

import io.eventuate.examples.tram.sagas.ordersandcustomers.commondomain.Money;
import io.eventuate.examples.tram.sagas.ordersandcustomers.customers.web.CreateCustomerRequest;
import io.eventuate.examples.tram.sagas.ordersandcustomers.customers.web.CreateCustomerResponse;
import io.eventuate.examples.tram.sagas.ordersandcustomers.customers.webapi.CreateCustomerRequest;
import io.eventuate.examples.tram.sagas.ordersandcustomers.customers.webapi.CreateCustomerResponse;
import io.eventuate.examples.tram.sagas.ordersandcustomers.orders.domain.OrderState;
import io.eventuate.examples.tram.sagas.ordersandcustomers.orders.web.CreateOrderRequest;
import io.eventuate.examples.tram.sagas.ordersandcustomers.orders.web.CreateOrderResponse;
import io.eventuate.examples.tram.sagas.ordersandcustomers.orders.web.GetOrderResponse;
import io.eventuate.examples.tram.sagas.ordersandcustomers.orders.webapi.CreateOrderRequest;
import io.eventuate.examples.tram.sagas.ordersandcustomers.orders.webapi.CreateOrderResponse;
import io.eventuate.examples.tram.sagas.ordersandcustomers.orders.webapi.GetOrderResponse;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
Expand Down
2 changes: 1 addition & 1 deletion order-service/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dependencies {
compile project(":order-web")
compile project(":order-web-api")

compile "org.springframework.boot:spring-boot-starter-actuator:$springBootVersion"

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
import io.eventuate.examples.tram.sagas.ordersandcustomers.orders.domain.Order;
import io.eventuate.examples.tram.sagas.ordersandcustomers.orders.domain.OrderRepository;
import io.eventuate.examples.tram.sagas.ordersandcustomers.orders.service.OrderService;
import io.eventuate.examples.tram.sagas.ordersandcustomers.orders.webapi.CreateOrderRequest;
import io.eventuate.examples.tram.sagas.ordersandcustomers.orders.webapi.CreateOrderResponse;
import io.eventuate.examples.tram.sagas.ordersandcustomers.orders.webapi.GetOrderResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.eventuate.examples.tram.sagas.ordersandcustomers.orders.web;
package io.eventuate.examples.tram.sagas.ordersandcustomers.orders.webapi;


import io.eventuate.examples.tram.sagas.ordersandcustomers.commondomain.Money;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.eventuate.examples.tram.sagas.ordersandcustomers.orders.web;
package io.eventuate.examples.tram.sagas.ordersandcustomers.orders.webapi;


public class CreateOrderResponse {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.eventuate.examples.tram.sagas.ordersandcustomers.orders.web;
package io.eventuate.examples.tram.sagas.ordersandcustomers.orders.webapi;


import io.eventuate.examples.tram.sagas.ordersandcustomers.orders.domain.OrderState;
Expand Down
3 changes: 0 additions & 3 deletions order-web/Dockerfile

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

4 changes: 2 additions & 2 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ include 'common'
include 'common-swagger'
include 'customer-api'
include 'customer-backend'
include 'customer-web'
include 'customer-web-api'
include 'customer-service'
include 'order-backend'
include 'order-web'
include 'order-web-api'
include 'order-service'
include 'integration-tests'
include 'end-to-end-tests'

0 comments on commit 00be2d8

Please sign in to comment.