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
[M] 1476028: Changed serial number datatype to String (ENT-528) #2523
[M] 1476028: Changed serial number datatype to String (ENT-528) #2523
Conversation
abhiskum
commented
Dec 10, 2019
- Updated serialnumber field datatype from Long to String in CertificateSerialDTO
- Updated serial field datatype form Long to String in CertificateSerialDto
- Converted Long serial value to String from CertificateSerial and set it to CertificateSerialDTO
- Converted Long id to String and pass it to CertificateSerialDto
- Updated Junit and rspec with respect to this change
We need ack from Candlepin API consumers before merging this into master. |
server/src/main/java/org/candlepin/dto/api/v1/CertificateSerialDTO.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/candlepin/model/CertificateSerialDto.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/candlepin/resource/ConsumerResource.java
Outdated
Show resolved
Hide resolved
@candlepin-bot retest this please |
b1ebf34
to
fff2aea
Compare
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.
Almost ready; just one last standardization thing and a question regarding one of the casts/types.
fff2aea
to
63a2ffa
Compare
@candlepin-bot Please retest |
@candlepin-bot retest this please |
@candlepin-bot retest this please |
@candlepin-bot retest this please |
@abhiskum Code is good, but we probably want to squash the 2 commits into 1, and have the bugzilla id in the commit summary line / PR title, to preserve historical documentation, before merging (and so that the release build can auto-close the bz based on the commit message). |
c41da64
to
9c0a512
Compare
@nikosmoum squashed commit and added bug number. |
- Updated serialnumber field datatype from Long to String in CertificateSerialDTO - Updated serial field datatype form Long to String in CertificateSerialDto - Converted Long serial value to String from CertificateSerial and set it to CertificateSerialDTO - Converted Long id to String and pass it to CertificateSerialDto - Updated Junit and rspec with respect to this change
9c0a512
to
6be9ea3
Compare