-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added the tracking to panoply for anonymous/known users that exceeded…
… the rate limit
- Loading branch information
1 parent
a9453c3
commit 1607c8f
Showing
3 changed files
with
106 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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
49 changes: 49 additions & 0 deletions
49
orcid-utils/src/main/java/org/orcid/utils/panoply/PanoplyPapiDailyRateExceededItem.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
package org.orcid.utils.panoply; | ||
|
||
import java.time.LocalDate; | ||
|
||
public class PanoplyPapiDailyRateExceededItem { | ||
private String ipAddress; | ||
private String clientId; | ||
private String email; | ||
private String orcid; | ||
private LocalDate requestDate; | ||
|
||
|
||
public String getIpAddress() { | ||
return ipAddress; | ||
} | ||
public void setIpAddress(String ipAddress) { | ||
this.ipAddress = ipAddress; | ||
} | ||
public String getClientId() { | ||
return clientId; | ||
} | ||
public void setClientId(String clientId) { | ||
this.clientId = clientId; | ||
} | ||
public String getEmail() { | ||
return email; | ||
} | ||
public void setEmail(String email) { | ||
this.email = email; | ||
} | ||
public String getOrcid() { | ||
return orcid; | ||
} | ||
public void setOrcid(String orcid) { | ||
this.orcid = orcid; | ||
} | ||
public LocalDate getRequestDate() { | ||
return requestDate; | ||
} | ||
public void setRequestDate(LocalDate requestDate) { | ||
this.requestDate = requestDate; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "PanoplyPapiDailyRateExceededItem{" + "ipAddress=" + ipAddress + ", clientId='" + clientId + '\'' + ", email='" + email + '\'' + ", orcid='" + orcid + '\'' | ||
+ ", requestDate='" + requestDate + '\'' + '}'; | ||
} | ||
} |
This file contains 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