Fix documentation issue in UtilizationModelDynamicExample.
Includes RandomCloudletsArrivalExample and NetworkExample3
fix: docs/presentation/package.json to reduce vulnerabilities (#157)
Changes JUnit 4 to JUnit 5 and updates all tests to use the new annotations and requirements instead of using JUnit Vintage.
Code quality review.
General refactoring to reduce code duplication.
Code quality review
- Updates plugins version. - Creates logback-test.xml to define logback's configuration to run tests. Tests' log is now directed to the target/log-output.log file. - Adds configuration to avoid maven-surefire-plugin to create forks. Forks were causing runtime exceptions when trying to use maven with Java 10+.
Removes Simulation parameter from CloudSimEvent constructors since such an object can be got from the source or destination entity.
- Changes Google Cluster Data readers' job_id, task_index and machine_id fields to a 64 bits integer (Java's long type), to conform to the trace files data format. - Changes Entities' ID from int to long, enabling large scale simulations created from workload files (such as Google Cluster Data) when there is a high number of objects (such as physical machines and jobs) that exceeds the int range. - Changes calls such as Integer.valueOf to Integer.parseInt to avoid unnecessary boxing. - Defines default values for number fields in Google trace files as: (i) -1 for important fields such as machine id (meaning there is no machine allocated) or maximum values (meaning there is no limit); (ii) 0 for means and minimum values.
Updates Google Cluster Reader classes to deal with timestamp values as double. This way, if such values are changed during pre-processing phase so that the result value is larger than an int, they will be read as double to avoid overflow.