-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
32 additions
and
26 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
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
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
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,13 @@ | ||
package org.fiware.odrl.persistence; | ||
|
||
import io.quarkus.runtime.annotations.RegisterForReflection; | ||
import lombok.Data; | ||
|
||
/** | ||
* @author <a href="https://github.com/wistefan">Stefan Wiedemann</a> | ||
*/ | ||
@RegisterForReflection | ||
@Data | ||
public class Policy { | ||
private String policy; | ||
} |
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
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 |
---|---|---|
@@ -1,15 +1,10 @@ | ||
package org.fiware.odrl.rego; | ||
|
||
import io.quarkus.runtime.annotations.RegisterForReflection; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Data; | ||
|
||
/** | ||
* @author <a href="https://github.com/wistefan">Stefan Wiedemann</a> | ||
*/ | ||
@RegisterForReflection | ||
@Data | ||
@AllArgsConstructor | ||
public class OdrlPolicy { | ||
private String policy; | ||
public record OdrlPolicy(String policy) { | ||
} |
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 |
---|---|---|
@@ -1,15 +1,10 @@ | ||
package org.fiware.odrl.rego; | ||
|
||
import io.quarkus.runtime.annotations.RegisterForReflection; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Data; | ||
|
||
/** | ||
* @author <a href="https://github.com/wistefan">Stefan Wiedemann</a> | ||
*/ | ||
@RegisterForReflection | ||
@Data | ||
@AllArgsConstructor | ||
public class RegoPolicy { | ||
private String policy; | ||
public record RegoPolicy(String policy) { | ||
} |