-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #445 from DinoChiesa/po035-relax
fix: PO035 allows both of Sync{IntervalInSeconds, MessageCount}
- Loading branch information
Showing
4 changed files
with
29 additions
and
17 deletions.
There are no files selected for viewing
This file contains 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
10 changes: 10 additions & 0 deletions
10
test/fixtures/resources/PO035/policies/fail/Asynch-neither-child-element.xml
This file contains 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,10 @@ | ||
<Quota name="Asynch-neither-child-element"> | ||
<DisplayName>Quota-1</DisplayName> | ||
<Allow countRef="my-count"/> | ||
<Interval>2</Interval> | ||
<TimeUnit>minute</TimeUnit> | ||
<Synchronous>true</Synchronous> | ||
<Identifier>verifyapikey.Quota-1.app.name</Identifier> | ||
<AsynchronousConfiguration> | ||
</AsynchronousConfiguration> | ||
</Quota> |
This file contains 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
2 changes: 1 addition & 1 deletion
2
...olicies/fail/Asynch-too-many-elements.xml → ...35/policies/pass/Asynch-both-elements.xml
This file contains 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