Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ RUN apt-get install -y --no-install-recommends yarn
# AFJ specifc setup
WORKDIR /www

COPY bin ./bin
COPY package.json package.json
COPY /apps/agent-provisioning/AFJ/afj-controller/bin ./bin
COPY /apps/agent-provisioning/AFJ/afj-controller/package.json package.json
RUN yarn install --production

COPY build ./build
COPY libindystrgpostgres.so /usr/lib/
COPY libindystrgpostgres.so /usr/local/lib/
COPY /apps/agent-provisioning/AFJ/afj-controller/build ./build
COPY /apps/agent-provisioning/AFJ/afj-controller/libindystrgpostgres.so /usr/lib/
COPY /apps/agent-provisioning/AFJ/afj-controller/libindystrgpostgres.so /usr/local/lib/

ENTRYPOINT [ "./bin/afj-rest.js", "start" ]
5 changes: 4 additions & 1 deletion src/cliAgent.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { InitConfig, AutoAcceptCredential, AutoAcceptProof, DidsModule, ProofsModule, V2ProofProtocol, CredentialsModule, V2CredentialProtocol, ConnectionsModule } from '@aries-framework/core'
import { InitConfig, AutoAcceptCredential, AutoAcceptProof, DidsModule, ProofsModule, V2ProofProtocol, CredentialsModule, V2CredentialProtocol, ConnectionsModule, CacheModule, InMemoryLruCache } from '@aries-framework/core'
import type { WalletConfig } from '@aries-framework/core/build/types'

import { HttpOutboundTransport, WsOutboundTransport, LogLevel, Agent } from '@aries-framework/core'
Expand Down Expand Up @@ -132,6 +132,9 @@ export async function runRestAgent(restConfig: AriesRestConfig) {
}),
],
}),
cache: new CacheModule({
cache: new InMemoryLruCache({ limit: 1000 }),
}),
},
dependencies: agentDependencies,
});
Expand Down
344 changes: 0 additions & 344 deletions src/controllers/multi-tenancy/Multi-TenancyController.ts

This file was deleted.

Loading