Giter Site home page Giter Site logo

dependency-challenge's Introduction

Backend Coding Challenge: Module Dependency Challenge

ProjectStructure

This Spring-Boot-Project consists of three Submodules (inquiry, notification and application). The notification-Module depends on the inquiry-Module. The application depends on both and serves as Spring boot Mainmodule.

The InquiryTest calls InquiryService#create(Inquiry) and checks wether the methods EmailHandler#sendEmail(Inquiry) and PushNotificationHandler#sendNotification have been called with the same parameters.

Acceptance Criteria:

  • After an Inquiry has been creaed, EmailHandler#sendEmail(Inquiry) and PushNotificationHandler#sendNotification have to be executed
  • the InquiryTest has to be successful

general conditions:

  • the classes Inquiry, InquiryTest and Application shall not be modified.
  • the existing classes shall not be moved between the modules.
  • the dependencies between the modules shall not be customized.
  • Any other gradle dependencies can be added.

--- German -----------------------------------------------

Projektaufbau:

Dieses Spring-Boot-Projekt besteht aus drei Submodulen (inquiry, notification und application). Das notification-Modul ist vom inquiry-Modul abhängig. Das application ist von beiden abhängig und dient als Spring boot Hauptmodul.

Der InquiryTest ruft InquiryService#create(Inquiry) auf und prüft, ob die Methoden EmailHandler#sendEmail(Inquiry) und PushNotificationHandler#sendNotification mit dem gleichen Parameter aufgerufen wurden.

Akzeptanzkritieren:

  • Nach dem eine Inquiry erstellt wird, muss EmailHandler#sendEmail(Inquiry) und PushNotificationHandler#sendNotification ausgeführt werden.
  • Der InquiryTest muss erfolgreich sein

Rahmenbedingungen:

  • Die Klassen Inquiry, InquiryTest und Application dürfen nicht modifiziert werden.
  • Die bestehenden Klassen dürfen nicht zwischen den Modulen verschoben werden
  • Die Abhängigkeiten zwischen den Modulen dürfen nicht angepasst werden.
  • Ansonsten können beliebige gradle dependencies hinzugefügt werden.

dependency-challenge's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.