ivant._68122
10/17/2024, 6:15 PM{"data":{"StructureDefinitionList":[],"SearchParameterList":[]}}
And the main question - I can't understand where all this definitions are stored, how and when they are pulled and why the object is empty. I'm trying to log everything, but the structure is huge and looks like i've missed something.
So deployed server sonfig looks like that:
const baseURL = "https://test-server.health.com/"
const defaultConfig = {
port: 8103,
baseUrl,
issuer: baseUrl,
audience: baseUrl,
jwksUrl: `${baseUrl}.well-known/jwks.json`,
authorizeUrl: `${baseUrl}oauth2/authorize`,
tokenUrl: `${baseUrl}oauth2/token`,
userInfoUrl: `${baseUrl}oauth2/userinfo`,
appBaseUrl,
binaryStorage: 'file:./binary/',
storageBaseUrl: `${baseUrl}storage/`,
defaultProjectFeatures: [],
supportEmail: '"Medplum" <support@medplum.com>',
googleClientId: '397236612778-c0b5tnjv98frbo1tfuuha5vkme3cmq4s.apps.googleusercontent.com',
googleClientSecret: '',
recaptchaSiteKey: '6LfHdsYdAAAAAC0uLnnRrDrhcXnziiUwKd8VtLNq',
recaptchaSecretKey: '6LfHdsYdAAAAAH9dN154jbJ3zpQife3xaiTvPChL',
adminClientId: '2a4b77f2-4d4e-43c6-9b01-330eb5ca772f',
maxJsonSize: '5mb',
botLambdaRoleArn: '',
botLambdaLayerName: 'medplum-bot-layer',
vmContextBotsEnabled: true,
defaultBotRuntimeVersion: 'vmcontext',
allowedOrigins: '*',
introspectionEnabled: true,
database: db.config,
redis: redis.config,
bullmq: {
removeOnFail: { count: 1 },
removeOnComplete: { count: 1 },
},
shutdownTimeoutMilliseconds: 30000,
chainedSearchWithReferenceTables: true,
};