summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-05-14feat: Add behavior constructor for timeoutFabian Mastenbroek
This change adds a Behavior constructor for delaying the construction of another Behavior instance.
2019-05-14feat: Add support for watching actor terminationFabian Mastenbroek
This change adds support for tracking termination of actors in the system.
2019-05-14style: Format code according to Ktlint style guideFabian Mastenbroek
This change formats the code according to the style guide of Ktlint.
2019-05-14feat: Add support for timersFabian Mastenbroek
This change adds support for timers in Behavior, in order to simplify sending messages to the `self` actor.
2019-05-14feat: Improve DSL for building BehaviorsFabian Mastenbroek
This change adds methods to improve the composability of multiple Behaviors, such as joining together two behaviors. Furthermore, this change adds methods for juggling with Behavior message types.
2019-05-14feat: Add testkit for testing behaviorFabian Mastenbroek
This change adds a testkit for synchronously testking Behavior implementations.
2019-05-14feat: Provide per-actor loggingFabian Mastenbroek
This change adds an actor-specific logging instance to ActorContext, which allows consumers to log messages via the SLF4J API.
2019-05-13feat: Add proper identify implementation for ActorRefFabian Mastenbroek
2019-05-13feat: Add support for ActorSystem terminationFabian Mastenbroek
This change adds support for terminating an ActorSystem.
2019-05-13chore: Migrate to Kotlin DSL for GradleFabian Mastenbroek
This change migrates the build configuration for Gradle in Groovy to Kotlin, where possible. The scripts in the `gradle/` directory have not been migrated to extensive use of dynamicism.
2019-05-13test: Move implementation test suite into separate packageFabian Mastenbroek
This change moves the implementation conformance test suite from the test sources of `odcsim-core` to a new `odcsim-engine-tests` module in order to simplify Gradle configuration.
2019-05-13chore: Update build dependenciesFabian Mastenbroek
This change updates the build dependencies Kotlin, Dokka, Ktlint and JUnit to more recent versions.
2019-05-13refactor: Require ActorContext for sending messagesFabian Mastenbroek
This change makes it mandatory to send messages to an actor via the sender's ActorContext in order for the engine to maintain consistency in time between actors.
2019-05-13feat: Add initial interface for parallel simulationsFabian Mastenbroek
This change adds the initial interface design for parallel simulations, which requires explicit synchronization between actors in order to establish consistent virtual time between them.
2019-05-13feat: Expose actor context in coroutineFabian Mastenbroek
This change makes a `SuspendingBehavior` instance expose its `SuspendingActorContext` in the coroutine context, so suspending methods inside the coroutine can access the actor context.
2019-05-13feat: Add conversion methods between number and time typesFabian Mastenbroek
This change adds conversion methods from `Number` types into `Instant` and `Duration` instances.
2019-05-13chore: Update build dependenciesFabian Mastenbroek
This change updates the build dependencies to recent released version. These include Kotlin 1.3.21 and ktlint Gradle plugin 7.1.0.
2019-05-13feat: Add consistent exception handling in actor systemsFabian Mastenbroek
This change makes exception handling in actor systems consistent. Implementors should not propagate unhandled exceptions in actors to the (one of the) threads running the engine, but instead should stop the offending actor and continue running. Supervision of actors should be implemented within actor behavior instead. Since BehaviorInterpreter will propagate exceptions thrown by an actor, consumers of that API can use it to catch unhandled exceptions in an actor.
2019-05-13chore: Update JUnit version to 5.3.2Fabian Mastenbroek
This change updates JUnit dependency to version 5.3.2.
2019-05-13chore: Update to Gradle 5.1Fabian Mastenbroek
This change updates the Gradle wrapper that is shipped with the repository to version 5.1.
2019-05-13chore: Add support for project wide documentation generationFabian Mastenbroek
This change adds support for generating documentation for all modules of the repository using Dokka.
2019-05-13feat: Add support for suspending behaviorFabian Mastenbroek
This change adds support for suspending behavior via Kotlin's coroutine feature officially introduced in Kotlin 1.3. The syntax is similar to the 1.x version of the simulator to allow for easier porting to 2.x.
2019-05-13chore: Add linting via KtlintFabian Mastenbroek
This change adds support for linting the code base using ktlint and the excellent ktlint-gradle plugin.
2019-05-13refactor: Add support for deferred and special behaviorFabian Mastenbroek
This change adds support for deferred and special behavior in the Behavior API. Additionally, the new Behavior DSL is implemented using the new primitives to make the tests cleaner.
2019-05-06chore: Move to Kotlin 1.3 official releaseFabian Mastenbroek
This change updates the code base to use the official Kotlin 1.3 release.
2019-05-06test: Create initial test suite for APIFabian Mastenbroek
This change creates the initial conformance test suite for the API design and tries to specify most of the requirements and assumptions made for implementors.
2019-05-06refactor: Introduce initial API design for 2.xFabian Mastenbroek
This change introduces the new API design that will be introduced in the 2.x versions of the OpenDC Simulator. This changes focuses on simplifying simulation primitives provided by the simulator and introduces a new concept of actors based on the model designed by the Akka Typed project. For now, the old simulation models have been removed from the branch, but will be ported back as this branch is being finalized.
2019-03-15Merge pull request #68 from atlarge-research/remove-waffleGeorgios Andreadis
Remove Waffle.io badge
2019-03-15Remove Waffle.io badgeGeorgios Andreadis
Unfortunately, the Waffle service is shutting down. For now, we'll stick to GH issues then!
2019-02-11Update frontendGeorgios Andreadis
2019-02-11Merge pull request #67 from atlarge-research/remove-sc18-presGeorgios Andreadis
Remove SC18 presentation notice
2019-02-11Fix build issueGeorgios Andreadis
2019-02-10Remove SC18 presentation noticeGeorgios Andreadis
2018-11-12Merge pull request #19 from atlarge-research/track-frontendFabian Mastenbroek
Fix React invariant bug in frontend
2018-11-12Fix React invariant bug in frontendFabian Mastenbroek
This change pulls the changes in the opendc-frontend repository to fix the React invariant bug that was caused by a dependency mismatch.
2018-11-12Merge pull request #18 from atlarge-research/track-simulatorFabian Mastenbroek
Configure simulator to track machine and task states
2018-11-12Merge pull request #17 from atlarge-research/track-frontendFabian Mastenbroek
Fix React invariant bug in frontend
2018-11-12Configure simulator to track machine and task statesFabian Mastenbroek
This change configures the simulator to track machine and task states during simulation to be able to show the nice graphs in the OpenDC frontend. During the SC18 experiments, these options were not enabled and forgot to renable them for the website.
2018-11-12Fix React invariant bug in frontendFabian Mastenbroek
This change pulls the changes in the opendc-frontend repository to fix the React invariant bug that was caused by a dependency mismatch. Additionally, a banner about Supercomputing 2018 is added.
2018-11-12Merge pull request #65 from atlarge-research/bug/react-invariant-crashFabian Mastenbroek
bug: Fix React invariant error due to dependency mismatch
2018-11-12bug: Fix React invariant error due to dependency mismatchFabian Mastenbroek
This change fixes an issue with React crashing due to an invariant error that was caused by a dependency mismatch between React and react-konva. I have included the Yarn lock file in the repository to prevent these issues from happening in the future and keeping the installation deterministic. Additionally, I have updated react-konva and konva to the latest version to be compatible with the targeted React release. Fixes #63
2018-11-12Merge pull request #64 from atlarge-research/sc18-mentionFabian Mastenbroek
Add SC18 banner to site
2018-11-12Add SC18 banner to siteGeorgios Andreadis
2018-11-09Merge pull request #16 from atlarge-research/use-setup-in-dockerfileGeorgios Andreadis
Use setup.py in web-server Docker install
2018-11-09Remove commented commandsGeorgios Andreadis
2018-11-09Use setup.py in web-server Docker installGeorgios Andreadis
2018-11-09Add MySQL connector dependencyGeorgios Andreadis
2018-11-09Document .gitignore and add file ruleGeorgios Andreadis
2018-11-09Merge pull request #11 from atlarge-research/pin-setup-versionsGeorgios Andreadis
Pin version numbers of dependencies
2018-11-09Pin version numbers of dependenciesGeorgios Andreadis
This should make deployments more stable and reproducible. 🎉