Skip to content

Commit

Permalink
Enable indexing for ResourceServerEntity
Browse files Browse the repository at this point in the history
  • Loading branch information
mhajas authored and hmlnarik committed Jun 20, 2022
1 parent d8112d7 commit 781183e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
implementInterface = "org.keycloak.models.map.authorization.entity.MapResourceServerEntity",
inherits = "org.keycloak.models.map.storage.hotRod.authorization.HotRodResourceServerEntity.AbstractHotRodResourceServerEntity"
)
@ProtoDoc("@Indexed")
public class HotRodResourceServerEntity extends AbstractHotRodEntity {

@ProtoDoc("@Field(index = Index.YES, store = Store.YES)")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
<encoding media-type="application/x-protostream"/>
<indexing>
<indexed-entities>
<indexed-entity>kc.HotRodResourceServerEntity</indexed-entity>
<indexed-entity>kc.HotRodResourceEntity</indexed-entity>
<indexed-entity>kc.HotRodScopeEntity</indexed-entity>
<indexed-entity>kc.HotRodPolicyEntity</indexed-entity>
Expand Down
1 change: 1 addition & 0 deletions model/map-hot-rod/src/main/resources/config/infinispan.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
<encoding media-type="application/x-protostream"/>
<indexing>
<indexed-entities>
<indexed-entity>kc.HotRodResourceServerEntity</indexed-entity>
<indexed-entity>kc.HotRodResourceEntity</indexed-entity>
<indexed-entity>kc.HotRodScopeEntity</indexed-entity>
<indexed-entity>kc.HotRodPolicyEntity</indexed-entity>
Expand Down
1 change: 1 addition & 0 deletions testsuite/model/src/main/resources/hotrod/infinispan.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
<encoding media-type="application/x-protostream"/>
<indexing>
<indexed-entities>
<indexed-entity>kc.HotRodResourceServerEntity</indexed-entity>
<indexed-entity>kc.HotRodResourceEntity</indexed-entity>
<indexed-entity>kc.HotRodScopeEntity</indexed-entity>
<indexed-entity>kc.HotRodPolicyEntity</indexed-entity>
Expand Down

0 comments on commit 781183e

Please sign in to comment.