generated from smatechnologies/repo-template
-
Notifications
You must be signed in to change notification settings - Fork 3
added /api/dailyjobs/{uid}/incidentTickets/{id} end point #51
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pinonpierre
suggested changes
Dec 14, 2020
Contributor
pinonpierre
left a comment
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.
Hi,
Can you:
- Fix PR comments please
- Create issue and link it to this PR
Thanks
...va/com/smatechnologies/opcon/restapiclient/model/dailyjob/details/IncidentTicketDetails.java
Outdated
Show resolved
Hide resolved
...va/com/smatechnologies/opcon/restapiclient/model/dailyjob/details/IncidentTicketDetails.java
Outdated
Show resolved
Hide resolved
...va/com/smatechnologies/opcon/restapiclient/model/dailyjob/details/IncidentTicketDetails.java
Outdated
Show resolved
Hide resolved
Collaborator
Author
|
Hi Pierre,
Will update.
However, will wait until they have missing POST function.
Bertie
Bertie Vanhinsbergen
Principal Automation Consultant
Ziegelbrückstrasse 82 | 8866 Ziegelbrücke
Office: +41 556173645 | Direct:
www.SMAtechnologies.com
| bvanhinsbergen@smatechnologies.com
The information contained in this e-mail and any accompanying documents may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message, including any attachments. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited.
From: Pierre PINON <notifications@github.com>
Sent: Monday, 14 December 2020 09:53
To: SMATechnologies/opcon-rest-api-client-java <opcon-rest-api-client-java@noreply.github.com>
Cc: Bertie Vanhinsbergen <bvanhinsbergen@smatechnologies.com>; Author <author@noreply.github.com>
Subject: Re: [SMATechnologies/opcon-rest-api-client-java] added /api/dailyjobs/{uid}/incidentTickets/{id} end point (#51)
@pinonpierre requested changes on this pull request.
Hi,
Can you:
* Fix PR comments please
* Create issue and link it to this PR
Thanks
________________________________
In src/main/java/com/smatechnologies/opcon/restapiclient/model/dailyjob/details/IncidentTicketDetails.java<#51 (comment)>:
+ public static final String TICKET_ID = "ticketId";
+ public static final String TICKET_URL = "ticketUrl";
For consistency, can you rename to:
* PROPERTY_TICKET_ID
* PROPERTY_TICKET_URL
________________________________
In src/main/java/com/smatechnologies/opcon/restapiclient/model/dailyjob/details/IncidentTicketDetails.java<#51 (comment)>:
+package com.smatechnologies.opcon.restapiclient.model.dailyjob.details;
+
+public class IncidentTicketDetails {
+
+ public static final String RESOURCE = "incidentTickets";
+
+ public static final String PROPERTY_ID = "id";
+ public static final String TICKET_ID = "ticketId";
+ public static final String TICKET_URL = "ticketUrl";
+
+ private String id;
+ private String ticketId;
+ private String ticketUrl;
+
+ public String getId() {
+ return id;
Please utilise formatter on all your files:
* Tabs are forbidden and must be spaces
* A lot of useless duplicated empty lines
________________________________
In src/main/java/com/smatechnologies/opcon/restapiclient/model/dailyjob/details/IncidentTicketDetails.java<#51 (comment)>:
+ public String getTicketId() {
+ return ticketId;
+ }
+
+ public void setTicketId(String ticketId) {
+ this.ticketId = ticketId;
+ }
+
+ public String getTicketUrl() {
+ return ticketUrl;
+ }
+
+ public void setTicketUrl(String ticketUrl) {
+ this.ticketUrl = ticketUrl;
+ }
+
equals and hashcode missing
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#51 (review)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AOSPB5A2SK3BDYJTL3ODNWDSUXG5ZANCNFSM4UZMDC4A>.
|
Collaborator
Author
|
Corrected definitions and pushed to origin |
Collaborator
Author
|
The POST request has been delayed, so maybe better to add these new endpoints now |
pinonpierre
approved these changes
Dec 18, 2020
...va/com/smatechnologies/opcon/restapiclient/model/dailyjob/details/IncidentTicketDetails.java
Outdated
Show resolved
Hide resolved
...va/com/smatechnologies/opcon/restapiclient/model/dailyjob/details/IncidentTicketDetails.java
Outdated
Show resolved
Hide resolved
pinonpierre
approved these changes
Dec 18, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added new incidentTickets endpoint to DailyJobs as required by ServiceNow and EasyVista connectors to update value with received ticket id and url values.