-
Notifications
You must be signed in to change notification settings - Fork 5
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
Conversation
ankicabarisic
commented
Nov 27, 2024
- 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
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. |
There was a problem hiding this 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
sal-common/src/main/java/org/ow2/proactive/sal/model/EdgeDefinition.java
Outdated
Show resolved
Hide resolved
sal-common/src/main/java/org/ow2/proactive/sal/model/EdgeDefinition.java
Outdated
Show resolved
Hide resolved
sal-common/src/main/java/org/ow2/proactive/sal/model/EdgeNode.java
Outdated
Show resolved
Hide resolved
sal-common/src/main/java/org/ow2/proactive/sal/model/Hardware.java
Outdated
Show resolved
Hide resolved
sal-common/src/main/java/org/ow2/proactive/sal/model/Hardware.java
Outdated
Show resolved
Hide resolved
sal-common/src/main/java/org/ow2/proactive/sal/model/LoginCredential.java
Outdated
Show resolved
Hide resolved
sal-common/src/main/java/org/ow2/proactive/sal/model/NodeCandidate.java
Outdated
Show resolved
Hide resolved
sal-common/src/main/java/org/ow2/proactive/sal/model/NodeProperties.java
Outdated
Show resolved
Hide resolved
sal-common/src/main/java/org/ow2/proactive/sal/model/NodeProperties.java
Outdated
Show resolved
Hide resolved
public Long getRam() { | ||
return ram; | ||
} | ||
|
||
public void setMemory(Long memory) { | ||
this.memory = memory; | ||
public void setRam(Long memory) { | ||
this.ram = memory; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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 :)
Quality Gate failedFailed conditions |
…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)