Code Monkey home page Code Monkey logo

datacentersimulator's People

Contributors

coelhudo avatar fnorouz avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

datacentersimulator's Issues

Improve DataCenter abstraction

Currently, the Data Center abstraction is not strong. The hierarchy is not enforced. It is controlled just by ID (ex.: BladeServer has a reference to Rack ID and Chassis ID). The ideal approach is, in my opinion, have an explicit hierarchy by composition.

DataCenter has Racks. Rack has Chassis. Chassis has servers.

Also, this is going to be useful for presentation in the frontend.

Create a class to handle job loading

Currently each *System class and EnterpriseApp has access to a BufferedReader instance. Every time a job is requested the file (that is in memory already) is read again, which can cause exceptions, among other bad things, like file mal formation.

A class designed to handle this can read (and fail as soon as possible) the jobs before the simulation starts.

Create package integration tests

Create integration tests packages to separate some tests from the current unit tests.

  • Update Maven pom.xml file and travis configuration file.

BatchJobTest

Implement tests to characterize BatchJob class. Then it will be possible to finish BladeServerTest.

POD validator

If a field is not set, then the POD will be considered invalid and the app will explode ASAP.

Builders build only POD not the instance of each element of the simulator

Today builders are responsible for creating instances of simulator data center elements. Builders are heavily dependent on XML.
To decrease this dependence, builders will only build PODs. Then this PODs will be used to create instances of simulator data center elements.
This will allow integration tests creation without depend on XML files (or streams).

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.