Skip to content

Commit 0ed368f

Browse files
committed
prepare for release
1 parent 1a56a59 commit 0ed368f

File tree

6 files changed

+70
-23
lines changed

6 files changed

+70
-23
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
The format is based on [Keep a Changelog](http://keepachangelog.com/)
33
and this project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## 3.3.0 (05/02/2021)
6+
- [PR-75](https://github.com/Crim/pardot-java-client/pull/75) Added support for querying and reading Visits. Thanks [@dai-00](https://github.com/dai-00)!
7+
8+
#### Internal Dependency Updates
9+
- Upgraded Jackson from version 2.11.2 to 2.11.4.
10+
11+
512
## 3.2.0 (02/09/2021)
613
- [ISSUE-68](https://github.com/Crim/pardot-java-client/issues/68) Add authentication method for grant_type=authorization_code using previously retrieved refresh_token. See `ConfigurationBuilder.withSsoRefreshTokenLogin()`
714
- [ISSUE-70](https://github.com/Crim/pardot-java-client/issues/70) Adds ability to override the OAuth authentication endpoint when doing SSO authentication. See optional parameter `AuthorizationServer` on the `ConfigurationBuilder.withSsoRefreshTokenLogin()` and `ConfigurationBuilder.withSsoLogin()` methods.

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ This client library is released on Maven Central. Add a new dependency to your
3030
<dependency>
3131
<groupId>com.darksci</groupId>
3232
<artifactId>pardot-api-client</artifactId>
33-
<version>3.2.0</version>
33+
<version>3.3.0</version>
3434
</dependency>
3535
```
3636

@@ -285,6 +285,7 @@ user friendly Plain Old Java Objects (POJOs).
285285
## Contributors
286286
[Crim](https://github.com/crim)
287287
[LoRez](https://github.com/lorez)
288+
[dai-00](https://github.com/dai-00)
288289

289290
## Releasing
290291
Steps for performing a release:

pom.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.darksci</groupId>
88
<artifactId>pardot-api-client</artifactId>
9-
<version>3.2.0</version>
9+
<version>3.3.0</version>
1010
<packaging>jar</packaging>
1111

1212
<!-- Require Maven 3.5.0 -->
@@ -47,7 +47,7 @@
4747
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4848

4949
<!-- Jackson version -->
50-
<jackson.version>2.11.2</jackson.version>
50+
<jackson.version>2.11.4</jackson.version>
5151

5252
<!-- Define which version of junit you'll be running -->
5353
<junit.version>4.13.1</junit.version>
@@ -58,7 +58,7 @@
5858
<checkstyle.version>8.29</checkstyle.version>
5959

6060
<!-- Log4J Version -->
61-
<log4j2.version>2.13.3</log4j2.version>
61+
<log4j2.version>2.14.1</log4j2.version>
6262
<slf4j.version>1.7.30</slf4j.version>
6363

6464
<!-- test toggling -->
@@ -239,6 +239,7 @@
239239
<header>LICENSE.txt</header>
240240
<excludes>
241241
<exclude>**/.md</exclude>
242+
<exclude>**.MD</exclude>
242243
<exclude>**/.bak</exclude>
243244
<exclude>**.yml</exclude>
244245
<exclude>**.yaml</exclude>

src/main/java/com/darksci/pardot/api/response/visit/Visit.java

Lines changed: 42 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -50,33 +50,61 @@ public class Visit {
5050
@JacksonXmlElementWrapper(localName = "visitor_page_views")
5151
private List<VisitorPageView> visitorPageViews;
5252

53-
public Long getId() { return id; }
53+
public Long getId() {
54+
return id;
55+
}
5456

55-
public Long getVisitorId() { return visitorId; }
57+
public Long getVisitorId() {
58+
return visitorId;
59+
}
5660

57-
public Long getProspectId() { return prospectId; }
61+
public Long getProspectId() {
62+
return prospectId;
63+
}
5864

59-
public Integer getVisitorPageViewCount() { return visitorPageViewCount; }
65+
public Integer getVisitorPageViewCount() {
66+
return visitorPageViewCount;
67+
}
6068

61-
public LocalDateTime getFirstVisitorPageViewAt() { return firstVisitorPageViewAt; }
69+
public LocalDateTime getFirstVisitorPageViewAt() {
70+
return firstVisitorPageViewAt;
71+
}
6272

63-
public LocalDateTime getLastVisitorPageViewAt() { return lastVisitorPageViewAt; }
73+
public LocalDateTime getLastVisitorPageViewAt() {
74+
return lastVisitorPageViewAt;
75+
}
6476

65-
public Integer getDurationInSeconds() { return durationInSeconds; }
77+
public Integer getDurationInSeconds() {
78+
return durationInSeconds;
79+
}
6680

67-
public String getCampaignParameter() { return campaignParameter; }
81+
public String getCampaignParameter() {
82+
return campaignParameter;
83+
}
6884

69-
public String getMediumParameter() { return mediumParameter; }
85+
public String getMediumParameter() {
86+
return mediumParameter;
87+
}
7088

71-
public String getSourceParameter() { return sourceParameter; }
89+
public String getSourceParameter() {
90+
return sourceParameter;
91+
}
7292

73-
public String getContentParameter() { return contentParameter; }
93+
public String getContentParameter() {
94+
return contentParameter;
95+
}
7496

75-
public String getTermParameter() { return termParameter; }
97+
public String getTermParameter() {
98+
return termParameter;
99+
}
76100

77-
public LocalDateTime getCreatedAt() { return createdAt; }
101+
public LocalDateTime getCreatedAt() {
102+
return createdAt;
103+
}
78104

79-
public LocalDateTime getUpdatedAt() { return updatedAt; }
105+
public LocalDateTime getUpdatedAt() {
106+
return updatedAt;
107+
}
80108

81109
/**
82110
* Visitor Page Views associated to the visit, or empty list if none.

src/main/java/com/darksci/pardot/api/response/visit/VisitReadResponse.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,7 @@ public class VisitReadResponse {
2424

2525
private Visit visit;
2626

27-
public Visit getVisit() { return visit; }
27+
public Visit getVisit() {
28+
return visit;
29+
}
2830
}

src/main/java/com/darksci/pardot/api/response/visit/VisitorPageView.java

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,21 @@ public class VisitorPageView {
3030
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
3131
private LocalDateTime createdAt;
3232

33-
public Long getId() { return id; }
33+
public Long getId() {
34+
return id;
35+
}
3436

35-
public String getUrl() { return url; }
37+
public String getUrl() {
38+
return url;
39+
}
3640

37-
public String getTitle() { return title; }
41+
public String getTitle() {
42+
return title;
43+
}
3844

39-
public LocalDateTime getCreatedAt() { return createdAt; }
45+
public LocalDateTime getCreatedAt() {
46+
return createdAt;
47+
}
4048

4149
@Override
4250
public String toString() {

0 commit comments

Comments
 (0)