Skip to content

Commit 89193b7

Browse files
authored
Merge pull request #85 from contentstack/next
Next
2 parents b20eb3e + 991442e commit 89193b7

Some content is hidden

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

57 files changed

+329
-282
lines changed

changelog.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## v1.4.3
4+
5+
### July 08, 2024
6+
7+
- SRE issues fixed
8+
39
## v1.4.2
410

511
### May 27, 2024

pom.xml

+5-31
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<artifactId>cms</artifactId>
88
<packaging>jar</packaging>
99
<name>contentstack-management-java</name>
10-
<version>1.4.2</version>
10+
<version>1.4.3</version>
1111
<description>Contentstack Java Management SDK for Content Management API, Contentstack is a headless CMS with an
1212
API-first approach
1313
</description>
@@ -54,7 +54,7 @@
5454
<organizationUrl>https://www.contentstack.com/</organizationUrl>
5555
</developer>
5656
<developer>
57-
<name>***REMOVED***</name>
57+
<name>ishaileshmishra</name>
5858
<email>[email protected]</email>
5959
<organization>contentstack</organization>
6060
<organizationUrl>https://www.contentstack.com/</organizationUrl>
@@ -199,29 +199,6 @@
199199
<artifactId>jsoup</artifactId>
200200
<version>1.17.2</version>
201201
</dependency>
202-
<dependency>
203-
<groupId>org.slf4j</groupId>
204-
<artifactId>slf4j-simple</artifactId>
205-
<version>1.7.36</version>
206-
</dependency>
207-
<dependency>
208-
<groupId>com.slack.api</groupId>
209-
<artifactId>slack-api-client</artifactId>
210-
<version>1.38.0</version>
211-
</dependency>
212-
<dependency>
213-
<groupId>com.slack.api</groupId>
214-
<artifactId>slack-app-backend</artifactId>
215-
<version>1.38.0</version>
216-
</dependency>
217-
<dependency>
218-
<groupId>org.testng</groupId>
219-
<artifactId>testng</artifactId>
220-
<version>7.8.0</version>
221-
<scope>test</scope>
222-
</dependency>
223-
224-
225202
</dependencies>
226203

227204

@@ -234,12 +211,9 @@
234211
<artifactId>maven-surefire-plugin</artifactId>
235212
<version>3.0.0-M5</version>
236213
<configuration>
237-
<!-- <includes>
214+
<includes>
238215
<include>**/*TestSuite.java</include>
239-
</includes> -->
240-
<suiteXmlFiles>
241-
<suiteXmlFile>${basedir}/testng.xml</suiteXmlFile>
242-
</suiteXmlFiles>
216+
</includes>
243217
<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
244218
<testFailureIgnore>true</testFailureIgnore>
245219
</configuration>
@@ -279,7 +253,7 @@
279253
</plugin>
280254

281255
<!-- -overview
282-
"***REMOVED***tentstack/java/contentstack-management-java/src/main/overview.html"
256+
"/Users/shaileshmishra/Documents/Workspace/contentstack/java/contentstack-management-java/src/main/overview.html"
283257
-bottom "<b>Copyright © 2012-2022 Contentstack </b><sup>TM</sup>"-->
284258
<plugin>
285259
<groupId>org.apache.maven.plugins</groupId>

src/main/java/com/contentstack/cms/Contentstack.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public class Contentstack {
7979
* <br>
8080
*
8181
* @return User
82-
* @author ***REMOVED***
82+
* @author ishaileshmishra
8383
* @see <a href=
8484
* "https://www.contentstack.com/docs/developers/apis/content-management-api/#users">User
8585
* </a>
@@ -129,7 +129,7 @@ public User user() {
129129
* @param password the password of the user
130130
* @return LoginDetails
131131
* @throws IOException the IOException
132-
* @author ***REMOVED***
132+
* @author ishaileshmishra
133133
* @see <a href=
134134
* "https://www.contentstack.com/docs/developers/apis/content-management-api/#users">User
135135
* </a>
@@ -182,7 +182,7 @@ public Response<LoginDetails> login(String emailId, String password) throws IOEx
182182
* @return LoginDetails
183183
* @throws IOException the io exception
184184
* @throws IOException the IOException
185-
* @author ***REMOVED***
185+
* @author ishaileshmishra
186186
* @see <a
187187
* href=
188188
* "https://www.contentstack.com/docs/developers/apis/content-management-api/#log-in-to-your-account">Login

src/main/java/com/contentstack/cms/core/AuthInterceptor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* API implementation, you'll want to pass the auth token as the value for the
2020
* Authorization header.
2121
*
22-
* @author ***REMOVED***
22+
* @author ishaileshmishra
2323
* @since v0.1.0
2424
*/
2525
public class AuthInterceptor implements Interceptor {

src/main/java/com/contentstack/cms/core/BadArgumentException.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* an illegal or unsuitable argument
66
* passed to a method.
77
*
8-
* @author ***REMOVED***
8+
* @author ishaileshmishra
99
* @version v0.1.0
1010
* @since 2022-10-20
1111
*/

src/main/java/com/contentstack/cms/core/CMALogger.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/**
88
* The Contentstack Logger
99
*
10-
* @author ***REMOVED***
10+
* @author ishaileshmishra
1111
* @version v0.1.0
1212
* @since 2022-10-20
1313
*/

src/main/java/com/contentstack/cms/core/CMARuntimeException.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* CMARuntimeException that extends Exception class
55
*
6-
* @author ***REMOVED***
6+
* @author ishaileshmishra
77
* @version v0.1.0
88
* @since 2022-10-20
99
*/

src/main/java/com/contentstack/cms/core/ResponseResult.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
/**
1212
* The Contentstack ResponseResult class that accepts different types of Models
1313
*
14-
* @author ***REMOVED***
14+
* @author ishaileshmishra
1515
* @version v0.1.0
1616
* @since 2022-10-20
1717
*/

src/main/java/com/contentstack/cms/core/RetryCallback.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
/**
1010
* The Contentstack RetryCallback
1111
*
12-
* @author ***REMOVED***
12+
* @author ishaileshmishra
1313
* @version v0.1.0
1414
* @since 2022-10-20
1515
*/

src/main/java/com/contentstack/cms/core/Util.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
/**
1010
* The utility class that contains utility common functions
1111
*
12-
* @author ***REMOVED***
12+
* @author ishaileshmishra
1313
* @version v0.1.0
1414
* @since 2022-10-20
1515
*/

src/main/java/com/contentstack/cms/organization/Organization.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* users. Organization allows easy management of projects as well as users
1717
* within the Organization.
1818
*
19-
* @author ***REMOVED***
19+
* @author ishaileshmishra
2020
* @version v0.1.0
2121
* @since 2022-10-20
2222
*/

src/main/java/com/contentstack/cms/stack/Alias.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* ID in your frontend code to pull content
1717
* from the target branch associated with an alias.
1818
*
19-
* @author ***REMOVED***
19+
* @author ishaileshmishra
2020
* @version v0.1.0
2121
* @see <a href= "https://www.contentstack.com/docs/developers/apis/content-management-api/#aliases">About Aliases </a>
2222
* @since 2022 -10-20
@@ -138,7 +138,7 @@ protected void clearParams() {
138138
* aliases available in a particular stack in your account.
139139
*
140140
* @return Call
141-
* @author ***REMOVED***
141+
* @author ishaileshmishra
142142
* @see <a href=
143143
* "https://www.contentstack.com/docs/developers/apis/content-management-api/#get-all-aliases">Get
144144
* all
@@ -153,7 +153,7 @@ public Call<ResponseBody> find() {
153153
* The Get a single alias request returns information of a specific alias.
154154
*
155155
* @return Call
156-
* @author ***REMOVED***
156+
* @author ishaileshmishra
157157
* @see <a href=
158158
* "https://www.contentstack.com/docs/developers/apis/content-management-api/#get-a-single-branch">
159159
* Get a single branch</a>

src/main/java/com/contentstack/cms/stack/Asset.java

+8-8
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* so on) uploaded in your Contentstack
2323
* repository for future use.
2424
*
25-
* @author ***REMOVED***
25+
* @author ishaileshmishra
2626
* @since 2022-10-20
2727
*/
2828
public class Asset implements BaseImplementation<Asset> {
@@ -187,7 +187,7 @@ public Folder folder(@NotNull String folderUid) {
187187
* Example:file_size
188188
*
189189
* @return Call
190-
* @author ***REMOVED***
190+
* @author ishaileshmishra
191191
* @see <a href=
192192
* "https://www.contentstack.com/docs/developers/apis/content-management-api/#get-all-assets">Get
193193
* all
@@ -210,7 +210,7 @@ public Call<ResponseBody> find() {
210210
* published in each of the environment.
211211
*
212212
* @return Call
213-
* @author ***REMOVED***
213+
* @author ishaileshmishra
214214
* @see <a href=
215215
* "https://www.contentstack.com/docs/developers/apis/content-management-api/#get-a-single-asset">Get
216216
* a single asset</a>
@@ -228,7 +228,7 @@ public Call<ResponseBody> fetch() {
228228
*
229229
* @param folderUid The folderUid of specific folder
230230
* @return Call
231-
* @author ***REMOVED***
231+
* @author ishaileshmishra
232232
* @see <a href=
233233
* "https://www.contentstack.com/docs/developers/apis/content-management-api/#get-assets-of-a-specific-folder">Get
234234
* Assets of a Specific Folder</a>
@@ -249,7 +249,7 @@ public Call<ResponseBody> byFolderUid(@NotNull String folderUid) {
249249
* @param folderUid folder uid
250250
* @param isIncludeFolders provide true/false
251251
* @return Call
252-
* @author ***REMOVED***
252+
* @author ishaileshmishra
253253
* @see <a href=
254254
* "https://www.contentstack.com/docs/developers/apis/content-management-api/#get-assets-and-subfolders-of-a-parent-folder">Get
255255
* Assets and Subfolders of a Parent Folder</a>
@@ -296,7 +296,7 @@ public Call<ResponseBody> subfolder(
296296
* in the response.</li>
297297
* </ul>
298298
* @return Call
299-
* @author ***REMOVED***
299+
* @author ishaileshmishra
300300
* @see <a href=
301301
* "https://www.contentstack.com/docs/developers/apis/content-management-api/#upload-asset">
302302
* Upload
@@ -410,7 +410,7 @@ private MultipartBody.Part uploadFile(@NotNull String filePath) {
410410
*
411411
* @param body the JSONObject request body
412412
* @return Call
413-
* @author ***REMOVED***
413+
* @author ishaileshmishra
414414
* @see <a href=
415415
* "https://www.contentstack.com/docs/developers/apis/content-management-api/#generate-permanent-asset-url">
416416
* Generate Permanent Asset URL </a>
@@ -439,7 +439,7 @@ public Call<ResponseBody> generatePermanentUrl(JSONObject body) {
439439
*
440440
* @param slugUrl The unique identifier of the asset.
441441
* @return Call
442-
* @author ***REMOVED***
442+
* @author ishaileshmishra
443443
* @see <a href=
444444
* "https://www.contentstack.com/docs/developers/apis/content-management-api/#generate-permanent-asset-url">
445445
* Generate Permanent Asset Url</a>

src/main/java/com/contentstack/cms/stack/AuditLog.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* "https://www.contentstack.com/docs/developers/apis/content-management-api/#audit-log">Audit
2828
* Log</a>
2929
*
30-
* @author ***REMOVED***
30+
* @author ishaileshmishra
3131
* @version v0.1.0
3232
* @since 2022-10-22
3333
*/

src/main/java/com/contentstack/cms/stack/Branch.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* parallel in a more collaborative, organized,
1919
* and structured manner without impacting each other.
2020
*
21-
* @author ***REMOVED***
21+
* @author ishaileshmishra
2222
* @version v1.0.0
2323
* @see <a href=
2424
* "https://www.contentstack.com/docs/developers/apis/content-management-api/#branches">About

src/main/java/com/contentstack/cms/stack/BulkOperation.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* bulk operations on search results
2222
* <br>
2323
*
24-
* @author ***REMOVED***
24+
* @author ishaileshmishra
2525
* @version v1.0.0
2626
* @see <a href=
2727
* "https://www.contentstack.com/docs/developers/apis/content-management-api/#bulk-publish-operation">

src/main/java/com/contentstack/cms/stack/ContentType.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* key in the response. This key specifies the unique ID of the branch where the
2727
* concerned Contentstack module resides.
2828
*
29-
* @author ***REMOVED***
29+
* @author ishaileshmishra
3030
* @version v0.1.0
3131
* @see <a href=
3232
* "https://www.contentstack.com/docs/developers/apis/content-management-api/#content-types">Content

src/main/java/com/contentstack/cms/stack/DeliveryToken.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* requests over your stack content, you can use Management Tokens
2121
* <br>
2222
*
23-
* @author ***REMOVED***
23+
* @author ishaileshmishra
2424
* @version v0.1.0
2525
* @since 2022-10-22
2626
*/

src/main/java/com/contentstack/cms/stack/Entry.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* key in the response. This key specifies the unique ID of the branch where the
2323
* concerned Contentstack module resides.
2424
*
25-
* @author ***REMOVED***
25+
* @author ishaileshmishra
2626
* @version v0.1.0
2727
* @since 2022-10-22
2828
*/

src/main/java/com/contentstack/cms/stack/Environment.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* content delivery destination where the
1717
* entries need to be published.
1818
*
19-
* @author ***REMOVED***
19+
* @author ishaileshmishra
2020
* @version v0.1.0
2121
* @since 2022-10-22
2222
*/

src/main/java/com/contentstack/cms/stack/Extensions.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* key in the response. This key specifies the unique ID of the branch where the
2626
* concerned Contentstack module resides.
2727
*
28-
* @author ***REMOVED***
28+
* @author ishaileshmishra
2929
* @version v0.1.0
3030
* @since 2022-10-22
3131
*/

src/main/java/com/contentstack/cms/stack/GlobalField.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* key in the response. This key specifies the unique ID of the branch where the
2525
* concerned Contentstack module resides.
2626
*
27-
* @author ***REMOVED***
27+
* @author ishaileshmishra
2828
* @version v0.1.0
2929
* @since 2022-10-22
3030
*/

src/main/java/com/contentstack/cms/stack/Label.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* key in the response. This key specifies the unique ID of the branch where the
2323
* concerned Contentstack module resides.
2424
*
25-
* @author ***REMOVED***
25+
* @author ishaileshmishra
2626
* @version v0.1.0
2727
* @since 2022-10-22
2828
*/

src/main/java/com/contentstack/cms/stack/Locale.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* to a wide variety of audience by serving
1818
* content in their local language(s).
1919
*
20-
* @author ***REMOVED***
20+
* @author ishaileshmishra
2121
* @version v0.1.0
2222
* @see <a href=
2323
* "https://www.contentstack.com/docs/developers/apis/content-management-api/#languages">

src/main/java/com/contentstack/cms/stack/ManagementToken.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* content, you can use Management Tokens
1515
* <br>
1616
*
17-
* @author ***REMOVED***
17+
* @author ishaileshmishra
1818
* @version v0.1.0
1919
* @since 2022-10-22
2020
*/

src/main/java/com/contentstack/cms/stack/Merge.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
* </li>
3939
* </ul>
4040
*
41-
* @author ***REMOVED***
41+
* @author ishaileshmishra
4242
* @version v1.0.0
4343
* @see <a href=
4444
* "https://www.contentstack.com/docs/developers/apis/content-management-api/#merge-branches">Merge

0 commit comments

Comments
 (0)