-
Notifications
You must be signed in to change notification settings - Fork 8
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
# 553807 - revise permission observatory API #72
Conversation
Codecov Report
@@ Coverage Diff @@
## master #72 +/- ##
===========================================
+ Coverage 9.54% 9.67% +0.13%
- Complexity 98 103 +5
===========================================
Files 401 403 +2
Lines 12598 12618 +20
Branches 1102 1102
===========================================
+ Hits 1202 1221 +19
- Misses 11360 11361 +1
Partials 36 36
Continue to review full report at Codecov.
|
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.
Please correct @SInCE tag
...lic.base/src/org/eclipse/passage/lic/internal/base/permission/observatory/CheckSchedule.java
Outdated
Show resolved
Hide resolved
...lic.base/src/org/eclipse/passage/lic/internal/base/permission/observatory/CheckSchedule.java
Outdated
Show resolved
Hide resolved
...lic.base/src/org/eclipse/passage/lic/internal/base/permission/observatory/CheckSchedule.java
Outdated
Show resolved
Hide resolved
/** | ||
* Default schedule is 10 minutes. | ||
* | ||
* @since 1.6.1 |
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.
we do not have version 1.6.1
...lic.base/src/org/eclipse/passage/lic/internal/base/permission/observatory/CheckSchedule.java
Outdated
Show resolved
Hide resolved
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.
The version tag still needs refinement
* expired entries each 5 minutes (or so). | ||
* </p> | ||
* | ||
* @since 0.6.1 |
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.
Normally "since" tag value has only major.minor form
* | ||
* @param amount number of units | ||
* @unit {@linkplain ChronoUnit} constant to measure {@code amount} | ||
* @since 0.6.1 |
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.
Normally "since" tag value has only major.minor form
* Default schedules are measured in minutes. | ||
* | ||
* @param minutes number of minutes | ||
* @since 0.6.1 |
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.
Normally "since" tag value has only major.minor form
/** | ||
* Reports the scheduled period duration in seconds. | ||
* | ||
* @since 0.6.1 |
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.
Normally "since" tag value has only major.minor form
/** | ||
* Default schedule is 10 minutes. | ||
* | ||
* @since 0.6.1 |
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.
Normally "since" tag value has only major.minor form
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.
Does this mean, it can be not equal to current bundle version? Must simple 0.6
appear there?
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.
Exactly. API may not be added with service release, only with minor one. So, the "0.6.1" is "0.6"
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.
Does this mean we must mention since-version only on public apis? (which is not ther case here)
- Observatory is renamed to Pool - GuardedObservatory is renamed to Observatory - schedule semantics is formed to a separate class - which is, in turn, covered with tests Signed-off-by: elena.parovyshnaya <[email protected]>
Signed-off-by: elena.parovyshnaya [email protected]