Skip to content

Commit 813bb8c

Browse files
committed
Version Bump
1 parent 4f81549 commit 813bb8c

File tree

105 files changed

+450
-360
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+450
-360
lines changed

constructorio-client/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>io.constructor.client</groupId>
55
<artifactId>constructorio-client</artifactId>
66
<packaging>jar</packaging>
7-
<version>5.15.1</version>
7+
<version>5.15.2</version>
88
<name>constructorio-client</name>
99
<url>https://github.com/Constructor-io/constructorio-java</url>
1010
<dependencies>

constructorio-client/src/main/java/io/constructor/client/ConstructorIO.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1149,7 +1149,7 @@ protected static String getResponseBody(Response response) throws ConstructorExc
11491149
* @return version number
11501150
*/
11511151
protected String getVersion() {
1152-
return "ciojava-5.15.1";
1152+
return "ciojava-5.15.2";
11531153
}
11541154

11551155
/**

constructorio-client/src/test/java/io/constructor/client/ConstructorIOAutocompleteUrlEncodingTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public void AutocompleteWithPlusShouldBeEncodedInUrl() throws Exception {
4242
constructor.autocomplete(request, null);
4343

4444
RecordedRequest recordedRequest = mockServer.takeRequest();
45-
String expectedPath = String.format("/autocomplete/r%%2Bco?key=%s&c=ciojava-5.15.1", apiKey);
45+
String expectedPath = String.format("/autocomplete/r%%2Bco?key=%s&c=ciojava-5.15.2", apiKey);
4646
String actualPath = recordedRequest.getPath();
4747
assertEquals("recorded request is encoded correctly", actualPath, expectedPath);
4848
}
@@ -58,7 +58,7 @@ public void AutocompleteWithSpaceShouldBeEncodedInUrl() throws Exception {
5858
constructor.autocomplete(request, null);
5959

6060
RecordedRequest recordedRequest = mockServer.takeRequest();
61-
String expectedPath = String.format("/autocomplete/r%%20co?key=%s&c=ciojava-5.15.1", apiKey);
61+
String expectedPath = String.format("/autocomplete/r%%20co?key=%s&c=ciojava-5.15.2", apiKey);
6262
String actualPath = recordedRequest.getPath();
6363
assertEquals("recorded request is encoded correctly", actualPath, expectedPath);
6464
}
@@ -74,7 +74,7 @@ public void AutocompleteWithSlashShouldBeEncodedInUrl() throws Exception {
7474
constructor.autocomplete(request, null);
7575

7676
RecordedRequest recordedRequest = mockServer.takeRequest();
77-
String expectedPath = String.format("/autocomplete/r%%2Fco?key=%s&c=ciojava-5.15.1", apiKey);
77+
String expectedPath = String.format("/autocomplete/r%%2Fco?key=%s&c=ciojava-5.15.2", apiKey);
7878
String actualPath = recordedRequest.getPath();
7979
assertEquals("recorded request is encoded correctly", actualPath, expectedPath);
8080
}
@@ -90,7 +90,7 @@ public void AutocompleteWithSingleQuoteShouldBeAllowedInUrl() throws Exception {
9090
constructor.autocomplete(request, null);
9191

9292
RecordedRequest recordedRequest = mockServer.takeRequest();
93-
String expectedPath = String.format("/autocomplete/r'co?key=%s&c=ciojava-5.15.1", apiKey);
93+
String expectedPath = String.format("/autocomplete/r'co?key=%s&c=ciojava-5.15.2", apiKey);
9494
String actualPath = recordedRequest.getPath();
9595
assertEquals("recorded request is encoded correctly", actualPath, expectedPath);
9696
}

constructorio-client/src/test/java/io/constructor/client/ConstructorIOBasicTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public void makeUrlShouldReturnAUrl() throws Exception {
128128
HttpUrl url = constructor.makeUrl(Arrays.asList("getitUuuurl"));
129129
assertEquals("host is set", url.host(), "ac.cnstrc.com");
130130
assertEquals("protocol is set", url.scheme(), "https");
131-
assertEquals("version is set", url.queryParameter("c"), "ciojava-5.15.1");
131+
assertEquals("version is set", url.queryParameter("c"), "ciojava-5.15.2");
132132
assertEquals("apiKey is set", url.queryParameter("key"), "doinkaKey");
133133
}
134134

@@ -139,7 +139,7 @@ public void makeUrlWithUserIdShouldReturnAUrl() throws Exception {
139139
HttpUrl url = constructor.makeUrl(Arrays.asList("getitUuuurl"), info);
140140
assertEquals("host is set", url.host(), "ac.cnstrc.com");
141141
assertEquals("protocol is set", url.scheme(), "https");
142-
assertEquals("version is set", url.queryParameter("c"), "ciojava-5.15.1");
142+
assertEquals("version is set", url.queryParameter("c"), "ciojava-5.15.2");
143143
assertEquals("apiKey is set", url.queryParameter("key"), "doinkaKey");
144144
assertEquals("session id is set", url.queryParameter("s"), "2");
145145
assertEquals("client id is set", url.queryParameter("i"), "sideshow bob");
@@ -154,7 +154,7 @@ public void makeUrlWithUserInfoShouldReturnAUrl() throws Exception {
154154
HttpUrl url = constructor.makeUrl(Arrays.asList("getitUuuurl"), info);
155155
assertEquals("host is set", url.host(), "ac.cnstrc.com");
156156
assertEquals("protocol is set", url.scheme(), "https");
157-
assertEquals("version is set", url.queryParameter("c"), "ciojava-5.15.1");
157+
assertEquals("version is set", url.queryParameter("c"), "ciojava-5.15.2");
158158
assertEquals("apiKey is set", url.queryParameter("key"), "doinkaKey");
159159
assertEquals("session id is set", url.queryParameter("s"), "2");
160160
assertEquals("client id is set", url.queryParameter("i"), "sideshow bob");
@@ -170,7 +170,7 @@ public void makeUrlWithUserSegmentsShouldReturnAUrl() throws Exception {
170170
HttpUrl url = constructor.makeUrl(Arrays.asList("getitUuuurl"), info);
171171
assertEquals("host is set", url.host(), "ac.cnstrc.com");
172172
assertEquals("protocol is set", url.scheme(), "https");
173-
assertEquals("version is set", url.queryParameter("c"), "ciojava-5.15.1");
173+
assertEquals("version is set", url.queryParameter("c"), "ciojava-5.15.2");
174174
assertEquals("apiKey is set", url.queryParameter("key"), "doinkaKey");
175175
assertEquals("session id is set", url.queryParameter("s"), "2");
176176
assertEquals("client id is set", url.queryParameter("i"), "sideshow bob");
@@ -187,7 +187,7 @@ public void verifyShouldReturnTrueWithValidKeyTokenPair() throws Exception {
187187
@Test
188188
public void getVersionShouldReturnClientVersion() throws Exception {
189189
ConstructorIO constructor = new ConstructorIO(token, apiKey, true, null);
190-
assertEquals("grabs version from pom.xml", constructor.getVersion(), "ciojava-5.15.1");
190+
assertEquals("grabs version from pom.xml", constructor.getVersion(), "ciojava-5.15.2");
191191
}
192192

193193
@Test

constructorio-client/src/test/java/io/constructor/client/ConstructorIOSearchUrlEncodingTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public void SearchWithPlusShouldBeEncodedInUrl() throws Exception {
4242
constructor.search(request, null);
4343

4444
RecordedRequest recordedRequest = mockServer.takeRequest();
45-
String expectedPath = String.format("/search/r%%2Bco?key=%s&c=ciojava-5.15.1&section=Products&page=1&num_results_per_page=30", apiKey);
45+
String expectedPath = String.format("/search/r%%2Bco?key=%s&c=ciojava-5.15.2&section=Products&page=1&num_results_per_page=30", apiKey);
4646
String actualPath = recordedRequest.getPath();
4747
assertEquals("recorded request is encoded correctly", actualPath, expectedPath);
4848
}
@@ -58,7 +58,7 @@ public void SearchWithSpaceShouldBeEncodedInUrl() throws Exception {
5858
constructor.search(request, null);
5959

6060
RecordedRequest recordedRequest = mockServer.takeRequest();
61-
String expectedPath = String.format("/search/r%%20co?key=%s&c=ciojava-5.15.1&section=Products&page=1&num_results_per_page=30", apiKey);
61+
String expectedPath = String.format("/search/r%%20co?key=%s&c=ciojava-5.15.2&section=Products&page=1&num_results_per_page=30", apiKey);
6262
String actualPath = recordedRequest.getPath();
6363
assertEquals("recorded request is encoded correctly", actualPath, expectedPath);
6464
}
@@ -74,7 +74,7 @@ public void SearchWithSlashShouldBeEncodedInUrl() throws Exception {
7474
constructor.search(request, null);
7575

7676
RecordedRequest recordedRequest = mockServer.takeRequest();
77-
String expectedPath = String.format("/search/r%%2Fco?key=%s&c=ciojava-5.15.1&section=Products&page=1&num_results_per_page=30", apiKey);
77+
String expectedPath = String.format("/search/r%%2Fco?key=%s&c=ciojava-5.15.2&section=Products&page=1&num_results_per_page=30", apiKey);
7878
String actualPath = recordedRequest.getPath();
7979
assertEquals("recorded request is encoded correctly", actualPath, expectedPath);
8080
}
@@ -90,7 +90,7 @@ public void SearchWithSingleQuoteShouldBeAllowedInUrl() throws Exception {
9090
constructor.search(request, null);
9191

9292
RecordedRequest recordedRequest = mockServer.takeRequest();
93-
String expectedPath = String.format("/search/r'co?key=%s&c=ciojava-5.15.1&section=Products&page=1&num_results_per_page=30", apiKey);
93+
String expectedPath = String.format("/search/r'co?key=%s&c=ciojava-5.15.2&section=Products&page=1&num_results_per_page=30", apiKey);
9494
String actualPath = recordedRequest.getPath();
9595
assertEquals("recorded request is encoded correctly", actualPath, expectedPath);
9696
}

docs/allclasses-index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<!DOCTYPE HTML>
22
<html lang="en">
33
<head>
4-
<!-- Generated by javadoc (17) on Thu Feb 03 13:24:04 MST 2022 -->
5-
<title>All Classes and Interfaces (constructorio-client 5.15.1 API)</title>
4+
<!-- Generated by javadoc (17) on Fri Feb 18 15:33:01 MST 2022 -->
5+
<title>All Classes and Interfaces (constructorio-client 5.15.2 API)</title>
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
8-
<meta name="dc.created" content="2022-02-03">
8+
<meta name="dc.created" content="2022-02-18">
99
<meta name="description" content="class index">
1010
<meta name="generator" content="javadoc/AllClassesIndexWriter">
1111
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">

docs/allpackages-index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<!DOCTYPE HTML>
22
<html lang="en">
33
<head>
4-
<!-- Generated by javadoc (17) on Thu Feb 03 13:24:04 MST 2022 -->
5-
<title>All Packages (constructorio-client 5.15.1 API)</title>
4+
<!-- Generated by javadoc (17) on Fri Feb 18 15:33:01 MST 2022 -->
5+
<title>All Packages (constructorio-client 5.15.2 API)</title>
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
8-
<meta name="dc.created" content="2022-02-03">
8+
<meta name="dc.created" content="2022-02-18">
99
<meta name="description" content="package index">
1010
<meta name="generator" content="javadoc/AllPackagesIndexWriter">
1111
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">

docs/constant-values.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<!DOCTYPE HTML>
22
<html lang="en">
33
<head>
4-
<!-- Generated by javadoc (17) on Thu Feb 03 13:24:04 MST 2022 -->
5-
<title>Constant Field Values (constructorio-client 5.15.1 API)</title>
4+
<!-- Generated by javadoc (17) on Fri Feb 18 15:33:01 MST 2022 -->
5+
<title>Constant Field Values (constructorio-client 5.15.2 API)</title>
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
8-
<meta name="dc.created" content="2022-02-03">
8+
<meta name="dc.created" content="2022-02-18">
99
<meta name="description" content="summary of constants">
1010
<meta name="generator" content="javadoc/ConstantsSummaryWriterImpl">
1111
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">

docs/help-doc.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<!DOCTYPE HTML>
22
<html lang="en">
33
<head>
4-
<!-- Generated by javadoc (17) on Thu Feb 03 13:24:04 MST 2022 -->
5-
<title>API Help (constructorio-client 5.15.1 API)</title>
4+
<!-- Generated by javadoc (17) on Fri Feb 18 15:33:01 MST 2022 -->
5+
<title>API Help (constructorio-client 5.15.2 API)</title>
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
8-
<meta name="dc.created" content="2022-02-03">
8+
<meta name="dc.created" content="2022-02-18">
99
<meta name="description" content="help">
1010
<meta name="generator" content="javadoc/HelpWriter">
1111
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">

docs/index-all.html

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<!DOCTYPE HTML>
22
<html lang="en">
33
<head>
4-
<!-- Generated by javadoc (17) on Thu Feb 03 13:24:04 MST 2022 -->
5-
<title>Index (constructorio-client 5.15.1 API)</title>
4+
<!-- Generated by javadoc (17) on Fri Feb 18 15:33:01 MST 2022 -->
5+
<title>Index (constructorio-client 5.15.2 API)</title>
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
8-
<meta name="dc.created" content="2022-02-03">
8+
<meta name="dc.created" content="2022-02-18">
99
<meta name="description" content="index">
1010
<meta name="generator" content="javadoc/IndexWriter">
1111
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
@@ -363,6 +363,12 @@ <h2 class="title" id="I:G">G</h2>
363363
<dd>&nbsp;</dd>
364364
<dt><a href="io/constructor/client/models/SearchResponseInner.html#getGroups()" class="member-name-link">getGroups()</a> - Method in class io.constructor.client.models.<a href="io/constructor/client/models/SearchResponseInner.html" title="class in io.constructor.client.models">SearchResponseInner</a></dt>
365365
<dd>&nbsp;</dd>
366+
<dt><a href="io/constructor/client/BrowseItemsRequest.html#getHiddenFacets()" class="member-name-link">getHiddenFacets()</a> - Method in class io.constructor.client.<a href="io/constructor/client/BrowseItemsRequest.html" title="class in io.constructor.client">BrowseItemsRequest</a></dt>
367+
<dd>&nbsp;</dd>
368+
<dt><a href="io/constructor/client/BrowseRequest.html#getHiddenFacets()" class="member-name-link">getHiddenFacets()</a> - Method in class io.constructor.client.<a href="io/constructor/client/BrowseRequest.html" title="class in io.constructor.client">BrowseRequest</a></dt>
369+
<dd>&nbsp;</dd>
370+
<dt><a href="io/constructor/client/SearchRequest.html#getHiddenFacets()" class="member-name-link">getHiddenFacets()</a> - Method in class io.constructor.client.<a href="io/constructor/client/SearchRequest.html" title="class in io.constructor.client">SearchRequest</a></dt>
371+
<dd>&nbsp;</dd>
366372
<dt><a href="io/constructor/client/AutocompleteRequest.html#getHiddenFields()" class="member-name-link">getHiddenFields()</a> - Method in class io.constructor.client.<a href="io/constructor/client/AutocompleteRequest.html" title="class in io.constructor.client">AutocompleteRequest</a></dt>
367373
<dd>&nbsp;</dd>
368374
<dt><a href="io/constructor/client/BrowseItemsRequest.html#getHiddenFields()" class="member-name-link">getHiddenFields()</a> - Method in class io.constructor.client.<a href="io/constructor/client/BrowseItemsRequest.html" title="class in io.constructor.client">BrowseItemsRequest</a></dt>
@@ -860,6 +866,12 @@ <h2 class="title" id="I:S">S</h2>
860866
<dd>&nbsp;</dd>
861867
<dt><a href="io/constructor/client/ConstructorItem.html#setGroupIds(java.util.List)" class="member-name-link">setGroupIds(List&lt;String&gt;)</a> - Method in class io.constructor.client.<a href="io/constructor/client/ConstructorItem.html" title="class in io.constructor.client">ConstructorItem</a></dt>
862868
<dd>&nbsp;</dd>
869+
<dt><a href="io/constructor/client/BrowseItemsRequest.html#setHiddenFacets(java.util.List)" class="member-name-link">setHiddenFacets(List&lt;String&gt;)</a> - Method in class io.constructor.client.<a href="io/constructor/client/BrowseItemsRequest.html" title="class in io.constructor.client">BrowseItemsRequest</a></dt>
870+
<dd>&nbsp;</dd>
871+
<dt><a href="io/constructor/client/BrowseRequest.html#setHiddenFacets(java.util.List)" class="member-name-link">setHiddenFacets(List&lt;String&gt;)</a> - Method in class io.constructor.client.<a href="io/constructor/client/BrowseRequest.html" title="class in io.constructor.client">BrowseRequest</a></dt>
872+
<dd>&nbsp;</dd>
873+
<dt><a href="io/constructor/client/SearchRequest.html#setHiddenFacets(java.util.List)" class="member-name-link">setHiddenFacets(List&lt;String&gt;)</a> - Method in class io.constructor.client.<a href="io/constructor/client/SearchRequest.html" title="class in io.constructor.client">SearchRequest</a></dt>
874+
<dd>&nbsp;</dd>
863875
<dt><a href="io/constructor/client/AutocompleteRequest.html#setHiddenFields(java.util.List)" class="member-name-link">setHiddenFields(List&lt;String&gt;)</a> - Method in class io.constructor.client.<a href="io/constructor/client/AutocompleteRequest.html" title="class in io.constructor.client">AutocompleteRequest</a></dt>
864876
<dd>&nbsp;</dd>
865877
<dt><a href="io/constructor/client/BrowseItemsRequest.html#setHiddenFields(java.util.List)" class="member-name-link">setHiddenFields(List&lt;String&gt;)</a> - Method in class io.constructor.client.<a href="io/constructor/client/BrowseItemsRequest.html" title="class in io.constructor.client">BrowseItemsRequest</a></dt>

0 commit comments

Comments
 (0)