Skip to content

Commit

Permalink
Shippingservice rust (#179)
Browse files Browse the repository at this point in the history
* functional 0.0.1 rust shipping service 

Co-authored-by: Juliano Costa <julianocosta89@outlook.com>
  • Loading branch information
GaryPWhite and julianocosta89 committed Jul 13, 2022
1 parent 7cc6bf7 commit e554195
Show file tree
Hide file tree
Showing 23 changed files with 1,894 additions and 4,259 deletions.
38 changes: 38 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
.github
docs
internal

###################################
# shippingservice
./src/shippingservice/target
###################################

###################################
# currencyservice
./src/currencyservice/client.js
./src/currencyservice/node_modules/
###################################

###################################
# featureflagservice
# Common development/test artifacts
./src/featureflagservice/cover/
./src/featureflagservice/doc/
./src/featureflagservice/test/
./src/featureflagservice/tmp/
./src/featureflagservice/.elixir_ls

# Mix artifacts
./src/featureflagservice/_build/
./src/featureflagservice/deps/
./src/featureflagservice/*.ez

# Generated on crash by the VM
./src/featureflagservice/erl_crash.dump

# Static artifacts - These should be fetched and built inside the Docker image
./src/featureflagservice/assets/node_modules/
./src/featureflagservice/priv/static/assets/
./src/featureflagservice/priv/static/cache_manifest.json
###################################

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ obj/
.idea/
build/
node_modules/
src/shippingservice/target/
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ significant modifications will be credited to OpenTelemetry Authors.
([#26](https://github.com/open-telemetry/opentelemetry-demo-webstore/pull/26))
* Added span attributes to frontend service
([#82](https://github.com/open-telemetry/opentelemetry-demo-webstore/pull/82))
* Re-implemented email service using Ruby
([#109](https://github.com/open-telemetry/opentelemetry-demo-webstore/pull/109))
* Rewrote shipping service in Rust
([#35](https://github.com/open-telemetry/opentelemetry-demo-webstore/issues/35))
* Added feature flag service implementation
([#141](https://github.com/open-telemetry/opentelemetry-demo-webstore/pull/141))
* Added additional attributes to productcatalog service
Expand Down
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ services:
image: ${IMAGE_NAME}:${IMAGE_VERSION}-shippingservice
container_name: shipping-service
build:
context: ./src/shippingservice
context: ./
dockerfile: ./src/shippingservice/Dockerfile
ports:
- "${SHIPPING_SERVICE_PORT}"
environment:
Expand Down
2 changes: 1 addition & 1 deletion src/loadgenerator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM python:3.10-slim AS base
FROM python:3.10 AS base

WORKDIR /usr/src/app/

Expand Down
3 changes: 2 additions & 1 deletion src/shippingservice/.dockerignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
vendor/
target/
Dockerfile
Loading

0 comments on commit e554195

Please sign in to comment.