Skip to content
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

Make iteration limit configurable for rule composer #393

Merged
merged 1 commit into from
Jul 11, 2024

Conversation

copybara-service[bot]
Copy link
Contributor

Make iteration limit configurable for rule composer

@copybara-service copybara-service bot force-pushed the test_650368560 branch 2 times, most recently from 1ca3d6c to fdc4769 Compare July 11, 2024 22:13
@copybara-service copybara-service bot merged commit e7c246b into main Jul 11, 2024
@copybara-service copybara-service bot deleted the test_650368560 branch July 11, 2024 22:20
lqiu96 referenced this pull request in googleapis/sdk-platform-java Jul 23, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [dev.cel:cel](https://github.com/google/cel-java) | `0.5.2` ->
`0.6.0` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/dev.cel:cel/0.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/dev.cel:cel/0.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/dev.cel:cel/0.5.2/0.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/dev.cel:cel/0.5.2/0.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>google/cel-java (dev.cel:cel)</summary>

### [`v0.6.0`](https://github.com/google/cel-java/releases/tag/v0.6.0)

[Compare
Source](https://github.com/google/cel-java/compare/v0.5.2...v0.6.0)

This release features CEL-based policy compilers with YAML support
[(example)](https://github.com/google/cel-java/tree/main/policy/src/test/resources/restricted_destinations),
[adds a new extension
library](https://github.com/google/cel-java/blob/main/extensions/src/main/java/dev/cel/extensions/README.md#sets)
for handling set operations and includes minor bug fixes along with
performance improvements.

#### Fixes

- Copy the suppress warning annotations to autovalue gened celexpr in
[https://github.com/google/cel-java/pull/359](https://github.com/google/cel-java/pull/359)
- Check for presence of optional indices to prevent autoboxing in
[https://github.com/google/cel-java/pull/366](https://github.com/google/cel-java/pull/366)
- Adapt the function dispatch result to allow for automatic Any
unpacking in
[https://github.com/google/cel-java/pull/376](https://github.com/google/cel-java/pull/376)

#### What's Changed

- Implement CEL Set Extension in
[https://github.com/google/cel-java/pull/360](https://github.com/google/cel-java/pull/360)
- Remove PartialMessage and IncompleteData in
[https://github.com/google/cel-java/pull/365](https://github.com/google/cel-java/pull/365)
- Compute line offsets once when constructing CelCodePointArray
[https://github.com/google/cel-java/pull/368](https://github.com/google/cel-java/pull/368)
- Remove celVarToDecl method in
[https://github.com/google/cel-java/pull/371](https://github.com/google/cel-java/pull/371)
- Add an interface for encapsulating Source properties in
[https://github.com/google/cel-java/pull/369](https://github.com/google/cel-java/pull/369)
- Add PolicySource in
[https://github.com/google/cel-java/pull/370](https://github.com/google/cel-java/pull/370)
- Flag guard the function dispatch result adaptation change in
[https://github.com/google/cel-java/pull/383](https://github.com/google/cel-java/pull/383)
- Implement YAML parser for policy configs in
[https://github.com/google/cel-java/pull/372](https://github.com/google/cel-java/pull/372)
- Create a separate interface for validating required fields in a
builder in
[https://github.com/google/cel-java/pull/373](https://github.com/google/cel-java/pull/373)
- Add the capability to extend CEL environment from parsed config in
[https://github.com/google/cel-java/pull/374](https://github.com/google/cel-java/pull/374)
- Add YAML policy test cases in
[https://github.com/google/cel-java/pull/375](https://github.com/google/cel-java/pull/375)
- Implement YAML parser for policies in
[https://github.com/google/cel-java/pull/377](https://github.com/google/cel-java/pull/377)
- Move computing offset location into CelSourceHelper for reuse in
[https://github.com/google/cel-java/pull/379](https://github.com/google/cel-java/pull/379)
- Add AstMutator methods to construct cel.bind macro with varInit
containing macros in
[https://github.com/google/cel-java/pull/380](https://github.com/google/cel-java/pull/380)
- Add AstMutator methods to construct function calls in
[https://github.com/google/cel-java/pull/381](https://github.com/google/cel-java/pull/381)
- Add Policy Compiler in
[https://github.com/google/cel-java/pull/378](https://github.com/google/cel-java/pull/378)
- Add factories for policy parser and policy compiler in
[https://github.com/google/cel-java/pull/382](https://github.com/google/cel-java/pull/382)
- Add capability to visit custom tags in
[https://github.com/google/cel-java/pull/384](https://github.com/google/cel-java/pull/384)
- Pull getIssueString logic into CelIssue in
[https://github.com/google/cel-java/pull/385](https://github.com/google/cel-java/pull/385)
- Introduce protobuf message testing to policies in
[https://github.com/google/cel-java/pull/386](https://github.com/google/cel-java/pull/386)
- Validate required fields for policy variables in
[https://github.com/google/cel-java/pull/387](https://github.com/google/cel-java/pull/387)
- Compute absolute source location correctly for multiline YAML strings
in
[https://github.com/google/cel-java/pull/395](https://github.com/google/cel-java/pull/395)
- Make iteration limit configurable for rule composer in
[https://github.com/google/cel-java/pull/393](https://github.com/google/cel-java/pull/393)
- Decompose policy compile API into rule compilation and composition in
[https://github.com/google/cel-java/pull/397](https://github.com/google/cel-java/pull/397)
- Surface type-mismatch errors in a readable fashion during rule
composition in
[https://github.com/google/cel-java/pull/399](https://github.com/google/cel-java/pull/399)

**Full Changelog**:
google/cel-java@v0.5.2...v0.6.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/googleapis/sdk-platform-java).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjQzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
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.

1 participant