-
Notifications
You must be signed in to change notification settings - Fork 160
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
Add Scope ID to isServiceEnabled() and isPropertyEnabled() #3000
Add Scope ID to isServiceEnabled() and isPropertyEnabled() #3000
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #3000 +/- ##
=============================================
+ Coverage 56.94% 57.74% +0.79%
- Complexity 2598 2605 +7
=============================================
Files 1062 1062
Lines 22978 22978
Branches 2043 2043
=============================================
+ Hits 13085 13268 +183
+ Misses 8928 8759 -169
+ Partials 965 951 -14
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @lorthirk,
there are some copyright banners to be fixed, can you take a look please?
@@ -99,7 +99,7 @@ public ChannelInfoRegistryServiceImpl() throws ClientUnavailableException { | |||
@Override | |||
public ChannelInfo find(KapuaId scopeId, StorableId id) | |||
throws KapuaException { | |||
if (!isServiceEnabled()) { | |||
if (!isServiceEnabled(scopeId)) { |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
@@ -99,7 +99,7 @@ public ClientInfoRegistryServiceImpl() throws ClientUnavailableException { | |||
@Override | |||
public ClientInfo find(KapuaId scopeId, StorableId id) | |||
throws KapuaException { | |||
if (!isServiceEnabled()) { | |||
if (!isServiceEnabled(scopeId)) { |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
@@ -229,7 +229,7 @@ protected void checkDataAccess(KapuaId scopeId, Actions action) | |||
} | |||
|
|||
@Override | |||
protected boolean isServiceEnabled() { | |||
protected boolean isServiceEnabled(KapuaId scopeId) { |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
@@ -101,7 +101,7 @@ public MetricInfoRegistryServiceImpl() throws ClientUnavailableException { | |||
@Override | |||
public MetricInfo find(KapuaId scopeId, StorableId id) | |||
throws KapuaException { | |||
if (!isServiceEnabled()) { | |||
if (!isServiceEnabled(scopeId)) { |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
45db115
to
32539dd
Compare
Signed-off-by: Claudio Mezzasalma <claudio.mezzasalma@eurotech.com>
32539dd
to
14c496a
Compare
This PR simply adds the
scopeId
parameter toisServiceEnabled()
andisPropertyEnabled()
methods signature, so that it can be used in the evaluationRelated Issue
No related issues