summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-05-18api: Migrate to Flask RestfulFabian Mastenbroek
This change updates the API to use Flask Restful instead of our own in-house REST library. This change reduces the maintenance effort and allows us to drastically simplify the API implementation needed for the OpenDC v2 API.
2021-05-17api: Remove user handling from OpenDC API serverFabian Mastenbroek
This change removes any of the user handling and endpoints from the OpenDC API server. The API server does not need to store user information other than an identifier in the database.
2021-05-17api: Migrate to Auth0 for API authorizationFabian Mastenbroek
This change updates the OpenDC API to use Auth0 for API authorization. This removes the hard dependency on Google for logging into OpenDC and simplifies implementation as we do not have to store user information anymore, other than the user identifier.
2021-05-17api: Remove Socket.IO endpoint from public APIFabian Mastenbroek
This change removes the Socket.IO endpoint from the public API now that we have switched to the REST API instead. This decreases the possible exposure to vulnerabilities as well as the maintenance burden.
2021-05-17ui: Restructure OpenDC frontendFabian Mastenbroek
This change updates the structure of the OpenDC frontend in order to improve the maintainability of the frontend.
2021-05-17ui: Move modal state outside of ReduxFabian Mastenbroek
This change updates the frontend so that the modal state is not stored inside Redux but instead is stored using the useState hook. This simplifies the design of the modal components.
2021-05-17ui: Simplify projects pageFabian Mastenbroek
This change simplifies the logic and components of the projects page and reduces its dependency on Redux for simple operations.
2021-05-17ui: Address technical dept in frontendFabian Mastenbroek
2021-05-17ui: Migrate from CRA to Next.jsFabian Mastenbroek
This change updates the web frontend to use Next.js instead of Create React App (CRA). Next.js enables the possibility of rendering pages on the server side (which reduces the time to first frame) and overall provides a better development experience. Future commits will try to futher optimize the implementation for Next.js.
2021-05-12ui: Ensure Redux logger is last in middleware chainFabian Mastenbroek
This change updates the Redux store initialization to ensure that the Redux logger is last in the middleware change. If we do not do this, Redux Logger might log thunds and promises, but not actual actions. See https://github.com/LogRocket/redux-logger/issues/20
2021-05-12ui: Move communication to REST APIFabian Mastenbroek
This change removes the socket.io websocket connection/client in favour of the OpenDC REST API. The socket.io websocket implementation was intended to be used for interactive and collaborative datacenter design and exploration. However, we do not support this functionality at the moment (collaborative design and exploration) and having the entire API run over this websocket connection is fragile and not standard practice. To improve maintainability, we therefore remove the websocket implementation in favour of the OpenDC REST API implementation using the fetch API. If we want to implement collaboration in the future, we will develop appropriate extensions in conjuction with the existing REST API. For this, we should look for standard and existing implementation of this functionality.
2021-05-12ui: Move component styling into CSS modulesFabian Mastenbroek
This change updates the frontend codebase by moving the component styling into CSS module files as opposed to the global styles which we used before. In addition, I have changed the syntax to the newer SCSS syntax, which is more similar to CSS. These changes reduces the styling conflicts that can occur between components and allows us to migrate to systems that do not support importing global styles in components. Moreover, we can benefit from treeshaking using CSS modules.
2021-05-10ui: Update frontend dependenciesFabian Mastenbroek
This pull request updates the React dependencies used in the OpenDC frontend. * Actualize React, react-konva and react-scripts * Actualize Bootstrap and Reactstrap * Migrate to Redux hooks to reduce clutter
2021-05-10ui: Update mathjsFabian Mastenbroek
This change updates the mathjs dependency to version 7.6.0 in order to fix the high-severity vulnerability in mathjs version lower than 7.5.1.
2021-05-10ui: Fix version number in package.jsonFabian Mastenbroek
This change fixes the version number in package.json which contained the suffix "-rc1", which is apparently not supported by npm.
2021-05-10ui: Update Bootstrap dependenciesFabian Mastenbroek
2021-05-10ui: Update Sentry dependenciesFabian Mastenbroek
2021-05-10ui: Update React dependenciesFabian Mastenbroek
This change updates the React dependencies to version 17, in order to keep up to date with React.
2021-05-10ui: Adapt home components to ReactstrapFabian Mastenbroek
2021-05-10ui: Fix undefined project in NewScenarioModalFabian Mastenbroek
2021-05-10ui: Do not prevent default on mouse scrollFabian Mastenbroek
This change removes the prevent default from the mouse scroll since Chrome does not allow it anymore.
2021-05-10ui: Do not clutter component tree with Redux connectsFabian Mastenbroek
This change refactors the frontend to use hooks for obtaining state within the Redux store as opposed to using Higher-Order Components (HOCs). This eliminates a lot of clutter in the components.
2021-05-10build: Move to next releaseFabian Mastenbroek
This change moves the version number to the next release, v2.1-rc1.
2021-05-10build: Publish Java Platform on Maven CentralFabian Mastenbroek
This change updates the build configuration to also publish the Java Platform on Maven Central. This is necessary since the other modules depend on the platform.
2021-05-10docs: Add missing student thesesFabian Mastenbroek
2021-05-10ci: Support pushing images with docker/build-push-action@v2Fabian Mastenbroek
This change updates the publish workflow to support pushing images with the new docker/build-push-action version.
2021-05-10build: Mark v2.0 releaseFabian Mastenbroek
This change updates the version numbers officially to v2.0 in order to start the release process.
2021-05-10docs: Update deployment guideFabian Mastenbroek
2021-05-10docs: Add link to Jacob Burley's BSc thesisFabian Mastenbroek
2021-05-10docs: Fix reference to OpenDC component overviewFabian Mastenbroek
This change fixes the invalid reference to the image of the OpenDC component overview.
2021-05-10build: Include sample traces in simulator imageFabian Mastenbroek
This change updates the Dockerfile for the simulator to include the sample traces bundled with OpenDC.
2021-05-10api: Restore trace endpointFabian Mastenbroek
This change adds the trace endpoint, which was unfortunately removed due to an incorrect .gitignore statement.
2021-05-09ui: Remove unnecessary print statementFabian Mastenbroek
2021-05-09exp: Add TensorFlow experimentFabian Mastenbroek
This pull request merges the TensorFlow model into the OpenDC codebase. The model has seen a few changes in order to fit into the current code-base. * Add model for the high-level Keras library. * Model TensorFlow compute devices * Add simple network model for TensorFlow experiments * Add simple environment reader for experiment setups * Model distribution strategies for TensorFlow
2021-05-09exp: Add explanation about experimental nature of moduleFabian Mastenbroek
2021-05-09exp: Implement TensorFlow distribution strategiesWenchen Lai
2021-05-09exp: Model TensorFlow compute devicesWenchen Lai
2021-05-09exp: Add simple network model for TensorFlow experimentsWenchen Lai
2021-05-09exp: Add environments for TensorFlow experimentsWenchen Lai
This change adds the experimental environments that are being used for the TensorFlow on OpenDC experiments.
2021-05-09exp: Add environment reader for TensorFlow experimentsWenchen Lai
This change adds a reader for the environment/topology format that is used for the TensorFlow experiments in OpenDC.
2021-05-09exp: Add model of TensorFlow Keras APIWenchen Lai
This change adds a model of TensorFlow's Keras API to OpenDC.
2021-05-09exp: Add TensorFlow experiment setupWenchen Lai
This change adds the initial experiment setup for the TensorFlow on OpenDC experiments.
2021-05-09serverless: Add support for custom termination policiesSoufiane Jounaid
This change adds support for custom termination policies for function instances. This allows the user to build different strategies for downscaling function instances after they become idle.
2021-05-09ui: Update OpenDC homepageFabian Mastenbroek
This pull request contains various updates to the opendc.org homepage, in order to reflect the updates from OpenDC 2.0.
2021-05-09ui: Update runtime variable workaroundFabian Mastenbroek
This change updates the workaround used to access runtime variables in the React frontend, in order to improve the ergonimics when using the development mode of CRA (Create React App).
2021-05-09ui: Include figure on OpenDC 2.0 architectureFabian Mastenbroek
2021-05-09ui: Link to OpenDC 2.0 paperFabian Mastenbroek
2021-05-09ui: Update screenshots of OpenDC user-interfaceFabian Mastenbroek
2021-05-09ui: Actualize team sectionFabian Mastenbroek
2021-05-08ui: Update disclaimer in footerFabian Mastenbroek