constants

package
v0.0.0-...-41bf266 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2024 License: CC0-1.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const ACOIDArg = "--aco-id"
View Source
const ALRExportPath = "alr/$export"
View Source
const Adjudicated = "adjudicated"
View Source
const ArchJobFiles = "archive-job-files"
View Source
const AuthTokenPath = "/auth/token" // #nosec - G101 credentials for unit testing
View Source
const BBHeaderOriginQ = "BlueButton-OriginalQuery"
View Source
const BBHeaderOriginQC = "BlueButton-OriginalQueryCounter"
View Source
const BBHeaderOriginQID = "BlueButton-OriginalQueryId"
View Source
const BBHeaderOriginURL = "BlueButton-OriginalUrl"
View Source
const BBHeaderTS = "BlueButton-OriginalQueryTimestamp"
View Source
const BadKeyName = "../static/badPublic.pem"
View Source
const CCLF8CompPath = "cclf/archives/valid/T.BCD.A0001.ZCY18.D181121.T1000000"

Named Constants

View Source
const CCLF8Name = "T.BCD.A0001.ZC8Y18.D181120.T1000009"
View Source
const CCLFDIR = "cclf"
View Source
const CCLFFileRetID = "%s RETURNING id"
View Source
const CMSIDArg = "--cms-id"
View Source
const CacheControl = "Cache-Control"
View Source
const CleanupArchArg = "cleanup-archive"
View Source
const CliArchDesc = "How long files should wait in archive before deletion"
View Source
const CliAuthToolsCategory = "Authentication tools"
View Source
const CliCMSIDArg = "cms-id"

Cli.go constants

View Source
const CliCMSIDDesc = "CMS ID of ACO"
View Source
const CliDataImpCategory = "Data import"
View Source
const CliRemoveArchDesc = "Remove job directory and files from archive and update job status to Expired"
View Source
const CompleteMedSupDataImp = "Completed 1-800-MEDICARE suppression data import."

Messages Constants

View Source
const ContentType = "Content-Type"
View Source
const ConvFHIRJsonErr = "Could not convert patient fhir to json."
View Source
const CreateACOID = "create-aco"
View Source
const CreateGroupArg = "create-group"
View Source
const CreateSsasErr = "Failed to create SSAS client"
View Source
const DefaultError = "Some other error"

Error Constants

View Source
const DelDirContents = "delete-dir-contents"
View Source
const DeleteCredentialsErr = "failed to delete credentials"
View Source
const DeleteGroupErr = "could not delete group"
View Source
const DevACOUUID = "0c527d2e-2e8a-4808-b11d-0fa06baf8254"
View Source
const DirectoryArg = "--directory"
View Source
const EOBExportPath = "ExplanationOfBenefit/$export"
View Source
const EmptyKeyName = "../static/emptyFile.pem"
View Source
const EmptyString = ""
View Source
const ExpectedTestUrl = "http://example.com/data"
View Source
const ExpiresInDefault = "1200"
View Source
const ExportPath = "$export"
View Source
const FHIRJsonContentType = "application/fhir+json"
View Source
const FakeClientID = "fake-client-id"
View Source
const FakeClientIDBt = `"fake-client-id"`
View Source
const FakeSecret = "fake-secret"
View Source
const FakeSecretBt = `"fake-secret"`
View Source
const FileNotFound = "file %s not found in archive %s"
View Source
const FileNotFoundN = "File %s not found in archive %s.\n"
View Source
const FileSourceArg = "--filesource"
View Source
const FiveHundredSeconds = "500"
View Source
const FiveSeconds = "5"
View Source
const GenClientCred = "generate-client-credentials"
View Source
const GroupExportPath = "Group/all/$export"
View Source
const ImportComplete = "Completed"
View Source
const ImportFail = "Failed"
View Source
const ImportInprog = "In-Progress"
View Source
const ImportSupDir = "import-suppression-directory"
View Source
const InProgress = "In Progress"
View Source
const IntrospectPath = "/introspect" // #nosec - G101 credentials for unit testing
View Source
const IssuerSSAS = "ssas"
View Source
const JOBIDPath = "/jobs/{jobID}"
View Source
const JobKeyCreateErr = "failed to create job key: %w"
View Source
const JobsFilePath = "jobs/1"
View Source
const JsonContentType = "application/json"
View Source
const LargeACOUUID = "8D80925A-027E-43DD-8AED-9A501CC4CD91"
View Source
const MediumACOUUID = "C74C008D-42F8-4ED9-BF88-CEE659C7F692"
View Source
const MissingIDSecretErr = "missing clientID or secret"
View Source
const MockClient = "mock-client"

Arguments Constants

View Source
const NameArg = "--name"
View Source
const NoACORecord = "no ACO record found for "
View Source
const PartiallyAdjudicated = "partially-adjudicated"
View Source
const PatientEOBPath = "Patient/$export?_type=ExplanationOfBenefit"
View Source
const PatientExportPath = "Patient/$export"
View Source
const PublicKeyErr = "could not get public key"
View Source
const ReadingFile = "Reading file %s from archive %s"
View Source
const ReadingFileN = "Reading file %s from archive %s.\n"
View Source
const RegexACOID = "TEST\\d{4}"
View Source
const RequestStructErr = "bad request structure"
View Source
const ResetClientCred = "reset-client-credentials" // #nosec - G101 credentials for unit testing
View Source
const ResetCredentialsErr = "failed to reset credentials"
View Source
const RespBodyErr = "Failed to read response body %s"
View Source
const RespCodeErr = "request %s has unexpected response code received %d, body '%s'"
View Source
const S3EndpointArg = "--s3endpoint"
View Source
const SQLErr = "Some SQL error"
View Source
const ServerPath = "%s/v1/"
View Source
const SmallACOUUID = "3461C774-B48F-11E8-96F8-529269fb1459"
View Source
const SsasClientErr = "no client for SSAS; %s"
View Source
const SystemCreateErr = "failed to create system"
View Source
const TestACOID = "DBBD1CE1-AE24-435C-807D-ED45953077D3"

ID Constants

View Source
const TestACOName = "ACO name (--name) must be provided"
View Source
const TestAPIUrl = "https://www.api.com"

Url Constants

View Source
const TestArchivePath = "../bcdaworker/data/test/archive"
View Source
const TestBlobFileName = "blob.ndjson"
View Source
const TestChangeTimeErr = "Failed to change modified time for file"
View Source
const TestConfPath = "/src/github.com/CMSgov/bcda-app/conf/test"
View Source
const TestCountSQL = "COUNT(1)"
View Source
const TestExcludeSAMHSA = "excludeSAMHSA=true"
View Source
const TestFHIRPath = "/v1/fhir"
View Source
const TestFakePath = "/src/github.com/CMSgov/bcda-app/conf/FAKE"
View Source
const TestFilePathVariable = "%s/%d/%s"
View Source
const TestFileTime = "2018-11-20T10:00:00Z"
View Source
const TestKeyName = "foo.pem"
View Source
const TestListData = "One,Two,Three,Four"
View Source
const TestReqErr = "Request error"
View Source
const TestRespondAsync = "respond-async"
View Source
const TestRouter = "Test router"
View Source
const TestScore = "1.2345"
View Source
const TestSelectNowSQL = "SELECT NOW()"

SQL Constants

View Source
const TestSomeTime = "some time"
View Source
const TestStagingPath = "../bcdaworker/data/test/staging"
View Source
const TestSuppressBadDeletePath = "T#EFT.ON.ACO.NGD1800.DPRF.D190117.T9909420"
View Source
const TestSuppressBadPath = "T#EFT.ON.ACO.NGD1800.FRPD.D191220.T1000009"
View Source
const TestSuppressMetaFileName = "T#EFT.ON.ACO.NGD1800.DPRF.D181120.T1000009"
View Source
const TestSvcDate = "service-date"
View Source
const TestSvcDateResult = "2006-01-02"
View Source
const TestSynthMedFilesPath = "synthetic1800MedicareFiles/test/"
View Source
const TestTokenID = "665341c9-7d0c-4844-b66f-5910d9d0822f" // #nosec - G101 credentials for unit testing
View Source
const ThresholdArg = "--threshold"
View Source
const TokenPath = "/token" // #nosec - G101 credentials for unit testing
View Source
const TokenRequestDecodingErr = "token request failed - unable to decode response body"
View Source
const TokenRequestTimeoutErr = "token request failed - the SSAS /auth/token request timed out"
View Source
const TokenRequestUnexpectedErr = "token request failed - unexpected error occurred while performing SSAS token request"
View Source
const V1Path = "/api/v1/"

Path Constants

View Source
const V2Path = "/api/v2/"

Variables

View Source
var Version = "latest"

This is set during compilation. See build_and_package.sh in the ops repo

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL