MCPcopy Index your code

hub / github.com/INTO-CPS-Association/DTaaS / functions

Functions2,137 in github.com/INTO-CPS-Association/DTaaS

↓ 72 callersFunctioncreateMockTask
(overrides: Partial<TimedTask> = {})
client/test/unit/model/backend/gitlab/measure/measurement.testUtil.ts:31
↓ 44 callersFunctiongetBranchName
()
client/src/model/backend/gitlab/digitalTwinConfig/settingsUtility.ts:35
↓ 43 callersMethodadd
(entry: DTExecutionResult)
client/src/model/backend/interfaces/execution.ts:41
↓ 38 callersFunctioncreateMockTrial
(overrides: Partial<Trial> = {})
client/test/unit/model/backend/gitlab/measure/measurement.testUtil.ts:59
↓ 38 callersMethodgetProjectId
()
client/src/model/backend/interfaces/backendInterfaces.ts:163
↓ 35 callersFunctionshowSnackbar
(state, action: PayloadAction<ShowNotificationPayload>)
client/src/store/snackbar.slice.ts:28
↓ 31 callersMethodcreate
( files: FileState[], cartAssets: LibraryAssetInterface[], libraryFiles: LibraryConfigFile[], )
client/src/model/backend/interfaces/sharedInterfaces.ts:123
↓ 27 callersFunctioncreateMockDTExecutionResult
( id: string, dtName: string, pipelineId: number, status: ExecutionStatus, )
client/test/unit/store/executionHistory/testSetup.ts:49
↓ 27 callersMethoddelete
(id: string)
client/src/model/backend/interfaces/execution.ts:46
↓ 27 callersMethodinit
()
client/src/model/backend/interfaces/execution.ts:40
↓ 25 callersFunction_make_service
Helper to create a Service with mocked docker (MagicMock + compose config).
deploy/services/cli/tests/test_lib/conftest.py:26
↓ 24 callersMethodget_base_dir
Get the base directory for the project. Supports both standalone package and development workflows: - If config/services.env
deploy/services/cli/dtaas_services/pkg/config.py:48
↓ 23 callersMethodgetAll
()
client/src/model/backend/interfaces/execution.ts:45
↓ 22 callersFunction_make_simple_service
Helper to create a Service with a plain Mock docker (no compose config setup). Args: patch_service_deps: The patch_service_deps fixture v
deploy/services/cli/tests/test_lib/conftest.py:40
↓ 22 callersFunctioncreateTestStore
( initialEntries: DTExecutionResult[] = [], loading = false, error: string | null = null, )
client/test/unit/components/execution/executionHistoryList/testSetup.ts:71
↓ 21 callersFunctiongetDTDirectory
()
client/src/model/backend/gitlab/digitalTwinConfig/settingsUtility.ts:29
↓ 21 callersMethodgetFileContent
* Retrieves the content of a file. * @param filePath - The path of the file to be retrieved.
client/src/model/backend/interfaces/sharedInterfaces.ts:101
↓ 21 callersMethodget_value
Gets a required configuration value from the environment file.
deploy/services/cli/dtaas_services/pkg/config.py:71
↓ 20 callersFunctionformatName
(name: string)
client/src/model/backend/digitalTwin.ts:38
↓ 18 callersFunctioncreateMockExecution
( overrides: Partial<ExecutionResult> = {}, )
client/test/unit/model/backend/gitlab/measure/measurement.testUtil.ts:70
↓ 18 callersFunctionuseSelectorFromStore
( ctx: ExecutionHistoryListContext, )
client/test/unit/components/execution/executionHistoryList/testSetup.ts:152
↓ 16 callersMethodgetById
(id: string)
client/src/model/backend/interfaces/execution.ts:43
↓ 15 callersFunctionrunDigitalTwin
( dtName: string, config?: Partial<Configuration>, )
client/src/model/backend/gitlab/measure/measurement.pipeline.ts:153
↓ 14 callersFunctioncreateMockDigitalTwinData
(dtName: string)
client/test/__mocks__/global_mocks.tsx:140
↓ 14 callersFunctiongetStore
()
client/src/model/backend/gitlab/measure/measurement.settings.ts:11
↓ 14 callersFunctionrenderLogDialog
( name = 'testDT', showLog = true, customSetShowLog = setShowLog, )
client/test/unit/components/LogDialog.test.tsx:93
↓ 14 callersMethodrun
()
servers/execution/runner/src/interfaces/runner.interface.ts:2
↓ 13 callersFunctionConfig
(props: { role: string })
client/src/route/config/Config.tsx:120
↓ 13 callersFunction_make_gl_mock
Create a mock gitlab.Gitlab client.
deploy/services/cli/tests/test_services/test_gitlab/test_users.py:16
↓ 13 callersFunctionextractDataFromDigitalTwin
( digitalTwin: DigitalTwin, )
client/src/model/backend/util/digitalTwinAdapter.ts:47
↓ 13 callersFunctiongetGroupName
()
client/src/model/backend/gitlab/digitalTwinConfig/settingsUtility.ts:27
↓ 13 callersFunctionmapGitlabStatusToExecutionStatus
( gitlabStatus: string, )
client/src/model/backend/gitlab/execution/statusChecking.ts:8
↓ 13 callersFunctionrenderMeasurement
()
client/test/unit/route/measurement/Measurement.test.tsx:165
↓ 13 callersMethodstop
(projectId: ProjectId, pipeline: string)
client/src/model/backend/interfaces/sharedInterfaces.ts:132
↓ 12 callersFunctioncreateAsyncMock
(value: T)
client/test/__mocks__/global_mocks.tsx:154
↓ 12 callersFunctiondispatchAddExecHistoryEntry
( customStore: ReturnType<typeof configureStore>, overrides = {}, )
client/test/integration/integration.testUtil.tsx:30
↓ 12 callersFunctionrun_command
Run a dtaas-services command and return the result Args: cmd_list: List of command arguments (e.g., ["dtaas-services", "status"])
deploy/services/cli/tests/system_tests/test_services_commands.py:77
↓ 12 callersFunctionstartMeasurement
( setters: MeasurementSetters, isRunningRef: React.MutableRefObject<boolean>, )
client/src/model/backend/gitlab/measure/measurement.runner.ts:163
↓ 12 callersMethodstartPipeline
* Starts a new pipeline for the specified project. * @param projectId - The ID of the project to start the pipeline for. * @param ref - The Git
client/src/model/backend/interfaces/backendInterfaces.ts:14
↓ 11 callersMethodcheckRunningExecutions
( runningExecutions: DTExecutionResult[], digitalTwinsData: { [key: string]: DigitalTwinData }, ex
client/src/model/backend/state/ExecutionStatusService.ts:82
↓ 11 callersFunctioncleanLog
(log: string)
client/src/model/backend/gitlab/cleanLog.ts:10
↓ 11 callersFunctioncleanURL
(url: string)
client/src/util/envUtil.ts:8
↓ 11 callersMethodexecute
(skipHistorySave?: boolean)
client/src/model/backend/interfaces/sharedInterfaces.ts:131
↓ 11 callersFunctiongetAuthority
()
client/src/util/envUtil.ts:121
↓ 11 callersFunctionisFailureStatus
(status: string)
client/src/model/backend/gitlab/execution/statusChecking.ts:49
↓ 11 callersFunctionmake_mock_container
Create a mock container with the specified name and status. Args: name: Container name status: Container state status hea
deploy/services/cli/conftest.py:40
↓ 11 callersFunctionstopPipelines
( digitalTwin: DigitalTwin, executionId?: string, )
client/src/model/backend/gitlab/execution/pipelineCore.ts:102
↓ 11 callersFunctionstoreResetAll
()
client/test/integration/integration.testUtil.tsx:52
↓ 10 callersFunction_make_ctx
Create a CustomerUserContext for testing.
deploy/services/cli/tests/test_services/test_thingsboard/test_customer_user.py:13
↓ 10 callersFunctioncreateMockActivePipeline
( overrides: Partial<{ backend: MockBackend; pipelineId: number; dtName: string; status: str
client/test/unit/model/backend/gitlab/measure/measurement.testUtil.ts:128
↓ 10 callersFunctiondownloadTaskResultJson
(task: TimedTask)
client/src/model/backend/gitlab/measure/measurement.utils.ts:126
↓ 10 callersFunctionexecute_docker_command
Execute a command in a Docker container, with optional retries. Args: container_name: Name of the Docker container exec_cmd: Comm
deploy/services/cli/dtaas_services/pkg/docker_utils.py:155
↓ 10 callersFunctionfetchJobLogs
( backend: BackendInterface, pipelineId: number, cleanLogFn: (log: string) => string = cleanLog, )
client/src/model/backend/gitlab/execution/logFetching.ts:14
↓ 10 callersMethodgetByDTName
(dtName: string)
client/src/model/backend/interfaces/execution.ts:44
↓ 10 callersFunctionisCanceledStatus
(status: string)
client/src/model/backend/gitlab/execution/statusChecking.ts:69
↓ 10 callersMethodlistRepositoryFiles
* Lists files in a repository directory. * @param projectId - The ID of the project to list files from. * @param path - The path of the director
client/src/model/backend/interfaces/backendInterfaces.ts:98
↓ 10 callersFunctionrenderSnackbar
( items: Array<{ id: number; message: string; severity: string }> = [ { id: 0, message: 'Test messag
client/test/unit/components/route/Snackbar.test.tsx:105
↓ 10 callersFunctionresolve
()
client/test/unit/model/backend/gitlab/measure/measurement.lifecycle.test.ts:61
↓ 10 callersFunctionrestoreOriginalSettings
()
client/src/model/backend/gitlab/measure/measurement.execution.ts:156
↓ 10 callersFunctionselectDigitalTwinByName
(name: string)
client/src/store/selectors/digitalTwin.selectors.ts:3
↓ 10 callersFunctionspyOnGetPipelineJobs
()
client/test/unit/route/digitaltwins/execution/executionStatusManager/testSetup.ts:36
↓ 9 callersFunctioncreateMockBackend
(projectId: number = 1)
client/test/unit/model/backend/gitlab/measure/measurement.testUtil.ts:93
↓ 9 callersMethodgetCommonProjectId
()
client/src/model/backend/interfaces/backendInterfaces.ts:164
↓ 9 callersMethodgetPipelineStatus
* Retrieves the status of a specific pipeline. * @param projectId - The ID of the project containing the pipeline. * @param pipelineId - The ID
client/src/model/backend/interfaces/backendInterfaces.ts:144
↓ 9 callersFunctiongetTasks
()
client/src/model/backend/gitlab/measure/measurement.execution.ts:173
↓ 9 callersFunctioninject_profile_claim
Add a profile claim to userinfo JSON when missing.
deploy/workspace/dex/localhost/companion/src/profile.py:38
↓ 9 callersFunctionisFinishedStatus
(status: string)
client/src/model/backend/gitlab/execution/statusChecking.ts:79
↓ 9 callersMethodmanage_services
Manage platform services using Docker Compose. Args: action: Action to perform ('start', 'stop', 'restart') s
deploy/services/cli/dtaas_services/pkg/lib/manager.py:200
↓ 9 callersFunctionset_service_cert_permissions
Set certificate file ownership and permissions for a service. Automatically skips permission changes in CI environments and Windows. Args:
deploy/services/cli/dtaas_services/pkg/cert.py:263
↓ 9 callersFunctionspyOnGetPipelineStatus
(status: string)
client/test/unit/route/digitaltwins/execution/executionStatusManager/testSetup.ts:42
↓ 9 callersMethodupdate
(entry: DTExecutionResult)
client/src/model/backend/interfaces/execution.ts:42
↓ 8 callersFunctionassert_command_success
Assert command succeeded, with rich output on failure Args: result: subprocess.CompletedProcess object operation_name: Human-
deploy/services/cli/tests/system_tests/test_services_commands.py:172
↓ 8 callersFunctionbuild_profile_claim
Build a profile URL from preferred_username and issuer.
deploy/workspace/dex/localhost/companion/src/profile.py:24
↓ 8 callersFunctionclosestDiv
(element: HTMLElement)
client/test/integration/integration.testUtil.tsx:111
↓ 8 callersFunctioncreateMockStoreState
(settings: { RUNNER_TAG: string; BRANCH_NAME: string; GROUP_NAME?: string; DT_DIRECTORY?: string; CO
client/test/unit/model/backend/gitlab/measure/measurement.testUtil.ts:104
↓ 8 callersFunctioncreate_users_from_credentials
Generic function to create users from a credentials CSV file. Args: credentials_file: Opened CSV file with username,password columns
deploy/services/cli/dtaas_services/pkg/utils.py:120
↓ 8 callersFunctionexecute_influxdb_command
Execute an InfluxDB docker command and return result or error. Args: command: Command list to execute error_context: Error messag
deploy/services/cli/dtaas_services/pkg/services/influxdb/_utils.py:24
↓ 8 callersMethodgetFileNames
* Retrieves the names of all files of a specific type. * @param fileType - The type of files to retrieve names for.
client/src/model/backend/interfaces/sharedInterfaces.ts:106
↓ 8 callersFunctiongetStatusDescription
(status: string)
client/src/model/backend/gitlab/execution/statusChecking.ts:89
↓ 8 callersFunctiongetStatusSeverity
( status: string, )
client/src/model/backend/gitlab/execution/statusChecking.ts:122
↓ 8 callersMethodgetTriggerToken
(projectId: ProjectId)
client/src/model/backend/gitlab/backend.ts:170
↓ 8 callersMethodhandle_docker_error
Handle Docker operation errors consistently. Args: operation: Name of the operation that failed exc: The exception tha
deploy/services/cli/dtaas_services/pkg/lib/docker_executor.py:134
↓ 8 callersFunctionhasTimedOut
( startTime: number, maxTime: number = MAX_EXECUTION_TIME, )
client/src/model/backend/gitlab/execution/pipelineCore.ts:23
↓ 8 callersFunctionisSuccessStatus
(status: string)
client/src/model/backend/gitlab/execution/statusChecking.ts:41
↓ 8 callersFunctionmergeExecutionStatus
( executions: Execution[], activePipelines: ActivePipeline[], completedResults: ExecutionResult[], def
client/src/model/backend/gitlab/measure/measurement.utils.ts:237
↓ 8 callersFunctionparse_service_list
Parse comma-separated service names into a list.
deploy/services/cli/dtaas_services/commands/utility.py:20
↓ 8 callersFunctionrenderWithRouter
( ui: React.ReactElement, { route = '/', store }: RouterOptions = {}, )
client/test/unit/unit.testUtil.tsx:24
↓ 8 callersFunctionsecondsDifference
( startTime: Date | undefined, endTime: Date | undefined, )
client/src/model/backend/gitlab/measure/measurement.utils.ts:43
↓ 8 callersFunctionsignOut
(auth: AuthContextProps)
client/src/util/auth/Authentication.ts:52
↓ 8 callersMethodupdateExecutionStatus
* Update the status of a specific execution * @param executionId The execution ID * @param status The new status * @returns Promise that reso
client/src/model/backend/digitalTwin.ts:180
↓ 8 callersFunctionuseSignOut
()
client/src/util/auth/Authentication.ts:50
↓ 7 callersFunction_parse_port
Safely parse a port number, falling back to *default*.
deploy/workspace/dex/localhost/companion/src/config.py:9
↓ 7 callersFunction_setup_service_users
Set up users for a service and print status. Returns: bool: True if successful, False if there were errors
deploy/services/cli/dtaas_services/commands/user_ops.py:44
↓ 7 callersMethodcancelPipeline
* Cancels an existing pipeline. * @param projectId - The ID of the project containing the pipeline. * @param pipelineId - The ID of the pipeline
client/src/model/backend/interfaces/backendInterfaces.ts:26
↓ 7 callersFunctioncreateDT
( self: DigitalTwin, files: FileState[], cartAssets: LibraryAssetInterface[], libraryFiles: LibraryCon
client/src/model/backend/util/digitalTwinFileManagement.ts:106
↓ 7 callersFunctioncreateDigitalTwin
(dtName: string = 'test-DTName')
client/test/unit/model/backend/digitalTwin/testSetup.ts:43
↓ 7 callersFunctioncreateDigitalTwinFromData
( digitalTwinData: DigitalTwinData, assetName: string, )
client/src/model/backend/util/digitalTwinAdapter.ts:12
↓ 7 callersFunctioncreateGitlabInstance
( projectName: string, accessToken: string, authority: string, )
client/src/model/backend/gitlab/gitlabFactory.ts:5
↓ 7 callersFunctioncreateMockDT
()
client/test/unit/route/digitaltwins/editor/sidebarFunctions/reconfigureFileClick.test.ts:11
↓ 7 callersFunctioncreateMockURL
(path: string)
client/test/__mocks__/mockEnvConstants.ts:1
next →1–100 of 2,137, ranked by callers