/pricewars-utils

Primary LanguageScalaMIT LicenseMIT

Utils

This repository contains source code that can be shared between Scala services in the pricewars context as the common base for the serialized data that is stored in kafka.

The meta repository containing general information can be found here.

Application Overview

Repo Branch Deployment to Status Description
UI master vm-mpws2016hp1-02.eaalab.hpi.uni-potsdam.de Codeship Status for hpi-epic/pricewars-mgmt-ui Stable
Consumer master vm-mpws2016hp1-01.eaalab.hpi.uni-potsdam.de Codeship Status for hpi-epic/pricewars-consumer Stable
Producer master vm-mpws2016hp1-03.eaalab.hpi.uni-potsdam.de Codeship Status for hpi-epic/pricewars-producer Stable
Marketplace master vm-mpws2016hp1-04.eaalab.hpi.uni-potsdam.de/marketplace Codeship Status for hpi-epic/pricewars-marketplace Stable
Merchant master vm-mpws2016hp1-06.eaalab.hpi.uni-potsdam.de/ Codeship Status for hpi-epic/pricewars-merchant Stable

Requirements

Since this repository is not a standalone application but only contains shared source code, it is only used in the context of the scala projects that are managed in other repositories. This means, that there are no specific requirements for this repository as it is.

Setup

Like mentioned in the previous section, this repository only contains shared source code. To use it in a Scala service, this repository has to be used as a git submodule and in the using project's sbt build file a project reference to the project defined in this repositories sbt build file has to be added.

Concept

The intention of this repository is to have a common base for the serialized data that is stored in kafka for the parts that are developed in Scala. The idea was to reduce the code duplication and potential errors by sharing the definition of how the data is stored between the marketplace service, which sends these as log entries to the shared log, and the flink jobs, which consume these log entries. Currently, the definitions are only used by the analytics part, thus have to be added to the marketplace in future.