Skip to content
Snippets Groups Projects
Commit a8484cd5 authored by Alexey Lunin's avatar Alexey Lunin
Browse files

infra fixes

parent c484d900
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,14 @@ const root = ReactDOM.createRoot( ...@@ -26,7 +26,14 @@ const root = ReactDOM.createRoot(
); );
root.render( root.render(
<BrowserRouter> <BrowserRouter>
<ConfigProvider> <ConfigProvider
theme={{
token: {
colorPrimary: "#06b4cb",
fontFamily: "Roboto",
}
}}
>
<App /> <App />
</ConfigProvider> </ConfigProvider>
</BrowserRouter> </BrowserRouter>
......
...@@ -24,7 +24,9 @@ const ConnectionListPage = observer(() => { ...@@ -24,7 +24,9 @@ const ConnectionListPage = observer(() => {
</h2> </h2>
<Space> <Space>
<Link to={config.connection_create.getLink()}> <Link to={config.connection_create.getLink()}>
<Button> <Button
type="primary"
>
Create new invitation Create new invitation
</Button> </Button>
</Link> </Link>
......
...@@ -12,7 +12,7 @@ spec: ...@@ -12,7 +12,7 @@ spec:
path: "/" path: "/"
backend: backend:
service: service:
name: ocm-service name: ocm-api-service
port: port:
number: 8081 number: 8081
...@@ -33,6 +33,6 @@ spec: ...@@ -33,6 +33,6 @@ spec:
path: "/" path: "/"
backend: backend:
service: service:
name: ocm-service name: ocm-api-service
port: port:
number: 8001 number: 8001
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: ocm name: ocm-api
namespace: vereign namespace: vereign
spec: spec:
replicas: 1 replicas: 1
selector: selector:
matchLabels: matchLabels:
app: ocm app: ocm-api
template: template:
metadata: metadata:
labels: labels:
app: ocm app: ocm-api
spec: spec:
containers: containers:
- name: ocm - name: ocm-api
image: alexeylunin0/ggio-ocm-engine:latest image: alexeylunin0/ggio-ocm-engine:latest
ports: ports:
- containerPort: 8080 - containerPort: 8080
...@@ -29,7 +29,7 @@ spec: ...@@ -29,7 +29,7 @@ spec:
- name: AGENT_PEER_URL - name: AGENT_PEER_URL
value: "https://ocm-agent.vereign-labs.com" value: "https://ocm-agent.vereign-labs.com"
- name: AGENT_NAME - name: AGENT_NAME
value: "OCM_labs" # this should be changed to company name value: "OCM_LABS" # this should be changed to company name
- name: AGENT_KEY - name: AGENT_KEY
value: OCM_LABS #example random string value: OCM_LABS #example random string
- name: AGENT_DID_SEED - name: AGENT_DID_SEED
......
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: ocm-service name: ocm-api-service
namespace: vereign namespace: vereign
spec: spec:
selector: selector:
app: ocm app: ocm-api
ports: ports:
- name: api - name: api
port: 8080 port: 8080
......
...@@ -634,7 +634,12 @@ export class AgentService { ...@@ -634,7 +634,12 @@ export class AgentService {
const proofRecord = await this.askar.agent.proofs.findById(proofRecordId); const proofRecord = await this.askar.agent.proofs.findById(proofRecordId);
if (!proofRecord) { if (!proofRecord) {
return proofRecord; return null;
}
if (proofRecord.state === ProofState.Done) {
const data = await this.askar.agent.proofs.getFormatData(proofRecord.id);
console.log(JSON.stringify(data, null, 2));
} }
const proofResponse = new ProofRecordDto(); const proofResponse = new ProofRecordDto();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment