Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- acceptPrivacyNotice(String) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- accessToken() - Method in record class ca.cdr.test.app.clients.AccessTokenResponse
-
Returns the value of the
accessTokenrecord component. - AccessTokenResponse - Record Class in ca.cdr.test.app.clients
-
A successful OAuth 2.0 token endpoint response.
- AccessTokenResponse(String, String, Long, String, String, String, JsonNode) - Constructor for record class ca.cdr.test.app.clients.AccessTokenResponse
-
Creates an instance of a
AccessTokenResponserecord class. - addExtraComponent(AbstractType, int, String) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- adminJsonRequest(String) - Method in interface ca.cdr.test.app.harness.api.SmileHarness
-
Starts building a request against the Admin JSON API, pre-authenticated with this harness's
HarnessContextcredentials via HTTP Basic Auth. - adminJsonRequest(String) - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- AdminJsonRestClient - Class in ca.cdr.test.app.clients
-
AdminJsonRestClient is a client for the Admin API of the CDR.
- AdminJsonRestClient.ForbiddenOperationException - Exception Class in ca.cdr.test.app.clients
-
Exception thrown when a forbidden operation is attempted
- anonymousRequest(int, String) - Method in interface ca.cdr.test.app.harness.api.SmileHarness
-
Starts building an unauthenticated request against any port this harness can reach.
- anonymousRequest(int, String) - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- anonymousRequest(String, String) - Method in interface ca.cdr.test.app.harness.api.SmileHarness
-
Starts building an unauthenticated request against a specific module, resolving that module's port the way
SmileHarness.request(String, String)does. - anonymousRequest(String, String) - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- authorizeAfterLogin(String) - Method in class ca.cdr.test.app.clients.OutboundSmartClient
-
Completes the authorization step and extracts the authorization code from the redirect.
- authorizeBeforeLogin(String) - Method in class ca.cdr.test.app.clients.OutboundSmartClient
-
Attempts to access an authorization URL and handles the redirect to the login screen.
- awaitBulkExport(String) - Method in class ca.cdr.test.app.clients.CdrFhirClient
- awaitBulkExport(String, Duration, Duration) - Method in class ca.cdr.test.app.clients.CdrFhirClient
- awaitNewTransactionLogEntry(Long) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
B
- baseUrl() - Method in record class ca.cdr.test.app.harness.api.HarnessContext
-
Returns the value of the
baseUrlrecord component. - build() - Method in class ca.cdr.test.app.clients.PackageSpecBuilder
-
Build the PackageInstallationSpec
- build(String, String, String) - Static method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Deprecated, for removal: This API element is subject to removal in a future version.
- build(String, String, String) - Static method in class ca.cdr.test.app.clients.HL7V2RestClient
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
HL7V2RestClient.open(String, String, String), whose name says that the client owns the connection pool it returns and that the caller has to close it. - build(String, String, String) - Static method in class ca.cdr.test.app.clients.NpmPackageClient
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
NpmPackageClient.open(String, String, String), whose name says that the client owns the connection pool it returns and that the caller has to close it. - buildAnonymous(String) - Static method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
AdminJsonRestClient.openAnonymous(String), whose name says that the client owns the connection pool it returns and that the caller has to close it. - buildAnonymous(String) - Static method in class ca.cdr.test.app.clients.NpmPackageClient
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
NpmPackageClient.openAnonymous(String), whose name says that the client owns the connection pool it returns and that the caller has to close it. - buildDefault(FhirContext) - Static method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- buildScopeString(String[]) - Method in class ca.cdr.test.app.clients.OutboundSmartClient
-
Builds a space-separated scope string from an array of scopes.
C
- ca.cdr.test.app.clients - package ca.cdr.test.app.clients
- ca.cdr.test.app.clients.common - package ca.cdr.test.app.clients.common
-
The HTTP transport the typed test clients in
ca.cdr.test.app.clientsshare, and the ownership rule that decides who may close it. - ca.cdr.test.app.harness.api - package ca.cdr.test.app.harness.api
- ca.cdr.test.app.harness.impl - package ca.cdr.test.app.harness.impl
- ca.cdr.test.extensions - package ca.cdr.test.extensions
- ca.cdr.test.hl7v2 - package ca.cdr.test.hl7v2
- ca.cdr.test.model - package ca.cdr.test.model
- ca.cdr.test.util - package ca.cdr.test.util
- cancelBatchJob(String, String) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Cancel a batch job
- capabilities() - Method in class ca.cdr.test.app.clients.CdrFhirClient
- CdrFhirClient - Class in ca.cdr.test.app.clients
- CdrFhirClient(IGenericClient, Function<String, HttpTestRequest>, Function<String, HttpTestRequest>) - Constructor for class ca.cdr.test.app.clients.CdrFhirClient
- CdsHooksClient - Class in ca.cdr.test.app.clients
-
A client for a Smile CDR CDS Hooks endpoint (
ENDPOINT_CDS_HOOKS), covering the three endpoints of the CDS Hooks specification: discovery, service invocation and feedback. - clearCookies() - Method in interface ca.cdr.test.app.clients.common.ISmileTestHttpClient
-
Discards every cookie held by this client, ending any session established by prior requests.
- clearCookies() - Method in class ca.cdr.test.app.clients.common.SmileTestHttpClient
- clearCookies() - Method in interface ca.cdr.test.app.harness.api.SmileHarness
-
Discards every cookie held by this harness's HTTP client, ending any session established by prior requests.
- clearCookies() - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- client() - Method in record class ca.cdr.test.app.clients.common.HttpClientOwnership
-
Returns the value of the
clientrecord component. - clientCredentials(String, String, String...) - Method in class ca.cdr.test.app.clients.OutboundSmartClient
-
Obtains an access token with the client credentials grant, authenticating with a client secret sent via HTTP Basic authentication.
- clientCredentialsWithAssertion(String, String, String...) - Method in class ca.cdr.test.app.clients.OutboundSmartClient
-
Obtains an access token with the client credentials grant, authenticating with a signed JWT client assertion, as SMART Backend Services clients do.
- close() - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Releases the connection pool this client built for itself.
- close() - Method in class ca.cdr.test.app.clients.CdsHooksClient
-
Releases the connection pool this client built for itself.
- close() - Method in class ca.cdr.test.app.clients.common.SmileTestHttpClient
-
Closes both underlying clients and the connection pool they share.
- close() - Method in class ca.cdr.test.app.clients.HL7V2RestClient
-
Releases the connection pool this client built for itself.
- close() - Method in class ca.cdr.test.app.clients.NpmPackageClient
-
Releases the connection pool this client built for itself.
- close() - Method in class ca.cdr.test.app.clients.SmartHealthLinkClient
- close() - Method in class ca.cdr.test.app.clients.SmilePortalClient
- close() - Method in interface ca.cdr.test.app.harness.api.SmileHarness
-
Releases this harness's HTTP client and its connection pool.
- close() - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- closeIfOwned() - Method in record class ca.cdr.test.app.clients.common.HttpClientOwnership
-
Releases the connection pool when this client built it, and does nothing when the pool was supplied by a caller that still needs it.
- code - Variable in class ca.cdr.test.hl7v2.MinimalHl7v2ToFhirTestData.ObservationData
- convertJsonNodeToModel(JsonNode, Class<T>) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Since many methods currently return JsonNode, if you have a known model you would like to bind to, you can convert a json object to it using this method
- convertModelToJsonNode(T) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- cookielessRequest(FhirContext, String) - Method in interface ca.cdr.test.app.clients.common.ISmileTestHttpClient
-
Starts building a cookie-free request that can carry a FHIR resource body, encoded with the given context.
- cookielessRequest(FhirContext, String) - Method in class ca.cdr.test.app.clients.common.SmileTestHttpClient
- cookielessRequest(String) - Method in interface ca.cdr.test.app.clients.common.ISmileTestHttpClient
-
Starts building a request that neither sends nor stores cookies, while still using this client's connection pool.
- cookielessRequest(String) - Method in class ca.cdr.test.app.clients.common.SmileTestHttpClient
- create() - Method in class ca.cdr.test.app.clients.CdrFhirClient
- create() - Static method in class ca.cdr.test.app.clients.common.SmileTestHttpClient
-
Builds a new client with its own connection pool and cookie store.
- createAdtA01() - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- createAdtA01(boolean) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- createAdtA03() - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- createAdtA06() - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- createAdtA07() - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
-
The ADT^A07 trigger uses the same structure as ADT^A06 (i.e.
- createAdtA10() - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- createAdtA11() - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- createAdtA29() - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- createAdtA42() - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
-
The ADT^A42 trigger uses the same structure as ADT^A39 (i.e.
- createAdtA45() - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- createAdtA54() - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- createAdtA60() - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- createAdtA60(boolean) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- createCdaTemplate(String, String, CdaTemplateRequestJson) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- createDftP03() - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- createKeystore(OAuth2KeystoreJson) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- createOAuthClient(String, String, OAuth2WritableClientDetailsJson) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Create an OAuth client for a specific module
- createOidcServer(String, String, OAuth2ServerJson) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- createOidcServer(String, String, JsonNode) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Create an OIDC server for a specific module
- createOrmO01() - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- createOruR01() - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- createQbpQ21() - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- createRasO17() - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- createRasO17(boolean) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- createRasO17(boolean, boolean) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- createRasO17(boolean, boolean, boolean, boolean) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- createRdeO11() - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- createRdeO11(boolean) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- createRdeO11(boolean, boolean) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- createSiuS12() - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- createSmartHealthLink(String, String, String) - Method in class ca.cdr.test.app.clients.SmartHealthLinkClient
- createSmartHealthLink(String, String, String, String, Instant, String) - Method in class ca.cdr.test.app.clients.SmartHealthLinkClient
- createVxuV04() - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
D
- dateTime - Variable in class ca.cdr.test.hl7v2.MinimalHl7v2ToFhirTestData.ObservationData
- delete() - Method in class ca.cdr.test.app.clients.CdrFhirClient
- deleteCdaTemplate(String, String) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- deleteKeystore(String) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- deleteOAuthClient(String, String, String) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Delete an OAuth client
- deletePackage(String, String) - Method in class ca.cdr.test.app.clients.NpmPackageClient
- discovery() - Method in class ca.cdr.test.app.clients.CdsHooksClient
-
Lists the services this endpoint offers:
GET {base}/cds-services.
E
- EncounterData(String, String, MinimalHl7v2ToFhirTestData.V2ToFhirDateTime) - Constructor for class ca.cdr.test.hl7v2.MinimalHl7v2ToFhirTestData.EncounterData
- equals(Object) - Method in record class ca.cdr.test.app.clients.AccessTokenResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class ca.cdr.test.app.clients.common.HttpClientOwnership
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class ca.cdr.test.app.harness.api.HarnessContext
-
Indicates whether some other object is "equal to" this one.
- Example Usage: - Search tag in ca.cdr.test.extensions.SmileCdrContainer.withDebugEnabled()
- Section
- Example Usage: - Search tag in ca.cdr.test.extensions.SmileCdrContainer.withDebugEnabled(boolean)
- Section
- exchangeCode(String, String, String) - Method in class ca.cdr.test.app.clients.OutboundSmartClient
-
Exchanges an authorization code for an access token (public client).
- exchangeCodeWithSecret(String, String, String, String) - Method in class ca.cdr.test.app.clients.OutboundSmartClient
-
Exchanges an authorization code for an access token using HTTP Basic authentication.
- exchangeCodeWithSecret(String, String, String, String, boolean) - Method in class ca.cdr.test.app.clients.OutboundSmartClient
-
Exchanges an authorization code for an access token with flexible client authentication.
- expectedAdmitTime - Variable in class ca.cdr.test.hl7v2.MinimalHl7v2ToFhirTestData.EncounterData
- expectedFhirDate - Variable in class ca.cdr.test.hl7v2.MinimalHl7v2ToFhirTestData.V2ToFhirDateTime
- expiresIn() - Method in record class ca.cdr.test.app.clients.AccessTokenResponse
-
Returns the value of the
expiresInrecord component. - extractCodeFromUrl(String) - Static method in class ca.cdr.test.app.clients.OutboundSmartClient
-
Extracts the authorization code from a callback URL.
- extractCsrfToken(String) - Static method in class ca.cdr.test.app.clients.WebTestUtil
F
- FACILITY_SYSTEM - Static variable in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- feedback(String, JsonNode) - Method in class ca.cdr.test.app.clients.CdsHooksClient
-
Reports what became of a service's cards:
POST {base}/cds-services/{id}/feedback. - fetchConformance() - Method in class ca.cdr.test.app.clients.CdrFhirClient
-
Deprecated, for removal: This API element is subject to removal in a future version.
- fetchDependencies(boolean) - Method in class ca.cdr.test.app.clients.PackageSpecBuilder
-
Set whether dependencies should be automatically resolved and installed
- fetchFile(String, String) - Method in class ca.cdr.test.app.clients.SmartHealthLinkClient
- fetchManifest(String, String, String) - Method in class ca.cdr.test.app.clients.SmartHealthLinkClient
- fetchResourceFromUrl(Class<T>, String) - Method in class ca.cdr.test.app.clients.CdrFhirClient
- fhirAnonymousRequest(String) - Method in interface ca.cdr.test.app.harness.api.SmileHarness
-
Starts building an unauthenticated request against the first discovered FHIR endpoint module.
- fhirAnonymousRequest(String) - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- fhirAnonymousRequest(String, String) - Method in interface ca.cdr.test.app.harness.api.SmileHarness
-
Starts building an unauthenticated request against a specific FHIR endpoint module.
- fhirAnonymousRequest(String, String) - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- fhirBearerRequest(String, String, String) - Method in interface ca.cdr.test.app.harness.api.SmileHarness
-
Starts building a request against a specific FHIR endpoint module that authenticates with an OAuth 2.0 access token.
- fhirBearerRequest(String, String, String) - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- fhirRequest(String) - Method in interface ca.cdr.test.app.harness.api.SmileHarness
-
Starts building a request against the first discovered FHIR endpoint module, pre-authenticated with this harness's
HarnessContextcredentials via HTTP Basic Auth. - fhirRequest(String) - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- fhirRequest(String, String) - Method in interface ca.cdr.test.app.harness.api.SmileHarness
-
Starts building a request against a specific FHIR endpoint module, pre-authenticated with this harness's
HarnessContextcredentials via HTTP Basic Auth. - fhirRequest(String, String) - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- findPackageAssetInfoByUrl(String, String) - Method in class ca.cdr.test.app.clients.NpmPackageClient
- ForbiddenOperationException(String, Throwable) - Constructor for exception class ca.cdr.test.app.clients.AdminJsonRestClient.ForbiddenOperationException
- forceConformanceCheck() - Method in class ca.cdr.test.app.clients.CdrFhirClient
- fromJson(JsonNode) - Static method in record class ca.cdr.test.app.clients.AccessTokenResponse
-
Reads a token endpoint response body.
G
- get(String) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Perform a generic GET request to the specified path and return the response as JsonNode
- getAdminJsonClient() - Method in interface ca.cdr.test.app.harness.api.SmileHarness
-
Gets an administrative JSON client for interacting with the CDR's admin API.
- getAdminJsonClient() - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- getAdminJsonClient(int) - Method in interface ca.cdr.test.app.harness.api.SmileHarness
-
Gets an
AdminJsonRestClientfor interacting with the CDR's admin API on a specific port. - getAdminJsonClient(int) - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- getAllBatchJobModuleIds() - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Get all module IDs that support batch jobs
- getApplications() - Method in class ca.cdr.test.app.clients.SmilePortalClient
- getAuditEvents() - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- getAuditEvents(MultiValueMap<String, String>) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- getAuthorizationCode(String, String, String[], String, String, String) - Method in class ca.cdr.test.app.clients.OutboundSmartClient
-
Obtains an authorization code through the OAuth 2.0 authorization flow.
- getBatchJobInstance(String, String) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Get a specific batch job instance by ID
- getBatchJobInstances(String) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- getBatchJobInstances(String, MultiValueMap<String, String>) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- getBatchJobInstancesByName(String, String, Boolean, int, int) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- getCandidates() - Method in class ca.cdr.test.model.NodeConfigurations.ModuleDependency
- getCdaTemplate(String, String) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- getCdaTemplates(String) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- getCdsHooksClient() - Method in interface ca.cdr.test.app.harness.api.SmileHarness
-
Gets a CDS Hooks client for the default CDS Hooks endpoint module, authenticating with this harness's
HarnessContextcredentials. - getCdsHooksClient() - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- getCdsHooksClient(int) - Method in interface ca.cdr.test.app.harness.api.SmileHarness
-
Gets a CDS Hooks client for the module configured with a specific port.
- getCdsHooksClient(int) - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- getCdsHooksClient(String) - Method in interface ca.cdr.test.app.harness.api.SmileHarness
-
Gets a CDS Hooks client for a specific module.
- getCdsHooksClient(String) - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- getClient() - Method in class ca.cdr.test.app.clients.common.SmileTestHttpClient
-
The underlying Apache client, for callers that still need to build Apache request objects by hand.
- getConfig() - Method in class ca.cdr.test.app.clients.SmilePortalClient
- getConfigKeys() - Method in class ca.cdr.test.model.NodeConfigurations.ModuleConfiguration
- getConfigProperties() - Method in class ca.cdr.test.model.NodeConfigurations.ModuleConfiguration
- getConfigProperty(String) - Method in class ca.cdr.test.model.NodeConfigurations.ModuleConfiguration
- getContextRoot() - Method in record class ca.cdr.test.app.harness.api.HarnessContext
- getDependencies() - Method in class ca.cdr.test.model.NodeConfigurations.ModuleConfiguration
- getDependencyType() - Method in class ca.cdr.test.model.NodeConfigurations.ModuleDependency
- getDescription() - Method in class ca.cdr.test.model.NodeConfigurations.ModuleDependency
- getEncoding() - Method in class ca.cdr.test.app.clients.CdrFhirClient
- getEnvironmentType() - Method in class ca.cdr.test.model.NodeConfigurations.NodeConfiguration
- getFhirClient() - Method in interface ca.cdr.test.app.harness.api.SmileHarness
-
Gets a standard FHIR client.
- getFhirClient() - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- getFhirClient(int) - Method in interface ca.cdr.test.app.harness.api.SmileHarness
-
Gets a standard FHIR client on a specific port.
- getFhirClient(int) - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- getFhirClient(String) - Method in interface ca.cdr.test.app.harness.api.SmileHarness
-
Gets a standard FHIR client for a specific module.
- getFhirClient(String) - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- getFhirClient(String, String) - Method in interface ca.cdr.test.app.harness.api.SmileHarness
-
Gets a FHIR client for a specific module that authenticates with an OAuth 2.0 access token, such as one from
OutboundSmartClient.clientCredentials(String, String, String...), rather than with this harness's credentials. - getFhirClient(String, String) - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- getFhirContext() - Method in class ca.cdr.test.app.clients.CdrFhirClient
- getFhirContext() - Method in interface ca.cdr.test.app.harness.api.SmileHarness
-
Gets the FHIR context used by this harness.
- getFhirContext() - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
-
Gets the only persistence module's FhirContext.
- getFhirContext(String) - Method in interface ca.cdr.test.app.harness.api.SmileHarness
-
Gets the FHIR context for a specific module.
- getFhirContext(String) - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
-
Get the FHIR context for a specific persistence/fhir endpoint module.
- getFhirEndpointModuleIdFromPort(int) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Find the module ID of the FHIR endpoint (FHIR REST, hybrid providers, or FHIR gateway) running on the given port.
- getHarness() - Method in class ca.cdr.test.extensions.SmileCdrContainer
-
Returns this container's harness, creating it on first call.
- getHealthChecks(boolean) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Get health checks for all modules
- getHL7V2RestClient() - Method in interface ca.cdr.test.app.harness.api.SmileHarness
-
Gets an HL7V2 REST client for interacting with the CDR's HL7V2 endpoint.
- getHL7V2RestClient() - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- getHL7V2RestClient(int) - Method in interface ca.cdr.test.app.harness.api.SmileHarness
-
Gets an HL7V2 REST client for interacting with the CDR's HL7V2 endpoint on a specific port.
- getHL7V2RestClient(int) - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- getHL7V2RestClient(String) - Method in interface ca.cdr.test.app.harness.api.SmileHarness
-
Gets an HL7V2 REST client for a specific module.
- getHL7V2RestClient(String) - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- getHttpClient() - Method in class ca.cdr.test.app.clients.CdrFhirClient
- getHttpClient() - Method in interface ca.cdr.test.app.harness.api.SmileHarness
-
Returns this harness's HTTP client as a handle that can issue requests but cannot close it.
- getHttpClient() - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- getInstallationStatus(String) - Method in class ca.cdr.test.app.clients.NpmPackageClient
- getInterceptorService() - Method in class ca.cdr.test.app.clients.CdrFhirClient
- getKey() - Method in class ca.cdr.test.model.NodeConfigurations.ModuleConfigProperty
- getKeystore(String) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- getKeystores(int, int) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- getMaturity() - Method in class ca.cdr.test.model.NodeConfigurations.ModuleDependency.ModuleDependencyCandidateTarget
- getMdmAlgorithms(String) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- getMdmDuplicateGoldenResources(String) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Get MDM duplicate golden resources
- getMdmLinks(String) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Get MDM links
- getMdmMetrics(String, String) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- getModule(String) - Method in class ca.cdr.test.model.NodeConfigurations.NodeConfiguration
- getModuleConfig(String, String) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Get the module configuration for a specific node and module
- getModuleId() - Method in class ca.cdr.test.model.NodeConfigurations.ModuleConfiguration
- getModuleId() - Method in class ca.cdr.test.model.NodeConfigurations.ModuleDependency.ModuleDependencyCandidateTarget
- getModuleInterceptors(String, String) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- getModules() - Method in class ca.cdr.test.model.NodeConfigurations.NodeConfiguration
- getModuleShortName() - Method in class ca.cdr.test.model.NodeConfigurations.ModuleDependency.ModuleDependencyCandidateTarget
- getModuleType() - Method in class ca.cdr.test.model.NodeConfigurations.ModuleConfiguration
- getMostRecentTransactionLogEntry() - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- getMostRecentTransactionLogEntryId() - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- getNode(String) - Method in class ca.cdr.test.model.NodeConfigurations
- getNodeConfigurations() - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Get the node configurations from the admin API.
- getNodeId() - Method in class ca.cdr.test.model.NodeConfigurations.NodeConfiguration
- getNodes() - Method in class ca.cdr.test.model.NodeConfigurations
- getNodeStatuses() - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Get node statuses
- getNpmPackageClient() - Method in interface ca.cdr.test.app.harness.api.SmileHarness
-
Gets an NPM Package client for interacting with the CDR's package registry endpoint.
- getNpmPackageClient() - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- getNpmPackageClient(int) - Method in interface ca.cdr.test.app.harness.api.SmileHarness
-
Gets an NPM Package client for interacting with the CDR's package registry endpoint on a specific port.
- getNpmPackageClient(int) - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- getNpmPackageClient(String) - Method in interface ca.cdr.test.app.harness.api.SmileHarness
-
Gets an NPM Package client for interacting with the CDR's package registry endpoint for a specific module.
- getNpmPackageClient(String) - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- getOAuthClient(String, String, String) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Get an OAuth client
- getOAuthClients(int, int, ClientStatusFilterEnum) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- getOidcServer(String, String, String) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- getOidcServers(String, String, int, int) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- getOutboundSmartClient() - Method in interface ca.cdr.test.app.harness.api.SmileHarness
-
Gets an outbound SMART client for OAuth 2.0 authorization flows.
- getOutboundSmartClient() - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- getOutboundSmartClient(int) - Method in interface ca.cdr.test.app.harness.api.SmileHarness
-
Gets an outbound SMART client for OAuth 2.0 authorization flows on a specific port.
- getOutboundSmartClient(int) - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- getOutboundSmartClient(String) - Method in interface ca.cdr.test.app.harness.api.SmileHarness
-
Gets an outbound SMART client for OAuth 2.0 authorization flows for a specific module.
- getOutboundSmartClient(String) - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- getPackageMetadata(String) - Method in class ca.cdr.test.app.clients.NpmPackageClient
- getPortFromModule(String) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Get the port number for a specific module from the node configurations.
- getPortMapping() - Method in class ca.cdr.test.extensions.SmileCdrContainer
-
Maps each port a module listens on inside the container to the port it is reachable on from the host.
- getPortValuesByModuleType() - Method in class ca.cdr.test.extensions.SmileCdrContainer
-
Gets the port values organized by Module Type and Module ID.
- getPrivacyNotice() - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- getPrivacyNoticeStatus() - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- getPropertySource() - Method in class ca.cdr.test.model.NodeConfigurations.NodeConfiguration
- getRestorePoint(String, Long) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Get a specific restore point
- getRestorePoints(String, String, String, String, int, int) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Get a list of restore points for a node
- getServerBase() - Method in class ca.cdr.test.app.clients.CdrFhirClient
- getServerPortOffset() - Method in class ca.cdr.test.model.NodeConfigurations.NodeConfiguration
- getShouldArchiveUnknownModules() - Method in class ca.cdr.test.model.NodeConfigurations.NodeConfiguration
- getSmartConfiguration() - Method in class ca.cdr.test.app.clients.CdrFhirClient
- getSmartHealthLinkClient(String) - Method in interface ca.cdr.test.app.harness.api.SmileHarness
- getSmartHealthLinkClient(String) - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- getSmilePortalClient(String) - Method in interface ca.cdr.test.app.harness.api.SmileHarness
- getSmilePortalClient(String) - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- getSuperuserFhirClient() - Method in interface ca.cdr.test.app.harness.api.SmileHarness
-
Gets a FHIR client with superuser privileges.
- getSuperuserFhirClient() - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- getSuperuserFhirClient(int) - Method in interface ca.cdr.test.app.harness.api.SmileHarness
-
Gets a FHIR client with superuser privileges on a specific port.
- getSuperuserFhirClient(int) - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- getSuperuserFhirClient(String) - Method in interface ca.cdr.test.app.harness.api.SmileHarness
-
Gets a FHIR client with superuser privileges for a specific module.
- getSuperuserFhirClient(String) - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- getTargetModuleId() - Method in class ca.cdr.test.model.NodeConfigurations.ModuleDependency
- getTransactionLogEntryById(Long) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Fetch a transaction log entry by ID and return all details (includes the body)
- getTransactionLogEvent(Long, boolean) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Get a specific transaction log event with its body
- getTransactionLogEventCodes() - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- getTransactionLogs() - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Get transaction logs
- getTransactionLogs(MultiValueMap<String, String>) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- getTroubleshootingLoggers() - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- getValue() - Method in class ca.cdr.test.model.NodeConfigurations.ModuleConfigProperty
H
- HarnessContext - Record Class in ca.cdr.test.app.harness.api
-
Record class that holds configuration information for connecting to a Smile CDR instance.
- HarnessContext(String, String, Integer, String, String) - Constructor for record class ca.cdr.test.app.harness.api.HarnessContext
-
Creates a context whose Admin JSON module is served at the root.
- HarnessContext(String, String, Integer, String, String, String) - Constructor for record class ca.cdr.test.app.harness.api.HarnessContext
-
Creates an instance of a
HarnessContextrecord class. - hashCode() - Method in record class ca.cdr.test.app.clients.AccessTokenResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class ca.cdr.test.app.clients.common.HttpClientOwnership
-
Returns a hash code value for this object.
- hashCode() - Method in record class ca.cdr.test.app.harness.api.HarnessContext
-
Returns a hash code value for this object.
- history() - Method in class ca.cdr.test.app.clients.CdrFhirClient
- HL7V2RestClient - Class in ca.cdr.test.app.clients
-
A REST client for sending HL7V2 messages to a Smile CDR server.
- Hl7V2TestDataHelper - Class in ca.cdr.test.hl7v2
-
Creates HL7 V2 test data
- Hl7V2TestDataHelper(FhirContext, DefaultHapiContext) - Constructor for class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- HospitalData(String, String, String) - Constructor for class ca.cdr.test.hl7v2.MinimalHl7v2ToFhirTestData.HospitalData
- How to Connect IntelliJ IDEA Debugger: - Search tag in ca.cdr.test.extensions.SmileCdrContainer.withDebugEnabled()
- Section
- How to Connect IntelliJ IDEA Debugger: - Search tag in ca.cdr.test.extensions.SmileCdrContainer.withDebugEnabled(boolean)
- Section
- HttpClientOwnership - Record Class in ca.cdr.test.app.clients.common
-
The HTTP client a test client issues on, and whether closing that test client should close the HTTP client with it.
- HttpClientOwnership(SmileTestHttpClient, boolean) - Constructor for record class ca.cdr.test.app.clients.common.HttpClientOwnership
-
Creates an instance of a
HttpClientOwnershiprecord class.
I
- identifier - Variable in class ca.cdr.test.hl7v2.MinimalHl7v2ToFhirTestData.EncounterData
- identifier - Variable in class ca.cdr.test.hl7v2.MinimalHl7v2ToFhirTestData.HospitalData
- identifier - Variable in class ca.cdr.test.hl7v2.MinimalHl7v2ToFhirTestData.PatientData
- identifier - Variable in class ca.cdr.test.hl7v2.MinimalHl7v2ToFhirTestData.PractitionerData
- IdentifierData(String, String) - Constructor for class ca.cdr.test.hl7v2.MinimalHl7v2ToFhirTestData.IdentifierData
- idToken() - Method in record class ca.cdr.test.app.clients.AccessTokenResponse
-
Returns the value of the
idTokenrecord component. - installMode(PackageInstallationSpec.InstallModeEnum) - Method in class ca.cdr.test.app.clients.PackageSpecBuilder
- installPackageByParam(String, String, boolean, PackageInstallationSpec.InstallModeEnum, PackageInstallationSpec.VersionPolicyEnum) - Method in class ca.cdr.test.app.clients.NpmPackageClient
- installPackageBySpec(PackageInstallationSpec) - Method in class ca.cdr.test.app.clients.NpmPackageClient
-
Install a package using the provided specification
- installPackageBySpec(String) - Method in class ca.cdr.test.app.clients.NpmPackageClient
-
Install a package using the provided specification as a JSON string
- installPackageBySpecAsync(PackageInstallationSpec) - Method in class ca.cdr.test.app.clients.NpmPackageClient
- installResourceTypes(String...) - Method in class ca.cdr.test.app.clients.PackageSpecBuilder
-
Set specific resource types to install from the package
- introspect(String, String, String) - Method in class ca.cdr.test.app.clients.OutboundSmartClient
-
Asks the server whether a token is active, authenticating as a client with HTTP Basic authentication.
- invoke(String, JsonNode) - Method in class ca.cdr.test.app.clients.CdsHooksClient
-
Invokes a service:
POST {base}/cds-services/{id}. - isClosed() - Method in class ca.cdr.test.app.clients.common.SmileTestHttpClient
-
Whether
SmileTestHttpClient.close()has been called. - isClosed() - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
-
Whether
LocalhostSmileHarness.close()has been called. - isClusterManager() - Method in class ca.cdr.test.model.NodeConfigurations.ModuleConfiguration
- isFhirEndpointModuleType() - Method in class ca.cdr.test.model.NodeConfigurations.ModuleConfiguration
-
Single source of truth for "does this module serve a FHIR endpoint?".
- ISmileTestHttpClient - Interface in ca.cdr.test.app.clients.common
-
What
SmileHarness.getHttpClient()hands back: the request-issuing part of aSmileTestHttpClient, without its lifecycle. - issuingOn(SmileTestHttpClient, String, String, String) - Static method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Builds a client that issues its requests on
theHttpClient, sharing that client's connection pool and cookie store with everything else built over it. - issuingOn(SmileTestHttpClient, String, String, String) - Static method in class ca.cdr.test.app.clients.CdsHooksClient
-
Builds a client that issues its requests on
theHttpClient, sharing that client's connection pool and cookie store with everything else built over it. - issuingOn(SmileTestHttpClient, String, String, String) - Static method in class ca.cdr.test.app.clients.HL7V2RestClient
-
Builds a client that issues its requests on
theHttpClient, sharing that client's connection pool and cookie store with everything else built over it. - issuingOn(SmileTestHttpClient, String, String, String) - Static method in class ca.cdr.test.app.clients.NpmPackageClient
-
Builds a client that issues its requests on
theHttpClient, sharing that client's connection pool and cookie store with everything else built over it. - issuingOn(SmileTestHttpClient, String, String, String) - Static method in class ca.cdr.test.app.clients.SmartHealthLinkClient
- issuingOn(SmileTestHttpClient, String, String, String) - Static method in class ca.cdr.test.app.clients.SmilePortalClient
J
- jsonAdminContextPath() - Method in record class ca.cdr.test.app.harness.api.HarnessContext
-
Returns the value of the
jsonAdminContextPathrecord component. - jsonAdminPort() - Method in record class ca.cdr.test.app.harness.api.HarnessContext
-
Returns the value of the
jsonAdminPortrecord component. - jwtBearerWithAssertion(String, String, String...) - Method in class ca.cdr.test.app.clients.OutboundSmartClient
L
- loadContextPath(String, String) - Static method in class ca.cdr.test.util.PropertiesTestUtil
-
Reads a module's
context_pathfrom a properties file. - loadPage() - Method in class ca.cdr.test.app.clients.CdrFhirClient
- loadPortsFromPropertiesFile(String) - Static method in class ca.cdr.test.util.PropertiesTestUtil
-
Loads a properties file and extracts port configurations organized by module type and module ID.
- LocalhostSmileHarness - Class in ca.cdr.test.app.harness.impl
-
The
LocalhostSmileHarnessclass is responsible for managing interaction with a Smile CDR environment running on the localhost. - LocalhostSmileHarness(HarnessContext) - Constructor for class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- LocalhostSmileHarness(HarnessContext, Map<Integer, Integer>) - Constructor for class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- loginWithPassword(String, String) - Method in class ca.cdr.test.app.clients.OutboundSmartClient
-
Performs form-based login with username and password credentials.
M
- mergeMdmGoldenResources(String, Object) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Merge MDM golden resources
- meta() - Method in class ca.cdr.test.app.clients.CdrFhirClient
- militaryBranch - Variable in class ca.cdr.test.hl7v2.MinimalHl7v2ToFhirTestData.PatientData
- MinimalHl7v2ToFhirTestData - Class in ca.cdr.test.hl7v2
- MinimalHl7v2ToFhirTestData() - Constructor for class ca.cdr.test.hl7v2.MinimalHl7v2ToFhirTestData
- MinimalHl7v2ToFhirTestData.EncounterData - Class in ca.cdr.test.hl7v2
- MinimalHl7v2ToFhirTestData.HospitalData - Class in ca.cdr.test.hl7v2
- MinimalHl7v2ToFhirTestData.IdentifierData - Class in ca.cdr.test.hl7v2
- MinimalHl7v2ToFhirTestData.ObservationData - Class in ca.cdr.test.hl7v2
- MinimalHl7v2ToFhirTestData.PatientData - Class in ca.cdr.test.hl7v2
- MinimalHl7v2ToFhirTestData.PractitionerData - Class in ca.cdr.test.hl7v2
- MinimalHl7v2ToFhirTestData.V2ToFhirDateTime - Class in ca.cdr.test.hl7v2
- ModuleConfigProperty() - Constructor for class ca.cdr.test.model.NodeConfigurations.ModuleConfigProperty
-
Constructor
- ModuleConfigProperty(String) - Constructor for class ca.cdr.test.model.NodeConfigurations.ModuleConfigProperty
-
Constructor
- ModuleConfiguration() - Constructor for class ca.cdr.test.model.NodeConfigurations.ModuleConfiguration
-
Constructor
- ModuleDependency() - Constructor for class ca.cdr.test.model.NodeConfigurations.ModuleDependency
-
Constructor
- ModuleDependencyCandidateTarget() - Constructor for class ca.cdr.test.model.NodeConfigurations.ModuleDependency.ModuleDependencyCandidateTarget
-
Constructor
- ModuleDependencyCandidateTarget(String, String, String) - Constructor for class ca.cdr.test.model.NodeConfigurations.ModuleDependency.ModuleDependencyCandidateTarget
-
Constructor
N
- name - Variable in class ca.cdr.test.hl7v2.MinimalHl7v2ToFhirTestData.HospitalData
- name(String) - Static method in class ca.cdr.test.app.clients.PackageSpecBuilder
-
Static factory method to start building a package specification
- NodeConfiguration() - Constructor for class ca.cdr.test.model.NodeConfigurations.NodeConfiguration
- NodeConfigurations - Class in ca.cdr.test.model
-
This class is a copy of NodeConfigsJson from cdr-api, with all enum references from cdr-api replaced with string values.
- NodeConfigurations() - Constructor for class ca.cdr.test.model.NodeConfigurations
- NodeConfigurations.ModuleConfigProperty - Class in ca.cdr.test.model
- NodeConfigurations.ModuleConfiguration - Class in ca.cdr.test.model
- NodeConfigurations.ModuleDependency - Class in ca.cdr.test.model
- NodeConfigurations.ModuleDependency.ModuleDependencyCandidateTarget - Class in ca.cdr.test.model
- NodeConfigurations.NodeConfiguration - Class in ca.cdr.test.model
- normalizeContextPath(String) - Static method in class ca.cdr.test.util.UrlPathUtil
-
Normalizes a module's
context_pathso that it can be appended to aprotocol://host:portroot as-is. - NpmPackageClient - Class in ca.cdr.test.app.clients
-
NpmPackageClient is a client for the NPM Package Registry API of the CDR.
O
- ObservationData(String, String, String, String, MinimalHl7v2ToFhirTestData.V2ToFhirDateTime) - Constructor for class ca.cdr.test.hl7v2.MinimalHl7v2ToFhirTestData.ObservationData
- oobeHarnessContext() - Static method in record class ca.cdr.test.app.harness.api.HarnessContext
-
Factory method that creates a default HarnessContext for connecting to a local Smile CDR instance.
- open(String, String, String) - Static method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Opens a client authenticating as the given user, over a connection pool of its own.
- open(String, String, String) - Static method in class ca.cdr.test.app.clients.CdsHooksClient
-
Opens a client authenticating as the given user, over a connection pool of its own.
- open(String, String, String) - Static method in class ca.cdr.test.app.clients.HL7V2RestClient
-
Opens a client over a connection pool of its own.
- open(String, String, String) - Static method in class ca.cdr.test.app.clients.NpmPackageClient
-
Opens a client authenticating as the given user, over a connection pool of its own.
- open(String, String, String) - Static method in class ca.cdr.test.app.clients.SmartHealthLinkClient
- open(String, String, String) - Static method in class ca.cdr.test.app.clients.SmilePortalClient
- openAnonymous(String) - Static method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Opens a client sending no credentials, over a connection pool of its own.
- openAnonymous(String) - Static method in class ca.cdr.test.app.clients.CdsHooksClient
-
Opens a client sending no credentials, over a connection pool of its own.
- openAnonymous(String) - Static method in class ca.cdr.test.app.clients.NpmPackageClient
-
Opens a client sending no credentials, over a connection pool of its own.
- openAnonymous(String) - Static method in class ca.cdr.test.app.clients.SmartHealthLinkClient
- openAnonymous(String) - Static method in class ca.cdr.test.app.clients.SmilePortalClient
- openIdConfiguration() - Method in class ca.cdr.test.app.clients.OutboundSmartClient
-
Fetches the server's OpenID Connect discovery document.
- operation() - Method in class ca.cdr.test.app.clients.CdrFhirClient
- OutboundSmartClient - Class in ca.cdr.test.app.clients
-
A client for performing SMART on FHIR OAuth 2.0 authorization flows.
- OutboundSmartClient(RestClient, String) - Constructor for class ca.cdr.test.app.clients.OutboundSmartClient
-
Creates a new OutboundSmartClient instance.
- owned() - Method in record class ca.cdr.test.app.clients.common.HttpClientOwnership
-
Returns the value of the
ownedrecord component.
P
- PackageSpecBuilder - Class in ca.cdr.test.app.clients
-
Builder for creating
PackageInstallationSpecobjects using a fluent API. - packageUrl(String) - Method in class ca.cdr.test.app.clients.PackageSpecBuilder
-
Set the package URL
- password() - Method in record class ca.cdr.test.app.harness.api.HarnessContext
-
Returns the value of the
passwordrecord component. - patch() - Method in class ca.cdr.test.app.clients.CdrFhirClient
- PatientData(String, String, String) - Constructor for class ca.cdr.test.hl7v2.MinimalHl7v2ToFhirTestData.PatientData
- performAuthorizationCodeFlow(String, String, String[], String, String, String, String) - Method in class ca.cdr.test.app.clients.OutboundSmartClient
-
Performs the complete OAuth 2.0 authorization code flow including user login.
- populateAil(AIL) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- populateAip(AIP) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- populateAl1(AL1) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- populateDg1(DG1) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- populateDg1(DG1, boolean) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- populateGt1(GT1) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- populateIam(IAM) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- populateIn1(IN1) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- populateIn1Difference(IN1, String) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- populateIn2(IN2) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- populateMinimalEncounter(PV1, PV2, MinimalHl7v2ToFhirTestData.EncounterData, MinimalHl7v2ToFhirTestData.HospitalData, MinimalHl7v2ToFhirTestData.PractitionerData) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- populateMinimalObservation(Message, OBX, MinimalHl7v2ToFhirTestData.ObservationData) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- populateMinimalPatient(PID, PD1, MinimalHl7v2ToFhirTestData.PatientData) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- populateMsh(MSH, String) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- populateNk1Employer(NK1) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- populateNk1NextOfKin(NK1) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- populateObxAssessmentHeight(Message, OBX) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- populateObxAssessmentWeight(Message, OBX) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- populateOrcForMedication(ORC, String, boolean, boolean) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- populatePid(PID) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- populatePid(PID, boolean) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- populatePr1First(PR1) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- populatePr1Second(PR1) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- populatePv1(PV1) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- populatePv2(PV2) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- populateRolA(ROL) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- populateRolB(ROL) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- populateRolC(ROL) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- populateRxe(RXE) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- populateRxr(RXR) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- populateSch(SCH) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- populateXcn(XCN) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- populateZxt(AbstractMessage) - Method in class ca.cdr.test.hl7v2.Hl7V2TestDataHelper
- PractitionerData(String, String) - Constructor for class ca.cdr.test.hl7v2.MinimalHl7v2ToFhirTestData.PractitionerData
- processBulkImport(String, String, String) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Process a bulk ETL import file
- processBulkImport(String, String, String, String) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Process a bulk ETL import file
- PropertiesTestUtil - Class in ca.cdr.test.util
-
Utility class for handling properties file operations in tests.
- PropertiesTestUtil() - Constructor for class ca.cdr.test.util.PropertiesTestUtil
- protocol() - Method in record class ca.cdr.test.app.harness.api.HarnessContext
-
Returns the value of the
protocolrecord component.
R
- raw() - Method in record class ca.cdr.test.app.clients.AccessTokenResponse
-
Returns the value of the
rawrecord component. - rawHttpRequest() - Method in class ca.cdr.test.app.clients.CdrFhirClient
- read() - Method in class ca.cdr.test.app.clients.CdrFhirClient
- read(UriDt) - Method in class ca.cdr.test.app.clients.CdrFhirClient
-
Deprecated.
- read(Class<T>, UriDt) - Method in class ca.cdr.test.app.clients.CdrFhirClient
-
Deprecated.
- read(Class<T>, String) - Method in class ca.cdr.test.app.clients.CdrFhirClient
-
Deprecated.
- refreshHarness() - Method in class ca.cdr.test.extensions.SmileCdrContainer
-
Discards the cached harness and builds a replacement, which rediscovers the node's modules and ports.
- refreshToken() - Method in record class ca.cdr.test.app.clients.AccessTokenResponse
-
Returns the value of the
refreshTokenrecord component. - refreshToken(String, String, String) - Method in class ca.cdr.test.app.clients.OutboundSmartClient
-
Refreshes an access token using a refresh token.
- registerInterceptor(Object) - Method in class ca.cdr.test.app.clients.CdrFhirClient
- reloadExisting(boolean) - Method in class ca.cdr.test.app.clients.PackageSpecBuilder
-
Set whether existing resources should be reloaded during package installation
- request(int, String) - Method in interface ca.cdr.test.app.harness.api.SmileHarness
-
Starts building a request against any port this harness can reach, pre-authenticated with this harness's
HarnessContextcredentials via HTTP Basic Auth. - request(int, String) - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- request(FhirContext, String) - Method in interface ca.cdr.test.app.clients.common.ISmileTestHttpClient
-
Starts building a request that can carry a FHIR resource body, encoded with the given context.
- request(FhirContext, String) - Method in class ca.cdr.test.app.clients.common.SmileTestHttpClient
- request(String) - Method in interface ca.cdr.test.app.clients.common.ISmileTestHttpClient
-
Starts building a request against a full URL, issued on this client so that it shares the cookie store and connection pool with everything else sent through it.
- request(String) - Method in class ca.cdr.test.app.clients.common.SmileTestHttpClient
- request(String, String) - Method in interface ca.cdr.test.app.harness.api.SmileHarness
-
Starts building a request against a specific module, resolving that module's port from the running node's configuration.
- request(String, String) - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- RequestFactoryUtil - Class in ca.cdr.test.app.clients.common
- resolve(SmileTestHttpClient) - Static method in record class ca.cdr.test.app.clients.common.HttpClientOwnership
-
Decides which of the two cases applies for a client built with
theSuppliedClient, building a client when the caller supplied none. - restartModule(String, String) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Request to restart a module on all processes.
- restartModule(String, String, boolean) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Request to restart a module on all processes.
- restartModule(String, String, boolean, Duration) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Request to restart a module on all processes with a caller-supplied wait timeout.
- restoreSystem(String, Long) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Restore the system to a specific restore point
- revokeAllTokens(String, String, String) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
S
- scope() - Method in record class ca.cdr.test.app.clients.AccessTokenResponse
-
Returns the value of the
scoperecord component. - search() - Method in class ca.cdr.test.app.clients.CdrFhirClient
- searchPackages(MultiValueMap<String, String>) - Method in class ca.cdr.test.app.clients.NpmPackageClient
- sendMessage(Message) - Method in class ca.cdr.test.app.clients.HL7V2RestClient
-
Send a pre-parsed HL7V2 message to the server.
- sendMessage(String) - Method in class ca.cdr.test.app.clients.HL7V2RestClient
-
Send an HL7V2 message to the server.
- serverUrlRequest(String) - Method in interface ca.cdr.test.app.harness.api.SmileHarness
- serverUrlRequest(String) - Method in class ca.cdr.test.app.harness.impl.LocalhostSmileHarness
- setDependencyType(String) - Method in class ca.cdr.test.model.NodeConfigurations.ModuleDependency
- setDescription(String) - Method in class ca.cdr.test.model.NodeConfigurations.ModuleDependency
- setEncoding(EncodingEnum) - Method in class ca.cdr.test.app.clients.CdrFhirClient
- setEnvironmentType(EnvironmentTypeEnum) - Method in class ca.cdr.test.model.NodeConfigurations.NodeConfiguration
- setFormatParamStyle(RequestFormatParamStyleEnum) - Method in class ca.cdr.test.app.clients.CdrFhirClient
- setInterceptorService(IInterceptorService) - Method in class ca.cdr.test.app.clients.CdrFhirClient
- setKey(String) - Method in class ca.cdr.test.model.NodeConfigurations.ModuleConfigProperty
- setLogRequestAndResponse(boolean) - Method in class ca.cdr.test.app.clients.CdrFhirClient
-
Deprecated.
- setMaturity(String) - Method in class ca.cdr.test.model.NodeConfigurations.ModuleDependency.ModuleDependencyCandidateTarget
- setModuleId(String) - Method in class ca.cdr.test.model.NodeConfigurations.ModuleConfiguration
- setModuleId(String) - Method in class ca.cdr.test.model.NodeConfigurations.ModuleDependency.ModuleDependencyCandidateTarget
- setModuleShortName(String) - Method in class ca.cdr.test.model.NodeConfigurations.ModuleDependency.ModuleDependencyCandidateTarget
- setModuleType(String) - Method in class ca.cdr.test.model.NodeConfigurations.ModuleConfiguration
- setNodeId(String) - Method in class ca.cdr.test.model.NodeConfigurations.NodeConfiguration
- setPrettyPrint(Boolean) - Method in class ca.cdr.test.app.clients.CdrFhirClient
- setPropertySource(String) - Method in class ca.cdr.test.model.NodeConfigurations.NodeConfiguration
- setSecurityStrict(Boolean) - Method in class ca.cdr.test.model.NodeConfigurations.NodeConfiguration
- setServerPortOffset(Integer) - Method in class ca.cdr.test.model.NodeConfigurations.NodeConfiguration
- setShouldArchiveUnknownModules(Boolean) - Method in class ca.cdr.test.model.NodeConfigurations.NodeConfiguration
- setSummary(SummaryEnum) - Method in class ca.cdr.test.app.clients.CdrFhirClient
- setTargetModuleId(String) - Method in class ca.cdr.test.model.NodeConfigurations.ModuleDependency
- setValue(String) - Method in class ca.cdr.test.model.NodeConfigurations.ModuleConfigProperty
- SmartHealthLinkClient - Class in ca.cdr.test.app.clients
- SmileCdrContainer - Class in ca.cdr.test.extensions
-
SmileCdrContainer is a container abstraction for orchestrating Smile CDR instances within Docker environments.
- SmileCdrContainer() - Constructor for class ca.cdr.test.extensions.SmileCdrContainer
- SmileCdrContainer(String) - Constructor for class ca.cdr.test.extensions.SmileCdrContainer
-
Use this constructor to change the version of Smile CDR, but use Smile's container registry.
- SmileCdrContainer(DockerImageName) - Constructor for class ca.cdr.test.extensions.SmileCdrContainer
-
Use this constructor to provide a completely custom Docker Image Name to use.
- SmileHarness - Interface in ca.cdr.test.app.harness.api
-
Interface for interacting with a Smile CDR instance during testing.
- SmilePortalClient - Class in ca.cdr.test.app.clients
- SmileTestHttpClient - Class in ca.cdr.test.app.clients.common
-
An Apache HttpClient 5.x client configured the way Smile's tests need it, bundled with the mutable state that callers have to be able to reach ? its cookie store and its connection pool.
- start() - Method in class ca.cdr.test.extensions.SmileCdrContainer
- startBulkExport(BulkExportJobParameters) - Method in class ca.cdr.test.app.clients.CdrFhirClient
- status - Variable in class ca.cdr.test.hl7v2.MinimalHl7v2ToFhirTestData.ObservationData
- stop() - Method in class ca.cdr.test.extensions.SmileCdrContainer
- stopModule(String, String) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Request to stop a module on all processes ModuleProcessesStatusChangeResponseJson
- storeAndInstall() - Method in class ca.cdr.test.app.clients.PackageSpecBuilder
-
Set install mode to STORE_AND_INSTALL
- storeOnly() - Method in class ca.cdr.test.app.clients.PackageSpecBuilder
-
Set install mode to STORE_ONLY
- submitMdmOperation(String, IBaseParameters) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Submit an MDM operation to perform batch matching on all resources
- system - Variable in class ca.cdr.test.hl7v2.MinimalHl7v2ToFhirTestData.IdentifierData
- system - Variable in class ca.cdr.test.hl7v2.MinimalHl7v2ToFhirTestData.ObservationData
T
- text - Variable in class ca.cdr.test.hl7v2.MinimalHl7v2ToFhirTestData.ObservationData
- Thread Safety: - Search tag in class ca.cdr.test.app.clients.OutboundSmartClient
- Section
- toJsonString(IBaseResource) - Static method in class ca.cdr.test.app.clients.AdminJsonRestClient
- tokenType() - Method in record class ca.cdr.test.app.clients.AccessTokenResponse
-
Returns the value of the
tokenTyperecord component. - toString() - Method in record class ca.cdr.test.app.clients.AccessTokenResponse
-
Returns a string representation of this record class.
- toString() - Method in record class ca.cdr.test.app.clients.common.HttpClientOwnership
-
Returns a string representation of this record class.
- toString() - Method in record class ca.cdr.test.app.harness.api.HarnessContext
-
Returns a string representation of this record class.
- toString() - Method in class ca.cdr.test.model.NodeConfigurations.ModuleDependency
- transaction() - Method in class ca.cdr.test.app.clients.CdrFhirClient
U
- unregisterInterceptor(Object) - Method in class ca.cdr.test.app.clients.CdrFhirClient
- update() - Method in class ca.cdr.test.app.clients.CdrFhirClient
- update(IdDt, IBaseResource) - Method in class ca.cdr.test.app.clients.CdrFhirClient
-
Deprecated.
- update(String, IBaseResource) - Method in class ca.cdr.test.app.clients.CdrFhirClient
-
Deprecated.
- updateCdaTemplate(String, String, CdaTemplateRequestJson) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- updateCdaTemplateScript(String, String, String) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- updateKeystore(String, OAuth2KeystoreJson) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- updateMdmLink(String, Object) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Update MDM link
- updateModuleConfig(String, String, JsonNode, boolean, boolean) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Update the configuration for a specific module.
- updateModuleConfig(String, String, JsonNode, boolean, boolean, boolean) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Update the configuration for a specific module.
- updateModuleConfig(String, String, JsonNode, boolean, boolean, boolean, Duration) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Update the configuration for a specific module with a caller-supplied wait timeout.
- updateOAuthClient(String, String, String, OAuth2WritableClientDetailsJson) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Update an OAuth client for a specific module
- updateOidcServer(String, String, OAuth2ServerJson) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- updateOidcServer(String, String, String, JsonNode) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Update an OIDC server
- updateTroubleshootingLoggerLevel(String, String) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- updateTroubleshootingLoggers(Set<LoggerConfigJson>) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- UrlPathUtil - Class in ca.cdr.test.util
-
Helpers for the URL paths under which Smile CDR modules are served.
- userCreate(String, String, UserDetailsJson) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- userFetchByPid(String, String, Long) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- userFindAll(String, String, int) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- userFindAllAsString(String, String, int) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Find all users and return the result as a String that can be used with ObjectMapper
- userFindByUsername(String, String, String) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
- userFindByUsernameAsString(String, String, String) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
-
Find users by username and return the result as a String that can be used with ObjectMapper
- username() - Method in record class ca.cdr.test.app.harness.api.HarnessContext
-
Returns the value of the
usernamerecord component. - userUpdate(UserDetailsJson) - Method in class ca.cdr.test.app.clients.AdminJsonRestClient
V
- v2Date - Variable in class ca.cdr.test.hl7v2.MinimalHl7v2ToFhirTestData.V2ToFhirDateTime
- V2ToFhirDateTime(String, String) - Constructor for class ca.cdr.test.hl7v2.MinimalHl7v2ToFhirTestData.V2ToFhirDateTime
- validate() - Method in class ca.cdr.test.app.clients.CdrFhirClient
- validate(IBaseResource) - Method in class ca.cdr.test.app.clients.CdrFhirClient
-
Deprecated.
- value - Variable in class ca.cdr.test.hl7v2.MinimalHl7v2ToFhirTestData.IdentifierData
- version(String) - Method in class ca.cdr.test.app.clients.PackageSpecBuilder
-
Set the package version
- versionPolicy(PackageInstallationSpec.VersionPolicyEnum) - Method in class ca.cdr.test.app.clients.PackageSpecBuilder
-
Set the version policy for package installation
- vread(Class<T>, IdDt) - Method in class ca.cdr.test.app.clients.CdrFhirClient
-
Deprecated.
- vread(Class<T>, String, String) - Method in class ca.cdr.test.app.clients.CdrFhirClient
-
Deprecated.
W
- WebTestUtil - Class in ca.cdr.test.app.clients
- WebTestUtil() - Constructor for class ca.cdr.test.app.clients.WebTestUtil
- withAllTroubleshootingLogsEnabled() - Method in class ca.cdr.test.extensions.SmileCdrContainer
- withBoundProjectClasspath() - Method in class ca.cdr.test.extensions.SmileCdrContainer
-
Binds the target/classes and target/test-classes directories into the container's `/classes` directory.
- withCustomerJars(String...) - Method in class ca.cdr.test.extensions.SmileCdrContainer
-
Specifies which JAR files from the cdr-interceptor-starterproject's target folder should be copied into the SmileCdrContainer at /home/smile/smilecdr/customerlib/.
- withCustomHarnessContext(HarnessContext) - Method in class ca.cdr.test.extensions.SmileCdrContainer
-
Sets the
HarnessContextthe harness is built from. - withCustomLogback(String) - Method in class ca.cdr.test.extensions.SmileCdrContainer
- withCustomLogback(Path) - Method in class ca.cdr.test.extensions.SmileCdrContainer
-
Uses a logback configuration from the host filesystem as the container's
customerlib/logback-smile-custom.xml. - withDebugEnabled() - Method in class ca.cdr.test.extensions.SmileCdrContainer
-
Enables remote debugging for the Smile CDR instance running in this container.
- withDebugEnabled(boolean) - Method in class ca.cdr.test.extensions.SmileCdrContainer
-
Enables remote debugging for the Smile CDR instance running in this container.
- withPreseedFiles(String...) - Method in class ca.cdr.test.extensions.SmileCdrContainer
- withPropertiesFile(String) - Method in class ca.cdr.test.extensions.SmileCdrContainer
-
Uses a properties file from the classpath as the container's
cdr-config-Master.properties. - withPropertiesFile(Path) - Method in class ca.cdr.test.extensions.SmileCdrContainer
-
Uses a properties file from the host filesystem as the container's
cdr-config-Master.properties, for configuration that is generated or selected at runtime rather than packaged on the test classpath. - withTrailingSlash(String) - Static method in class ca.cdr.test.util.UrlPathUtil
-
Spring's
RestClientappends a request's URI template to the base URL's path verbatim, so a base URL with a context path and no trailing slash turnsmodule-config/into/admin-jsonmodule-config/. - wrap(ISmileTestHttpClient) - Static method in class ca.cdr.test.app.clients.common.RequestFactoryUtil
-
Wraps an existing
SmileTestHttpClientfor use with Spring'sRestClient, so that the Spring-based clients share one connection pool and one cookie store with everything else issued through the sameSmileTestHttpClient.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
AdminJsonRestClient.open(String, String, String), whose name says that the client owns the connection pool it returns and that the caller has to close it.