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

upd v0.20.11 #18

Merged
merged 3 commits into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
gpg-passphrase: MAVEN_GPG_PASSPHRASE

- name: build artifact
run: mvn clean package
run: mvn --no-transfer-progress clean package

- name: Create release
uses: ncipollo/release-action@v1
Expand Down
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,18 @@

[![slack](https://img.shields.io/badge/slack-Aserto%20Community-brightgreen)](https://asertocommunity.slack.com)

Java GRPC bindings for aserto-authorizer. Those are raw bindings, for a better developer experience we recommend you use [aserto-java](https://github.com/aserto-dev/aserto-java) or [aserto-spring](https://github.com/aserto-dev/aserto-spring) if your project already uses Spring.
Generated Java gRPC bindings for the Aserto & Topaz Authorizer Service; these are low-level bindings.

For a more idiomatic development experience, we advise using the [aserto-java](https://github.com/aserto-dev/aserto-java) and/or [aserto-spring](https://github.com/aserto-dev/aserto-spring) packages.


> **Warning**
>
> **0.20.5** is the latest version published to maven central. Versions starting with 1.0.z have been removed from maven central and are no longer available for download.
> **0.20.11** is the latest version published to maven central. Versions starting with 1.0.x have been removed from maven central and are no longer available for download.


## Requirements
- golang 1.19
- golang 1.22
- [maven](https://maven.apache.org/guides/introduction/introduction-to-the-pom.html)
- java 1.8 or newer

Expand All @@ -24,6 +27,7 @@ Build the maven package
```bash
mvn clean package
```

If you want to install the package to your local maven repository in order to include it in other projects
```bash
mvn clean install
Expand Down
7 changes: 4 additions & 3 deletions buf.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ version: v1
managed:
enabled: true
java_package_prefix: com

plugins:
- plugin: buf.build/grpc/java
- plugin: buf.build/grpc/java:v1.64.0
out: src/main/java
# # dependencies
- plugin: buf.build/protocolbuffers/java

- plugin: buf.build/protocolbuffers/java:v25.3
out: src/main/java
7 changes: 3 additions & 4 deletions examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.aserto</groupId>
<artifactId>examples</artifactId>
<version>1.0.0</version>
<version>1.0.0-SNAPSHOT</version>

<properties>
<maven.compiler.source>8</maven.compiler.source>
Expand All @@ -18,7 +18,7 @@
<dependency>
<groupId>com.aserto</groupId>
<artifactId>java-authorizer</artifactId>
<version>0.20.5</version>
<version>0.20.11</version>
</dependency>

<!-- Used to load .env files -->
Expand All @@ -34,7 +34,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.4.1</version>
<version>3.6.0</version>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
</configuration>
Expand All @@ -58,5 +58,4 @@
</plugin>
</plugins>
</build>

</project>
2 changes: 1 addition & 1 deletion magefiles/magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func BuildDev() error {

// Builds the java project
func Build() error {
err := sh.RunV("mvn", "clean", "package")
err := sh.RunV("mvn", "--no-transfer-progress", "clean", "package")

return err
}
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

<groupId>com.aserto</groupId>
<artifactId>java-authorizer</artifactId>
<version>0.20.10</version>
<version>0.20.11</version>

<name>${project.groupId}:${project.artifactId}</name>
<description>Java GRPC bindings for aserto-authorizer. Those are raw bindings, for a better developer experience we recommend you use aserto-java or aserto-spring if your project already uses Spring.</description>
<description>Generated Java gRPC bindings for the Topaz and Aserto Authorizer Service; these are low-level bindings. For a more idiomatic development experience, we advise using the aserto-java and/or aserto-spring packages.</description>
<url>https://github.com/aserto-dev/java-authorizer</url>

<licenses>
Expand Down Expand Up @@ -39,7 +39,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<grpc.version>1.64.0</grpc.version>
<protobuf.version>4.27.1</protobuf.version>
<protobuf.version>3.25.3</protobuf.version>
<tomcat.annotation.api.version>6.0.53</tomcat.annotation.api.version>
</properties>

Expand Down
95 changes: 42 additions & 53 deletions src/main/java/com/aserto/authorizer/v2/AuthorizerProto.java

Large diffs are not rendered by default.

Loading