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
package org.example.jrdfox; | |
import java.util.HashMap; | |
import java.util.Map; | |
import tech.oxfordsemantic.jrdfox.client.ConnectionFactory; | |
public class ServerDirectoryInitializationDemo { | |
public static void main(String[] args) throws Exception { |
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
apiVersion: apps/v1 | |
kind: StatefulSet | |
metadata: | |
name: rdfox-stateful-set | |
spec: | |
selector: | |
matchLabels: | |
app: rdfox-app | |
serviceName: "rdfox-set" | |
replicas: 3 |
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
dstore create family par-complex-nn | |
active family | |
import data.ttl | |
import rules.dlog | |
role create guest | |
grant privileges read > to guest |
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
volumeClaimTemplates: | |
- metadata: | |
name: server-directory | |
spec: | |
accessModes: [ "ReadWriteOnce" ] | |
storageClassName: "gp2" | |
resources: | |
requests: | |
storage: 1Gi |
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
template: | |
metadata: | |
labels: | |
app: rdfox-app | |
spec: | |
containers: | |
- name: rdfox | |
image: oxfordsemantic/rdfox:3.1.1 | |
args: ['-license-file', '/license/RDFox.lic', 'daemon'] | |
ports: |
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
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: rdfox-ingress | |
annotations: | |
kubernetes.io/ingress.class: alb | |
alb.ingress.kubernetes.io/scheme: internet-facing | |
alb.ingress.kubernetes.io/listen-ports: '[{"HTTPS":443}]' | |
spec: | |
tls: |
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
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: rdfox-service | |
spec: | |
type: NodePort | |
selector: | |
app: rdfox-app | |
ports: | |
- protocol: TCP |
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
apiVersion: apps/v1 | |
kind: StatefulSet | |
metadata: | |
name: rdfox-stateful-set | |
spec: | |
selector: | |
matchLabels: | |
app: rdfox-app | |
serviceName: "rdfox-set" | |
replicas: 3 |
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
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: rdfox-set | |
labels: | |
app: rdfox-app | |
spec: | |
ports: | |
- port: 80 | |
targetPort: rdfox-endpoint |