Skip to content

Commit

Permalink
Improve validated activities count (#7020)
Browse files Browse the repository at this point in the history
* Deactivated records should get 409 on GET requests

* When looking into a group, if any element inside the group is validated count the group as validated

* Working on unit tests

* Working on unit tests

* Working on unit tests

* Still working on moving functionality to the orcid-core package

* Still working on moving functionality to the orcid-core package

* Still working on moving functionality to the orcid-core package

* Still working on unit tests

* Happy path unit tests done

* Fixing unit tests

* Adding more unit tests

* ImproveValidatedActivitiesCount

* New endpoint in mapi

* Very basic XML
  • Loading branch information
amontenegro authored Apr 4, 2024
1 parent 2960ce4 commit 4fbc5eb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
import org.orcid.pojo.ajaxForm.PojoUtil;

public class AffiliationSummary {
public String organizationName;
public String url;
public String startDate;
public String endDate;
public String role;
public String type;
public boolean validated;
private String organizationName;
private String url;
private String startDate;
private String endDate;
private String role;
private String type;
private boolean validated;

public String getOrganizationName() {
return organizationName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@

import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

@XmlRootElement
public class RecordSummary {
@JsonInclude(Include.NON_NULL)
private String name;
Expand Down

0 comments on commit 4fbc5eb

Please sign in to comment.