Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edge fields extension and cluster undeployment improvement for edge #112

Merged
merged 8 commits into from
Nov 27, 2024

Conversation

ankicabarisic
Copy link
Member

  • extending the edge to reflect node candidate properties
  • including fpga, gpu, cpuFrequency
  • removing edge node source during the cluster removal
  • promoting jobId change during cluster removal

@ankicabarisic
Copy link
Member Author

The quality check is failing as the JSON field properties are moved to the constants to be reused and for easy maintainance. I guess we can ignore this quality check for this PR.

Copy link
Member

@AlexFalessi AlexFalessi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved with minor non blocking comments

Comment on lines 139 to 144
public Long getRam() {
return ram;
}

public void setMemory(Long memory) {
this.memory = memory;
public void setRam(Long memory) {
this.ram = memory;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same. You can do that for every simple getter and setter.
I'll stop adding these kind of comments now.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for this, I changed all model classes i was updating in this PR to use Lombok getters, setters and equal and hash. Probably same should be done for other classes in model but will let it for another time :)

Copy link

sonarcloud bot commented Nov 27, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
9.3% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@ankicabarisic ankicabarisic merged commit ea3a007 into master Nov 27, 2024
1 of 2 checks passed
fviale pushed a commit that referenced this pull request Dec 5, 2024
…112)

* exposing and reusing JSON property fields for edge

* reusing JSON property fields for edge definition

* mapping edge node properties to have same JSON values as node candidates

* edge to support gpu, fpga and cpu frequency

* undeploy edge node resource during cluster removal and set jobId to any

* documenting edge changes

* removing unused comments and moving constants to EdgeDefinition

* adding lombok getters, setters, and EqualsAndHashCode

(cherry picked from commit ea3a007)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants