summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-02-23feat(#12): Add support for measurement interpolationFabian Mastenbroek
This change adds interpolation functionality to the standard library for instrumentation devices.
2018-02-23feat(#12): Implement Instrumentation API in Omega kernelFabian Mastenbroek
These changes implement the Instrumentation API described in issue #11 into the Omega simulation kernel.
2018-02-23feat(#11): Create Instrumentation APIFabian Mastenbroek
This commit creates the interfaces for the new Instrumentation API described in issue #11. This interface allows users to plug an instrumentation device into a (live) simulation in order extract measurements from the simulation.
2018-02-23refactor(#18): Redesign core simulation APIFabian Mastenbroek
This change contains the redesign of the core simulation API and provides a cleaner interface for developing simulation models for the users. Closes #18
2018-02-19refactor(#18): Simplify Context interfaceFabian Mastenbroek
This change simplifies the `Context` interface to reduce the amount of methods required to implement by implementors.
2018-02-19refactor(#18): Refactor unused transformation receive methodsFabian Mastenbroek
This change removes the unused transformation receive methods from the `Context` class as this functionality can now be easily implemented in the standard library using the newly introduced `sender` property.
2018-02-19bug: Make message priority queue stableFabian Mastenbroek
This change fixes the bug where the insertion order into the message queue was not guaranteed for messages arriving at the same time, causing some non-deterministic behaviour.
2018-02-18refactor(#18): Optimize importsFabian Mastenbroek
2018-02-18refactor(#18): Provide access to process context in nested callsFabian Mastenbroek
This change provides a method in the standard library to access the process context in nested suspending function calls.
2018-02-16refactor(#18): Provide access to latest senderFabian Mastenbroek
This change adds a `sender` property to the `Context` interface to provide processes access to the sender of the latest received message. Please note that methods like `hold()` and `interrupt()` may change the value of this property.
2018-02-16refactor(#18): Fix broken receive() timeoutFabian Mastenbroek
This change fixes the broken implementation of the `receive()` method with a timeout due to an invalid condition.
2018-02-15refactor(#18): Handle process launch using a kernel processFabian Mastenbroek
This change will make the kernel handle the launch of processes using a kernel process that is launched at the start of the simulation and launches processes when it receives `Launch` messages.
2018-02-14refactor(#18): Create distinction between kernel and simulationFabian Mastenbroek
This change creates a distinction between a kernel and a simulation. A single simulation is represented by a `Simulation` object which provides control over the simulation, while the `Kernel` interface allows users to create a new simulation using that kernel as backend.
2018-02-13refactor(#18): Fix OpenDC model deploymentFabian Mastenbroek
This change fixes the deployment of the OpenDC simulation model.
2018-02-12refactor(#18): Launch processes at initial runFabian Mastenbroek
This change will make the simulation kernel launch the processes at the initial run instead of when the processes are registered.
2018-02-12refactor(#18): Align formatting with official Kotlin Style GuideFabian Mastenbroek
This change aligns the code formatting of the project with the official Kotlin Style Guide. They can be found at http://kotlinlang.org/docs/reference/coding-conventions.html.
2018-02-12refactor(#18): Update dependenciesFabian Mastenbroek
This change bumps the version of the dependencies used by the project.
2018-01-11refactor(#18): Redesign core simulation APIFabian Mastenbroek
This change contains the redesign of the core simulation API and provides a cleaner interface for developing simulation models for the users.
2017-10-24bug(#3): Add timeout for experimentsFabian Mastenbroek
This change adds a timeout for experiments, which allows the user to set an upper bound on the duration of an experiment. Closes #3
2017-10-24bug(#4): Prevent scheduling to machines without processing unitsFabian Mastenbroek
This change prevents the currently available scheduler implementations from scheduling tasks to machines without processing units, since these machines cannot perform any work. Closes #4
2017-10-24bug(#15): Fix message passing to stopped processesFabian Mastenbroek
This change fixes a bug where sending a message to a stopped process (gracefully or forced) would crash the simulation kernel with an UninitializedPropertyAccessException. This was caused by the fact that these processes still existed in the registry, which caused the kernel to lookup a non-existent continuation of a process. This change will make the kernel remove stopped processes from the registry, so they cannot be found anymore. Closes #15
2017-10-24bug(#6): Improve Docker deploymentFabian Mastenbroek
This change improves the Docker deployment by moving the build process from runtime to (image) build time. Also, the opendc-integration-jpa module now consists of a core and mysql module, where the mysql module is a specific deployment of the integration.
2017-10-04bug(#9): Fix interference between experimentsFabian Mastenbroek
This change fixes the interference of multiple experiments running at the same time due to some thread unsafe behaviour in the JpaExperimentManager class. The code has now been restructured to solve the issue and fix the thread unsafe behaviour. Closes #9.
2017-10-01chore: Add Travis shield to READMEFabian Mastenbroek
2017-10-01chore: Add Continuous Integration support via TravisFabian Mastenbroek
This change will make Travis CI build the Gradle project and run the test suite when pushing and on pull requests. Closes #7
2017-09-29Steamline Docker integrationFabian Mastenbroek
This change improves the Docker integration by pre-building the application when building the image to prevent having to build the application at runtime.
2017-09-29Add basic smoke testFabian Mastenbroek
This change adds a smoke test to check for some basic failures when running many simulations.
2017-09-29Update READMEGeorgios Andreadis
2017-09-29Rename persistence unit to opendc-simulatorGeorgios Andreadis
Also changes the environment variables of the run-command to reflect the standard followed in the rest of the OpenDC codebase.
2017-09-28Add Dockerfile for the JPA integrationFabian Mastenbroek
This change adds a Dockerfile to the repository which will automatically launch the JPA integration.
2017-09-28Fix host for simulation setupFabian Mastenbroek
2017-09-28Update .gitignore to include gradle-wrapper.jarFabian Mastenbroek
This change updates the .gitignore to include the gradle-wrapper in the repository.
2017-09-28Add thread pool for experiment platformFabian Mastenbroek
2017-09-28Implement JPA integrationFabian Mastenbroek
2017-09-24Allow listening to changes of topologyFabian Mastenbroek
2017-09-24Allow mutation of topology during simulationFabian Mastenbroek
2017-09-21Create simple datacenter experimentFabian Mastenbroek
2017-09-20Allow suspendable processing of message envelopesFabian Mastenbroek
This change allows a process to suspend within a receive block.
2017-09-20Setup integration with JPA frameworkFabian Mastenbroek
This change sets up the JPA integration module which provides integration of the JPA framework with the OpenDC simulator.
2017-09-20Add support for timeouts on receive callsFabian Mastenbroek
This change allows processes to set a timeout when waiting for a message to arrive.
2017-09-20Implement standard task schedulersFabian Mastenbroek
This change implements default tasks scheduling algorithms like FIFO or SRTF and adds them to to the standard library.
2017-09-20Improve simulation time managementFabian Mastenbroek
2017-09-18Refactor and split up code baseFabian Mastenbroek
This change splits up the current code base into three different module: - opendc-core - This module defines the API which you can use to write simulatable entities in a topology. - opendc-omega - This module is the reference implementation of the API defined the `opendc-core` module. - opendc-stdlib - This module provides a standard library of entities which can be used for datacenter simulation.
2017-09-08Make edges a property of a nodeFabian Mastenbroek
This change converts the ingoingEdges() and outgoingEdges() to a property in Kotlin. This better conveys the meaning of the attribute and is more in line with a Kotlin design.
2017-09-08Remove obsolete messaging classesFabian Mastenbroek
This change removes some unused messaging classes, which have become obselete after the design change.
2017-09-08Allow easier construction of graph via TopologyBuilderFabian Mastenbroek
This change allows for easier construction of a topology.
2017-09-08Refactor default Simulator implementationFabian Mastenbroek
This change refactors the default Simulator implementation, reformatting the code, adding input validation and extracting common code.
2017-09-06Implement time jumps to next eventFabian Mastenbroek
This change implements a time jump to the next event in the queue if there are no events scheduled for the current tick.
2017-09-06Move default Simulator into own packageFabian Mastenbroek
This change moves the default Simulator implementation into its own package called 'omega'.
2017-09-06Rename kernel package to simulatorFabian Mastenbroek
This change renames the package named 'kernel' to 'simulator' to better convey the use of this package.