| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
| <artifactId>cloud-engine-storage-volume</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| <dependency> |
There was a problem hiding this comment.
Do we need this?
Sorry, something went wrong.
There was a problem hiding this comment.
for now yes, we can remove it later if required.
Sorry, something went wrong.
| @@ -38,14 +53,47 @@ | |||
| <artifactId>json</artifactId> | |||
| <version>20230227</version> | |||
There was a problem hiding this comment.
It is better to keep version under properties tag as it is easy to maintain. Same is applicable for other dependencies
Sorry, something went wrong.
There was a problem hiding this comment.
done
Sorry, something went wrong.
| private List<AggregateDTO> aggregates; | ||
| private SvmDTO svm; | ||
|
|
||
| // getters and setters |
Sorry, something went wrong.
There was a problem hiding this comment.
I am trying to keep dependencies less. Hence prefer to write getter and setter manually
Sorry, something went wrong.
There was a problem hiding this comment.
There is one caveat with @DaTa , it writes its own equals and hashcode method by comparing all fields of object which we dont want sometimes.
Sorry, something went wrong.
|
|
||
| public static class Job { | ||
| private String uuid; | ||
| private Links links; |
There was a problem hiding this comment.
same here, use @DaTa annotation for other classes also
Sorry, something went wrong.
There was a problem hiding this comment.
Same as above response
Sorry, something went wrong.
| public void setName(String name) { this.name = name; } | ||
| } | ||
|
|
||
| public static class SvmDTO { |
There was a problem hiding this comment.
we should keep this DTO outside bcz it can be reusable by other DTOs also
Sorry, something went wrong.
There was a problem hiding this comment.
I thought of keeping them inside for now and taking them out case by case. That way, we can keep the count of files lower. The number of files is already shooting up.
Sorry, something went wrong.
There was a problem hiding this comment.
responded on the comments, reposting the changes with the new changes as per comments
Sorry, something went wrong.
| <properties> | ||
| <spring-cloud.version>2021.0.7</spring-cloud.version> | ||
| <openfeign.version>11.0</openfeign.version> | ||
| </properties> |
There was a problem hiding this comment.
Need to include both spring-web and spring-boot-starter(v2.7.10), if we intend to use @FeignClient annotation in VolumeFeignClient.java
Sorry, something went wrong.
There was a problem hiding this comment.
As mentioned earlier, I don't see any compilation issues with the newly added code. If additional dependencies are required as we proceed, we can incorporate them accordingly. For now, I'd prefer not to include all potential dependencies until the corresponding code is in place.
Sorry, something went wrong.
There was a problem hiding this comment.
reverted to the comments
Sorry, something went wrong.
| @JsonInclude(JsonInclude.Include.NON_NULL) | ||
| public class Aggregate { | ||
|
|
||
| @SerializedName("name") |
There was a problem hiding this comment.
I see in some model we are using JsonProperty and SerializedName which serves same purpose but are from 2 different libraries. What's your thought on using Jackson or gson any one of the above across our models.
Sorry, something went wrong.
| private List<AggregateDTO> aggregates; | ||
| private SvmDTO svm; | ||
|
|
||
| // getters and setters |
There was a problem hiding this comment.
There is one caveat with @DaTa , it writes its own equals and hashcode method by comparing all fields of object which we dont want sometimes.
Sorry, something went wrong.
…ommits. # This is the 1st commit message: CSTACKEX-25: Basic class structure # This is the commit message #2: Add PrimaryStoragePool base code # This is the commit message #3: CSTACKEX-25: Create Volume code basic code added # This is the commit message #4: CSTACKEX-25: additional logic for Primary storage pool creation # This is the commit message #5: CSTACKEX-29 Cluster, SVM and Aggr Feign Client # This is the commit message #6: CSTACKEX-29 Added License Info # This is the commit message #7: CSTACKEX-29 Resolve Review Comments # This is the commit message #8: CSTACKEX-29 Resolve Style check issues � This is the commit message #9: CSTACKEX-29 Resolve Style check issues � This is the commit message #10: CSTACKEX-29 Resolve Precommits Issues # This is the commit message #11: CSTACKEX-29 Resolve Precommits Issues
# This is the 1st commit message: NFS Cloudstack volume and export policy utils # This is the commit message #2: Licencse add in files # This is the commit message #3: accessgroup create recode # This is the commit message #4: creatacessgroup for NFS impl # This is the commit message #5: storage pool mounting on host # This is the commit message #6: storage pool mounting on host 1 # This is the commit message #7: vm restart issue # This is the commit message #8: vm restart issue 1 # This is the commit message #9: vm restart issue 2 # This is the commit message #10: vm instance creation test1 # This is the commit message #11: vm instance creation test4
| Back | FazBrowse Home | New Git URL |
Description
This PR...
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?