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

infra fixes

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