Skip to content

Commit a5b9212

Browse files
Merge branch 'main' of github.com:Dynatrace/easytrade into LIMA-27098-pipeline
2 parents 5490298 + fd83f05 commit a5b9212

File tree

19 files changed

+202
-8
lines changed

19 files changed

+202
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ To deploy Easytrade in kubernetes you need to have:
8383
kubectl create namespace easytrade
8484

8585
# then use the manifests to deploy
86-
kubectl -n easytrade apply -f ./kubernetes-manifests
86+
kubectl -n easytrade apply -f ./kubernetes-manifests/release
8787

8888
# Optional: if you want the problem patterns to be automatically
8989
# enabled once a day, deploy these manifests too
@@ -144,7 +144,7 @@ curl -X PUT "http://{IP_ADDRESS}/feature-flag-service/v1/flags/{FEATURE_ID}/" \
144144

145145
You can also manage enabled problem patterns via the easyTrade frontend.
146146

147-
> **NOTE:** More information on the feature flag service's parameters available in [feature flag service's doc](./docs/featureflagservice.md).
147+
> **NOTE:** More information on the feature flag service's parameters available in [feature flag service's doc](src/feature-flag-service/README.md).
148148
149149
If you are deploying easyTrade on K8s, you can also apply [these cronjobs](./kubernetes-manifests/problem-patterns/), which will enable the problem patterns once a day.
150150

@@ -170,9 +170,9 @@ can also handle XML requests. Data types are negotiated based on `Accept` and `C
170170

171171
#### XML compatible services
172172

173-
| Service | Accepted XML MIME types |
174-
| ------------------------------------------------------------- | -------------------------------------------------- |
175-
| [LoginService](./docs/loginservice.md) | `application/xml`; `text/xml`; `application/*+xml` |
176-
| [CreditCardOrderService](./docs/credit-card-order-service.md) | `application/xml` |
177-
| [OfferService](./docs/offerservice.md) | `application/xml`; `text/xml` |
178-
| [PricingService](./docs/pricing-service.md) | `application/xml` |
173+
| Service | Accepted XML MIME types |
174+
| ----------------------------------------------------------------- | -------------------------------------------------- |
175+
| [LoginService](src/loginservice/README.md) | `application/xml`; `text/xml`; `application/*+xml` |
176+
| [CreditCardOrderService](src/credit-card-order-service/README.md) | `application/xml` |
177+
| [OfferService](src/offerservice/README.md) | `application/xml`; `text/xml` |
178+
| [PricingService](src/pricing-service/README.md) | `application/xml` |

src/accountservice/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ A java rest service with swagger. It allows to get and update account data.
77
- Docker
88
- Java
99

10+
## Local build instructions
11+
12+
```bash
13+
docker build -t IMAGE_NAME .
14+
docker run -d --name SERVICE_NAME IMAGE_NAME
15+
```
16+
1017
## Endpoints or logic
1118

1219
### Swagger

src/aggregator-service/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ Golang service simulating many aggregators. Each platform fetches data from the
77
- Go
88
- Docker
99

10+
## Local build instructions
11+
12+
```bash
13+
docker build -t IMAGE_NAME .
14+
docker run -d --name SERVICE_NAME IMAGE_NAME
15+
```
16+
1017
## Configuration
1118

1219
This service can be configured with a YAML file. Default location is `/app/config.yaml`. You can mount your own file to the container.

src/broker-service/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ This service is used to manage accounts' balances and process trades.
77
- .NET 8 (ASP.NET Core)
88
- Docker
99

10+
## Local build instructions
11+
12+
```bash
13+
docker build -t IMAGE_NAME .
14+
docker run -d --name SERVICE_NAME IMAGE_NAME
15+
```
16+
1017
## Endpoints or logic
1118

1219
### Swagger

src/calculationservice/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ C++ service that reads some data from RabbitMQ and puts the result on the defaul
88
- C++
99
- RabbitMQ
1010

11+
## Local build instructions
12+
13+
```bash
14+
docker build -t IMAGE_NAME .
15+
docker run -d --name SERVICE_NAME IMAGE_NAME
16+
```
17+
1118
## Logic
1219

1320
Service runs an endless loop that that tries to consume data from the message queue each 15 seconds.

src/contentcreator/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ Java service that creates the pricing data each minute.
99
- SQL
1010
- Stock exchange information - candle data
1111

12+
## Local build instructions
13+
14+
```bash
15+
docker build -t IMAGE_NAME .
16+
docker run -d --name SERVICE_NAME IMAGE_NAME
17+
```
18+
1219
## Logic
1320

1421
1. **ONCE:** Clear the database.

src/credit-card-order-service/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ A java service that lets the user order/remove a credit card for their account.
88
- Docker
99
- MSSql
1010

11+
## Local build instructions
12+
13+
```bash
14+
docker build -t IMAGE_NAME .
15+
docker run -d --name SERVICE_NAME IMAGE_NAME
16+
```
17+
1118
## Endpoints or logic
1219

1320
### Swagger

src/db/README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,24 @@ MSSQL database service
99
- Bash scripts
1010
- JSON
1111

12+
## Local build instructions
13+
14+
```bash
15+
# by default db will start on port 1433
16+
17+
docker build -t easytradedb .
18+
docker run -d --name db easytradedb
19+
20+
# running with default password passed in ENV
21+
docker run -d --env SA_PASSWORD=yourStrong(!)Password --name db easytradedb
22+
```
23+
24+
If you want the service to work properly, you should try setting these ENV variables:
25+
26+
| Name | Description | Default |
27+
| ----------- | --------------------- | --------------------- |
28+
| SA_PASSWORD | the database password | yourStrong(!)Password |
29+
1230
## Logic
1331

1432
### DB initialization

src/engine/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ Right now it only tries to finalize long running transactions each 60 seconds.
88
- Docker
99
- Java
1010

11+
## Local build instructions
12+
13+
```bash
14+
docker build -t IMAGE_NAME .
15+
docker run -d --name SERVICE_NAME IMAGE_NAME
16+
```
17+
1118
## Endpoints
1219

1320
### Swagger

src/feature-flag-service/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ A java rest service with swagger. It allows to get and update feature flag data.
77
- Java
88
- Docker
99

10+
## Local build instructions
11+
12+
```bash
13+
docker build -t IMAGE_NAME .
14+
docker run -d --name SERVICE_NAME IMAGE_NAME
15+
```
16+
1017
## Endpoints or logic
1118

1219
### Swagger

0 commit comments

Comments
 (0)