Skip to content

IGNITE-19039 Fix PlatformTestNodeRunner SSL config on Windows - #1794

Merged
ptupitsyn merged 6 commits into
apache:mainfrom
gridgain:ignite-19039
Mar 15, 2023
Merged

IGNITE-19039 Fix PlatformTestNodeRunner SSL config on Windows#1794
ptupitsyn merged 6 commits into
apache:mainfrom
gridgain:ignite-19039

Conversation

@ademakov

Copy link
Copy Markdown
Contributor

No description provided.

}

/**
* Converts an URL gotten from classloader to proper file system path.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Converts an URL gotten from classloader to proper file system path.
* Converts a URL to a file system path.

*/
public static String getResourcePath(URL url) {
try {
Objects.requireNonNull(url);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this check is redundant

* @param resourceName A resource name.
* @return A file system path matching the path component of the resource URL.
*/
public static <T> String getResourcePath(Class<T> cls, String resourceName) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
public static <T> String getResourcePath(Class<T> cls, String resourceName) {
public static String getResourcePath(Class<?> cls, String resourceName) {

}

/**
* Adds escape characters before backslashes in a path (on Windows), e.g. for the HOCON config parser.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please provide an example, how this method will transform a given string?

@ptupitsyn
ptupitsyn merged commit bf6aac8 into apache:main Mar 15, 2023
@ptupitsyn
ptupitsyn deleted the ignite-19039 branch March 15, 2023 14:56
maxzhuravkov pushed a commit to gridgain/apache-ignite-3 that referenced this pull request Mar 18, 2023
maxzhuravkov pushed a commit to gridgain/apache-ignite-3 that referenced this pull request Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants