Skip to content

Issue #432 VM lifetime#433

Merged
manoelcampos merged 27 commits intomasterfrom
issue-432-vm-lifetime
Apr 20, 2023
Merged

Issue #432 VM lifetime#433
manoelcampos merged 27 commits intomasterfrom
issue-432-vm-lifetime

Conversation

@manoelcampos
Copy link
Copy Markdown
Collaborator

Close #432

and order methods

Signed-off-by: Manoel Campos <[email protected]>
Uses the NOT_ASSIGNED constant instead of the -1 literal

Signed-off-by: Manoel Campos <[email protected]>
- Now Vm already has a lifeTime attribute (as Cloudlet already had)
- Start and finishTime attributes were moved to the new Startable interface
  and StartableAbstract class. Now such attributes are uniform
  among Cloudlet, Vm and Host.
- Makes CustomerEntity extends Lifetimed and Startable
- Redesign to provide a default implementation for Lifetimed.isLifeTimeReached

- Renames Vm.stopTime to Vm.finishTime to conform to Cloudlet.finishTime
- Renames Host.shutdownTime to finishTime
- Renames Cloudlet.getActualCpuTime() to getTotalExecutionTime()
to conform to the Vm method. That method is now defined inside CustomerEntity interface.
- Renames Cloudlet.execStartTime to startTime to conform to Vm.startTime
- Renames Cloudlet.arrivalTime to dcArrivalTime and Cloudlet.arrivedTime to brokerArrivalTime
  to avoid confusion and provide uniformity to method names

Signed-off-by: Manoel Campos <[email protected]>
to getCreationWaitTime

Signed-off-by: Manoel Campos <[email protected]>
Signed-off-by: Manoel Campos <[email protected]>
Signed-off-by: Manoel Campos <[email protected]>
Signed-off-by: Manoel Campos <[email protected]>
Signed-off-by: Manoel Campos <[email protected]>
Signed-off-by: Manoel Campos <[email protected]>
Signed-off-by: Manoel Campos <[email protected]>
Signed-off-by: Manoel Campos <[email protected]>
Signed-off-by: Manoel Campos <[email protected]>
@manoelcampos manoelcampos self-assigned this Apr 20, 2023
@codacy-production
Copy link
Copy Markdown

codacy-production bot commented Apr 20, 2023

Coverage summary from Codacy

Merging #433 (d72966b) into master (77afad4) - See PR on Codacy

Coverage variation Diff coverage
+0.13% 63.64%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (77afad4) 9144 3582 39.17%
Head commit (d72966b) 9140 (-4) 3592 (+10) 39.30% (+0.13%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#433) 165 105 63.64%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Signed-off-by: Manoel Campos <[email protected]>
Signed-off-by: Manoel Campos <[email protected]>
Signed-off-by: Manoel Campos <[email protected]>
Signed-off-by: Manoel Campos <[email protected]>
Signed-off-by: Manoel Campos <[email protected]>
@manoelcampos manoelcampos merged commit 38bf8b0 into master Apr 20, 2023
@manoelcampos manoelcampos deleted the issue-432-vm-lifetime branch April 20, 2023 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Vm lifeTime attribute

1 participant