You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to know what are the jobs that need to be deleted in the import operation, we need the status and the delete fields. those fields are already in the API response so should be only to add to rd-api-client/src/main/java/org/rundeck/client/api/model/ScmImportItem.java something like:
public String itemId;
public Boolean tracked;
+ public Boolean deleted;
+ public String status;
public ScmJobItem job;
public Map asMap() {
HashMap<String, Object> map = new HashMap<>();
map.put("itemId", itemId);
map.put("tracked", tracked);
+ map.put("deleted", deleted);
+ map.put("status", status);
if(null!=job) {
map.put("job", job.toMap());
}
And fix a test
Thanks.
Nacho Molleda.
The text was updated successfully, but these errors were encountered:
In order to know what are the jobs that need to be deleted in the import operation, we need the status and the delete fields. those fields are already in the API response so should be only to add to rd-api-client/src/main/java/org/rundeck/client/api/model/ScmImportItem.java something like:
And fix a test
Thanks.
Nacho Molleda.
The text was updated successfully, but these errors were encountered: