-
Notifications
You must be signed in to change notification settings - Fork 1
Improved AuthInterceptor to conditionally skip Content-Type header for DELETE requests to /releases/{release_uid}
#217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 6 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
de5b2e4
Merge pull request #212 from contentstack/development
harshithad0703 6edde9b
Merge pull request #213 from contentstack/staging
harshithad0703 824e0e4
version bump changes
reeshika-h 637efce
Merge pull request #214 from contentstack/fix/maven-workflow
harshithad0703 38d2c8b
Merge pull request #216 from contentstack/master
harshithad0703 fbc15e3
- Improved `AuthInterceptor` to conditionally skip `Content-Type` hea…
reeshika-h 7322e7d
Refactor `OAuthConfig` hostname replacement logic to remove unnecessa…
reeshika-h 322a118
Update changelog for version 1.10.2, adding a note about the deletion…
reeshika-h 54dfb02
Remove commented-out assertion for `release_version` header in `Relea…
reeshika-h File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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,35 @@ | ||
| package com.contentstack.cms; | ||
|
|
||
| import com.contentstack.cms.core.AuthInterceptorTest; | ||
| import com.contentstack.cms.stack.EnvironmentUnitTest; | ||
| import com.contentstack.cms.stack.GlobalFieldUnitTests; | ||
| import com.contentstack.cms.stack.LocaleUnitTest; | ||
| import com.contentstack.cms.stack.ReleaseUnitTest; | ||
| import org.junit.platform.runner.JUnitPlatform; | ||
| import org.junit.platform.suite.api.SelectClasses; | ||
| import org.junit.runner.RunWith; | ||
|
|
||
| /** | ||
| * Unit Test Suite for running all unit tests | ||
| * These tests don't require API access or credentials | ||
| * | ||
| * Note: Only public test classes can be included here. | ||
| * Many unit test classes in the project are package-private and | ||
| * cannot be referenced in this suite. | ||
| */ | ||
| @SuppressWarnings("deprecation") | ||
| @RunWith(JUnitPlatform.class) | ||
| @SelectClasses({ | ||
| // Core tests | ||
| AuthInterceptorTest.class, | ||
| ContentstackUnitTest.class, | ||
|
|
||
| // Stack module tests (only public classes) | ||
| EnvironmentUnitTest.class, | ||
| GlobalFieldUnitTests.class, | ||
| LocaleUnitTest.class, | ||
| ReleaseUnitTest.class | ||
| }) | ||
| public class UnitTestSuite { | ||
| } | ||
|
|
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.