diff --git a/apps/dashboard/src/main.tsx b/apps/dashboard/src/main.tsx index d544d334f7bc7029c420c624b900b68ee4fd3387..8b921a27750fb69996b113b68c3c728088fc00f1 100644 --- a/apps/dashboard/src/main.tsx +++ b/apps/dashboard/src/main.tsx @@ -26,7 +26,14 @@ const root = ReactDOM.createRoot( ); root.render( <BrowserRouter> - <ConfigProvider> + <ConfigProvider + theme={{ + token: { + colorPrimary: "#06b4cb", + fontFamily: "Roboto", + } + }} + > <App /> </ConfigProvider> </BrowserRouter> diff --git a/apps/dashboard/src/routes/pages/ConnectionListPage/index.tsx b/apps/dashboard/src/routes/pages/ConnectionListPage/index.tsx index a3a120bcd15943de0ee0fe5c362b38f1b55c6a29..cf522aa75248e56d7e15d88eaae97eaeb29142f5 100644 --- a/apps/dashboard/src/routes/pages/ConnectionListPage/index.tsx +++ b/apps/dashboard/src/routes/pages/ConnectionListPage/index.tsx @@ -24,7 +24,9 @@ const ConnectionListPage = observer(() => { </h2> <Space> <Link to={config.connection_create.getLink()}> - <Button> + <Button + type="primary" + > Create new invitation </Button> </Link> diff --git a/infra/ingress.yaml b/infra/ingress.yaml index 1ca5c903fbcfbd64d77e72f2e17eed02266aceed..5951b29af9aa53828f2027aeeefbaf46c7604aab 100644 --- a/infra/ingress.yaml +++ b/infra/ingress.yaml @@ -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 diff --git a/infra/ocm-deployment.yaml b/infra/ocm-api-deployment.yaml similarity index 94% rename from infra/ocm-deployment.yaml rename to infra/ocm-api-deployment.yaml index da1c686815f092137bf188ecaa5835b9a9cc5ab4..909c45d1c5ba726cab4119993123e4ecd25d5a1f 100644 --- a/infra/ocm-deployment.yaml +++ b/infra/ocm-api-deployment.yaml @@ -1,20 +1,20 @@ 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 diff --git a/infra/ocm-service.yaml b/infra/ocm-api-service.yaml similarity index 88% rename from infra/ocm-service.yaml rename to infra/ocm-api-service.yaml index e2cf18795043f85f7aae15cbab053122b5355c2d..f0b181327e0b5fe57baa821093476fe0389510be 100644 --- a/infra/ocm-service.yaml +++ b/infra/ocm-api-service.yaml @@ -1,11 +1,11 @@ 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 diff --git a/libs/askar/src/askar/agent.service.ts b/libs/askar/src/askar/agent.service.ts index 3c6fa853fe09d7862850a95f97dde7cb8152a620..8febc4aa08b5eadab42c0b528c45bc3ebc674d5d 100644 --- a/libs/askar/src/askar/agent.service.ts +++ b/libs/askar/src/askar/agent.service.ts @@ -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();