Skip to content

Commit

Permalink
Published master to GitHub pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
tristantarrant committed Jun 18, 2024
1 parent aa0f915 commit 8b63937
Show file tree
Hide file tree
Showing 34 changed files with 170 additions and 485 deletions.
118 changes: 24 additions & 94 deletions blog/2024/06/10/infinispan-15-queries.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,29 +142,13 @@ <h2 id="rest_projections">Rest queries with projections</h2>
</div>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">@Indexed(index = "play")
public class Game {

private final String name;
private final String description;

@ProtoFactory
public Game(String name, String description) {
this.name = name;
this.description = description;
}

<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">@Proto
@Indexed(index = "play")
public record Game(
@Keyword(projectable = true, sortable = true)
@ProtoField(1)
public String getName() {
return name;
}

@Text
@ProtoField(2)
public String getDescription() {
return description;
}
String name,
@Text @ProtoField(2)
String description) {
}</code></pre>
</div>
</div>
Expand Down Expand Up @@ -271,37 +255,15 @@ <h2 id="filter-elements">Filter elements for kNN queries</h2>
</div>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">@Indexed
public class Item {

private String code;
private float[] floatVector;
private String description;

@ProtoFactory
public Item(String code, float[] floatVector, String description) {
this.code = code;
this.floatVector = floatVector;
this.description = description;
}

<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">@Proto
@Indexed
public record Item(
@Keyword
@ProtoField(1)
public String getCode() {
return code;
}

String code,
@Vector(dimension = 3)
@ProtoField(2)
public float[] getFloatVector() {
return floatVector;
}

float[] floatVector,
@Text
@ProtoField(3)
public String getDescription() {
return description;
}
String description) {
}</code></pre>
</div>
</div>
Expand Down Expand Up @@ -353,60 +315,28 @@ <h2 id="index-query-by-keys">Index by keys - query by keys</h2>
</div>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">@Indexed
public class PlaceKey {

private Integer row;
private Integer column;

@ProtoFactory
public StructureKey(Integer row, Integer column) {
this.row = row;
this.column = column;
}

<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">@Proto
@Indexed
public record PlaceKey(
@Basic(projectable = true, sortable = true)
@ProtoField(2)
public Integer getRow() {
return row;
}

Integer row,
@Basic(projectable = true, sortable = true)
@ProtoField(3)
public Integer getColumn() {
return column;
}
Integer column) {
}</code></pre>
</div>
</div>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">@Indexed(keyEntity = "model.PlaceKey")
public class Place {

private final String code;
private final String description;

@ProtoFactory
public Structure(String code, String description) {
this.code = code;
this.description = description;
}

@ProtoField(1)
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">@Proto
@Indexed(keyEntity = "model.PlaceKey")
public record Place(
@Basic
public String getCode() {
return code;
}

@ProtoField(2)
String code,
@Text
public String getDescription() {
return description;
}
String description) {

@ProtoSchema(includeClasses = { Place.class, PlaceKey.class }, schemaPackageName = "model")
public interface StructureSchema extends GeneratedSchema {
@ProtoSchema(includeClasses = {Place.class, PlaceKey.class}, schemaPackageName = "model")
public interface PlaceSchema extends GeneratedSchema {
PlaceSchema INSTANCE = new PlaceSchemaImpl();
}
}</code></pre>
Expand Down
2 changes: 1 addition & 1 deletion docs/infinispan-operator/2.3.x/operator.html
Original file line number Diff line number Diff line change
Expand Up @@ -8856,7 +8856,7 @@ <h3 id="connecting-rest_clients"><a class="anchor" href="#connecting-rest_client
</div>
<div id="footer">
<div id="footer-text">
Last updated 2024-05-22 16:18:16 +0200
Last updated 2024-06-17 20:37:15 +0200
</div>
</div>
<script>
Expand Down
2 changes: 1 addition & 1 deletion docs/infinispan-operator/main/operator.html
Original file line number Diff line number Diff line change
Expand Up @@ -8488,7 +8488,7 @@ <h3 id="connecting-rest_clients"><a class="anchor" href="#connecting-rest_client
</div>
<div id="footer">
<div id="footer-text">
Last updated 2024-06-14 12:03:39 +0200
Last updated 2024-06-17 20:37:44 +0200
</div>
</div>
<script>
Expand Down
2 changes: 1 addition & 1 deletion docs/stable/cheat-sheets/cache-configuration.html
Original file line number Diff line number Diff line change
Expand Up @@ -1176,7 +1176,7 @@ <h2 id="configuration_formats"><a class="anchor" href="#configuration_formats"><
</div>
<div id="footer">
<div id="footer-text">
Last updated 2024-06-17 20:40:49 UTC
Last updated 2024-05-07 11:26:47 -0400
</div>
</div>
<script type="text/x-mathjax-config">
Expand Down
2 changes: 1 addition & 1 deletion docs/stable/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ <h2 id="developing_applications_with_infinispan" class="discrete">Developing app
</div>
<div id="footer">
<div id="footer-text">
Last updated 2024-06-17 20:40:49 UTC
Last updated 2024-04-18 11:25:44 -0400
</div>
</div>
<script type="text/x-mathjax-config">
Expand Down
2 changes: 1 addition & 1 deletion docs/stable/titles/cli/cli.html
Original file line number Diff line number Diff line change
Expand Up @@ -6375,7 +6375,7 @@ <h4 id="see_also_32"><a class="anchor" href="#see_also_32"></a>8.43.4. SEE ALSO<
</div>
<div id="footer">
<div id="footer-text">
Last updated 2024-06-17 20:40:49 UTC
Last updated 2024-04-18 11:25:44 -0400
</div>
</div>
<script type="text/x-mathjax-config">
Expand Down
8 changes: 4 additions & 4 deletions docs/stable/titles/configuring/configuring.html
Original file line number Diff line number Diff line change
Expand Up @@ -3124,7 +3124,7 @@ <h4 id="default-cache-manager-creating-remote-caches"><a class="anchor" href="#d
</dd>
<dt class="hdlist1">REST</dt>
<dd>
<p>Open <code>127.0.0.1:11222/rest/v2/container/</code> in any browser.</p>
<p>Open <code>127.0.0.1:11222/rest/v2/cache-managers/default/</code> in any browser.</p>
</dd>
</dl>
</div>
Expand Down Expand Up @@ -4447,7 +4447,7 @@ <h4 id="monitoring-cross-site-rest" class="discrete">Monitoring cross-site repli
def __init__(self, server: str = 'http://localhost:11222', cache_manager: str = 'default',
auth: tuple = ('admin', 'change_me')) -&gt; None:
super().__init__()
self.__url = f'{server}/rest/v2/container/x-site/backups/'
self.__url = f'{server}/rest/v2/cache-managers/{cache_manager}/x-site/backups/'
self.__auth = auth
self.__headers = {
'accept': 'application/json'
Expand Down Expand Up @@ -10024,7 +10024,7 @@ <h4 id="checking-cache-availability_partition-handling"><a class="anchor" href="
<p>Retrieve cache health from the REST API.</p>
<div class="listingblock">
<div class="content">
<pre class="highlight nowrap"><code>GET /rest/v2/container/health</code></pre>
<pre class="highlight nowrap"><code>GET /rest/v2/cache-managers/&lt;cacheManagerName&gt;/health</code></pre>
</div>
</div>
</li>
Expand Down Expand Up @@ -13094,7 +13094,7 @@ <h4 id="asynchronous_thread_pool" class="discrete">Asynchronous thread pool</h4>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2024-06-17 20:40:49 UTC
Last updated 2024-04-18 11:25:44 -0400
</div>
</div>
<script type="text/x-mathjax-config">
Expand Down
2 changes: 1 addition & 1 deletion docs/stable/titles/contributing/contributing.html
Original file line number Diff line number Diff line change
Expand Up @@ -3684,7 +3684,7 @@ <h3 id="infinispan_methods_and_corresponding_verbs"><a class="anchor" href="#inf
</div>
<div id="footer">
<div id="footer-text">
Last updated 2024-06-17 20:40:49 UTC
Last updated 2024-04-18 11:25:44 -0400
</div>
</div>
<script type="text/x-mathjax-config">
Expand Down
2 changes: 1 addition & 1 deletion docs/stable/titles/developing/developing.html
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ <h1>Infinispan Developer Guide</h1>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2024-06-17 20:40:49 UTC
Last updated 2024-04-18 11:25:44 -0400
</div>
</div>
<script type="text/x-mathjax-config">
Expand Down
21 changes: 18 additions & 3 deletions docs/stable/titles/embedding/embedding.html
Original file line number Diff line number Diff line change
Expand Up @@ -1709,7 +1709,7 @@ <h3 id="executing-secure-caches_rbac-embedded"><a class="anchor" href="#executin
<div class="title">Procedure</div>
<ol class="arabic">
<li>
<p>If necessary, retrieve the current Subject from the Infinispan context:</p>
<p>If necessary, retrieve the current Subject from the Infinispan context or <code>AccessControlContext</code>:</p>
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-java" data-lang="java">Security.getSubject();</code></pre>
Expand All @@ -1726,6 +1726,21 @@ <h3 id="executing-secure-caches_rbac-embedded"><a class="anchor" href="#executin
</li>
</ol>
</div>
<div class="admonitionblock note">
<table>
<tr>
<td class="icon">
<i class="fa icon-note" title="Note"></i>
</td>
<td class="content">
<div class="paragraph">
<p>You can use the <code>Security.doAs()</code> or <code>Subject.doAs()</code> method.
Infinispan recommends <code>Security.doAs()</code> for better performance.</p>
</div>
</td>
</tr>
</table>
</div>
<div class="ulist _additional-resources">
<div class="title">Additional resources</div>
<ul>
Expand Down Expand Up @@ -2435,7 +2450,7 @@ <h4 id="monitoring-cross-site-rest" class="discrete">Monitoring cross-site repli
def __init__(self, server: str = 'http://localhost:11222', cache_manager: str = 'default',
auth: tuple = ('admin', 'change_me')) -&gt; None:
super().__init__()
self.__url = f'{server}/rest/v2/container/x-site/backups/'
self.__url = f'{server}/rest/v2/cache-managers/{cache_manager}/x-site/backups/'
self.__auth = auth
self.__headers = {
'accept': 'application/json'
Expand Down Expand Up @@ -7213,7 +7228,7 @@ <h3 id="extending_the_configuration_builders_and_parsers"><a class="anchor" href
</div>
<div id="footer">
<div id="footer-text">
Last updated 2024-06-17 20:40:49 UTC
Last updated 2024-04-18 11:25:44 -0400
</div>
</div>
<script type="text/x-mathjax-config">
Expand Down
2 changes: 1 addition & 1 deletion docs/stable/titles/encoding/encoding.html
Original file line number Diff line number Diff line change
Expand Up @@ -2612,7 +2612,7 @@ <h3 id="converting-data-on-demand_transcoding"><a class="anchor" href="#converti
</div>
<div id="footer">
<div id="footer-text">
Last updated 2024-06-17 20:40:49 UTC
Last updated 2024-04-18 11:25:44 -0400
</div>
</div>
<script type="text/x-mathjax-config">
Expand Down
2 changes: 1 addition & 1 deletion docs/stable/titles/getting_started/getting_started.html
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ <h3 id="mvn_archetypes"><a class="anchor" href="#mvn_archetypes"></a>1.2. Genera
</div>
<div id="footer">
<div id="footer-text">
Last updated 2024-06-17 20:40:49 UTC
Last updated 2024-04-18 11:25:44 -0400
</div>
</div>
<script type="text/x-mathjax-config">
Expand Down
2 changes: 1 addition & 1 deletion docs/stable/titles/hibernate/hibernate.html
Original file line number Diff line number Diff line change
Expand Up @@ -1473,7 +1473,7 @@ <h3 id="using_minimal_puts"><a class="anchor" href="#using_minimal_puts"></a>1.6
</div>
<div id="footer">
<div id="footer-text">
Last updated 2024-06-17 20:40:49 UTC
Last updated 2024-04-18 11:25:44 -0400
</div>
</div>
<script type="text/x-mathjax-config">
Expand Down
2 changes: 1 addition & 1 deletion docs/stable/titles/hotrod_java/hotrod_java.html
Original file line number Diff line number Diff line change
Expand Up @@ -3521,7 +3521,7 @@ <h4 id="adding_the_test_container_to_your_project_dependencies"><a class="anchor
</div>
<div id="footer">
<div id="footer-text">
Last updated 2024-06-17 20:40:49 UTC
Last updated 2024-04-18 11:25:44 -0400
</div>
</div>
<script type="text/x-mathjax-config">
Expand Down
2 changes: 1 addition & 1 deletion docs/stable/titles/hotrod_protocol/hotrod_protocol.html
Original file line number Diff line number Diff line change
Expand Up @@ -8195,7 +8195,7 @@ <h3 id="hot_rod_protocol_3_1"><a class="anchor" href="#hot_rod_protocol_3_1"></a
</div>
<div id="footer">
<div id="footer-text">
Last updated 2024-06-17 20:40:49 UTC
Last updated 2024-04-18 11:25:44 -0400
</div>
</div>
<script type="text/x-mathjax-config">
Expand Down
2 changes: 1 addition & 1 deletion docs/stable/titles/memcached/memcached.html
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ <h5 id="meta_protocol"><a class="anchor" href="#meta_protocol"></a>Meta protocol
</div>
<div id="footer">
<div id="footer-text">
Last updated 2024-06-17 20:40:49 UTC
Last updated 2024-05-07 11:26:47 -0400
</div>
</div>
<script type="text/x-mathjax-config">
Expand Down
2 changes: 1 addition & 1 deletion docs/stable/titles/query/query.html
Original file line number Diff line number Diff line change
Expand Up @@ -3611,7 +3611,7 @@ <h3 id="tuning-query-performance_query-monitoring-tuning"><a class="anchor" href
</div>
<div id="footer">
<div id="footer-text">
Last updated 2024-06-17 20:40:49 UTC
Last updated 2024-04-18 11:25:44 -0400
</div>
</div>
<script type="text/x-mathjax-config">
Expand Down
Loading

0 comments on commit 8b63937

Please sign in to comment.