Skip to content

remove AbstractResourceFilter.isApplicable because it is not#6691

Merged
asdf2014 merged 2 commits intoapache:masterfrom
clintropolis:house-keeping-1
Dec 1, 2018
Merged

remove AbstractResourceFilter.isApplicable because it is not#6691
asdf2014 merged 2 commits intoapache:masterfrom
clintropolis:house-keeping-1

Conversation

@clintropolis
Copy link
Copy Markdown
Member

AbstractResourceFilter.isApplicable was added in #2424 but it would appear that it was never wired up to anything. It doesn't appear to be necessary, so I have removed it to reduce confusion and lower maintenance overhead to not require any consumer of an AbstractResourceFilter implementation to add it's url prefix to the filter in order for it to behave as intended were this code path actually in place.

This PR also adds tests for OverlordResource.doShutdown and OverlordResource.shutdownTasksForDatasource as a follow up to #6686.

…ts for OverlordResource.doShutdown and OverlordResource.shutdownTasksForDatasource
Copy link
Copy Markdown
Contributor

@jihoonson jihoonson left a comment

Choose a reason for hiding this comment

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

Thanks for raising this and adding missing tests!

Assert.assertEquals(new TaskStatusResponse("othertask", null), taskStatusResponse2);
}


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.

Would you please remove one extra line breakings before/after new tests?

Copy link
Copy Markdown
Contributor

@jihoonson jihoonson left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @clintropolis!

Copy link
Copy Markdown
Member

@asdf2014 asdf2014 left a comment

Choose a reason for hiding this comment

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

LGTM

@asdf2014 asdf2014 merged commit 43adb39 into apache:master Dec 1, 2018
@clintropolis clintropolis deleted the house-keeping-1 branch January 24, 2019 10:28
@jon-wei jon-wei added this to the 0.14.0 milestone Feb 20, 2019
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.

4 participants