diff --git a/LICENSE b/LICENSE index 7975711..e66d18a 100644 --- a/LICENSE +++ b/LICENSE @@ -1,11 +1,26 @@ -© Copyright 2023 Micro Focus or one of its affiliates. +Copyright 2016-2023 Open Text. + +The only warranties for products and services of Open Text and +its affiliates and licensors (“Open Text”) are as may be set forth +in the express warranty statements accompanying such products and services. +Nothing herein should be construed as constituting an additional warranty. +Open Text shall not be liable for technical or editorial errors or +omissions contained herein. The information contained herein is subject +to change without notice. + +Except as specifically indicated otherwise, this document contains +confidential information and a valid license is required for possession, +use or copying. If this work is provided to the U.S. Government, +consistent with FAR 12.211 and 12.212, Commercial Computer Software, +Computer Software Documentation, and Technical Data for Commercial Items are +licensed to the U.S. Government under vendor's standard commercial license. + Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and -limitations under the License. +limitations under the License. \ No newline at end of file diff --git a/README.md b/README.md index c737a58..ded0ede 100644 --- a/README.md +++ b/README.md @@ -6,12 +6,13 @@ Custom GitHub action which facilitates communication between GitHub and ALM Octa  [Workflow Configuration](#Workflow-Configuration)  [Change log](#Change-log) +- [v23.3.0](#v2330) - [v1.0](#v10) ## Requirements -- At least one GitHub runner alocated for running the integration. +- At least one GitHub runner allocated for running the integration. - ALM Octane version 16.1.200 or higher -- ALM Octane API Acess with CI/CD Integration and DevOps Admin roles. +- ALM Octane API Access with CI/CD Integration and DevOps Admin roles. ## Workflow Configuration ### Note: these steps should be done inside your GitHub repository. @@ -38,6 +39,7 @@ env: secret variables configuration [here](https://docs.github.com/en/actions/security-guides/encrypted-secrets)). - Set integration config params (ALM Octane URL, Shared Space, Workspace, credentials) and repository (Token and URL). - Set unitTestResultsGlobPattern to match desired Test Results path. +- For Private repositories go to ```Settings -> Actions -> General``` and set your GITHUB_TOKEN permissions to Read and write. This is necessary to access the actions scope. (more details about GITHUB_TOKEN permissions [here](https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token)) ```yaml jobs: @@ -104,13 +106,16 @@ jobs: ## Limitations - Needs at least one dedicated GitHub runner to execute the integration workflow. -- On each pipeline run, the commits that happened since the previous ALM Octane build will be injected. For that, at least one ALM Octane build needs to exist (the commits will be injected starting from the second run of the pipepline with the integration). +- On each pipeline run, the commits that happened since the previous ALM Octane build will be injected. For that, at least one ALM Octane build needs to exist (the commits will be injected starting from the second run of the pipeline with the integration). - Commits from secondary branches will be injected by running the workflow on the desired branch. ## Change log +### v23.3.0 + - Rebranding. + - Fixed issue with logs when connection to ALM Octane was failing. + ### v1.0 - Creates CI server and pipelines, and reflects pipeline run status in ALM Octane. - Injects JUnit test results. - Injects SCM data (commits and branches). - Injects pull requests on GitHub PR events. - diff --git a/package.json b/package.json index 6f2ba4c..0580a4c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "alm-octane-github-actions-integration", - "version": "1.0.0", + "version": "23.3.0", "description": "A custom action which facilitates the connection between GitHub actions and ALM Octane.", "main": "src/main.ts", "scripts": { diff --git a/resources/octaneConfig.json b/resources/octaneConfig.json index e20141d..c75dfcf 100644 --- a/resources/octaneConfig.json +++ b/resources/octaneConfig.json @@ -1,9 +1,9 @@ { - "octaneUrl": "https://laura-2.almoctane.com", - "octaneSharedSpace": "1001", - "octaneWorkspace": "1004", - "octaneClientId": "GH_Actions_dp7r14glmojgvupyx23qw15k6", - "octaneClientSecret": "(98115591638230150140O", - "githubToken": "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", - "serverBaseUrl": "https://github-itg.houston.softwaregrp.net/CFRD/testActionsIntegration" + "octaneUrl": "", + "octaneSharedSpace": , + "octaneWorkspace": , + "octaneClientId": "", + "octaneClientSecret": "", + "githubToken": "", + "serverBaseUrl": "" } \ No newline at end of file diff --git a/resources/workflow_to_run.json b/resources/workflow_to_run.json index 6a49aca..c2504cf 100644 --- a/resources/workflow_to_run.json +++ b/resources/workflow_to_run.json @@ -1 +1,5 @@ -[{"name": "CI_test"}] \ No newline at end of file +[ + { + "name": "" + } +] \ No newline at end of file diff --git a/src/client/githubClient.ts b/src/client/githubClient.ts index e17684b..dc47a9d 100644 --- a/src/client/githubClient.ts +++ b/src/client/githubClient.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { getOctokit } from '@actions/github'; diff --git a/src/client/octaneClient.ts b/src/client/octaneClient.ts index e1812e6..035bcf2 100644 --- a/src/client/octaneClient.ts +++ b/src/client/octaneClient.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { Octane } from '@microfocus/alm-octane-js-rest-sdk'; diff --git a/src/config/config.ts b/src/config/config.ts index 011929c..7212b33 100644 --- a/src/config/config.ts +++ b/src/config/config.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { getInput } from '@actions/core'; diff --git a/src/dto/github/ActionsEvent.ts b/src/dto/github/ActionsEvent.ts index 0468c6d..5ffd75a 100644 --- a/src/dto/github/ActionsEvent.ts +++ b/src/dto/github/ActionsEvent.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { @@ -21,20 +36,6 @@ interface GitHubRepository extends PayloadRepository { id?: string; } -/* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - export default interface ActionsEvent extends WebhookPayload { repository?: GitHubRepository; workflow?: { diff --git a/src/dto/github/ActionsEventType.ts b/src/dto/github/ActionsEventType.ts index a1eeabf..7b1b109 100644 --- a/src/dto/github/ActionsEventType.ts +++ b/src/dto/github/ActionsEventType.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ const enum ActionsEventType { diff --git a/src/dto/github/ActionsJob.ts b/src/dto/github/ActionsJob.ts index de421a1..f47fcc3 100644 --- a/src/dto/github/ActionsJob.ts +++ b/src/dto/github/ActionsJob.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ interface JobStep { diff --git a/src/dto/github/Artifact.ts b/src/dto/github/Artifact.ts index 3ad565c..9aeebb8 100644 --- a/src/dto/github/Artifact.ts +++ b/src/dto/github/Artifact.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ export default interface Artifact { diff --git a/src/dto/github/Commit.ts b/src/dto/github/Commit.ts index 2cde6bf..e46923a 100644 --- a/src/dto/github/Commit.ts +++ b/src/dto/github/Commit.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ export default interface Commit { diff --git a/src/dto/github/PullRequest.ts b/src/dto/github/PullRequest.ts index 5faf9e6..5fddd77 100644 --- a/src/dto/github/PullRequest.ts +++ b/src/dto/github/PullRequest.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ export default interface PullRequest { diff --git a/src/dto/github/WorkflowRun.ts b/src/dto/github/WorkflowRun.ts index 9639b1d..8714acf 100644 --- a/src/dto/github/WorkflowRun.ts +++ b/src/dto/github/WorkflowRun.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ export default interface WorkflowRun { diff --git a/src/dto/github/WorkflowRunStatus.ts b/src/dto/github/WorkflowRunStatus.ts index 93c6ad8..531b4be 100644 --- a/src/dto/github/WorkflowRunStatus.ts +++ b/src/dto/github/WorkflowRunStatus.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ const enum WorkflowRunStatus { diff --git a/src/dto/octane/events/CiEvent.ts b/src/dto/octane/events/CiEvent.ts index f014aaf..86b0b77 100644 --- a/src/dto/octane/events/CiEvent.ts +++ b/src/dto/octane/events/CiEvent.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import CiEventCause from './CiEventCause'; diff --git a/src/dto/octane/events/CiEventCause.ts b/src/dto/octane/events/CiEventCause.ts index 69bec07..ab6798e 100644 --- a/src/dto/octane/events/CiEventCause.ts +++ b/src/dto/octane/events/CiEventCause.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { CiCausesType } from './CiTypes'; diff --git a/src/dto/octane/events/CiEventsList.ts b/src/dto/octane/events/CiEventsList.ts index 61d6332..b887313 100644 --- a/src/dto/octane/events/CiEventsList.ts +++ b/src/dto/octane/events/CiEventsList.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import CiServerInfo from '../general/CiServerInfo'; diff --git a/src/dto/octane/events/CiParameter.ts b/src/dto/octane/events/CiParameter.ts index 54ba4cb..aedae8a 100644 --- a/src/dto/octane/events/CiParameter.ts +++ b/src/dto/octane/events/CiParameter.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ export default interface CiParameter { diff --git a/src/dto/octane/events/CiTypes.ts b/src/dto/octane/events/CiTypes.ts index db07e35..1911e8f 100644 --- a/src/dto/octane/events/CiTypes.ts +++ b/src/dto/octane/events/CiTypes.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ export const enum CiEventType { diff --git a/src/dto/octane/general/CiPipeline.ts b/src/dto/octane/general/CiPipeline.ts index abe8ede..997b5a6 100644 --- a/src/dto/octane/general/CiPipeline.ts +++ b/src/dto/octane/general/CiPipeline.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import CiJobBody from './bodies/CiJobBody'; diff --git a/src/dto/octane/general/CiServerInfo.ts b/src/dto/octane/general/CiServerInfo.ts index c4514a0..56ea32d 100644 --- a/src/dto/octane/general/CiServerInfo.ts +++ b/src/dto/octane/general/CiServerInfo.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ export default interface CiServerInfo { diff --git a/src/dto/octane/general/bodies/CiBuildBody.ts b/src/dto/octane/general/bodies/CiBuildBody.ts index eb6e6bd..bc172cb 100644 --- a/src/dto/octane/general/bodies/CiBuildBody.ts +++ b/src/dto/octane/general/bodies/CiBuildBody.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ export default interface CiBuildBody { diff --git a/src/dto/octane/general/bodies/CiJobBody.ts b/src/dto/octane/general/bodies/CiJobBody.ts index a2efd5a..305d6bb 100644 --- a/src/dto/octane/general/bodies/CiJobBody.ts +++ b/src/dto/octane/general/bodies/CiJobBody.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import CiParameter from '../../events/CiParameter'; diff --git a/src/dto/octane/general/bodies/CiPipelineBody.ts b/src/dto/octane/general/bodies/CiPipelineBody.ts index 32894f6..bc388b7 100644 --- a/src/dto/octane/general/bodies/CiPipelineBody.ts +++ b/src/dto/octane/general/bodies/CiPipelineBody.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ export default interface CiPipelineBody { diff --git a/src/dto/octane/general/bodies/CiServerBody.ts b/src/dto/octane/general/bodies/CiServerBody.ts index d5e30a4..54f3b6f 100644 --- a/src/dto/octane/general/bodies/CiServerBody.ts +++ b/src/dto/octane/general/bodies/CiServerBody.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ export default interface CiServerBody { diff --git a/src/dto/octane/scm/PullRequest.ts b/src/dto/octane/scm/PullRequest.ts index 964973d..f2dc94a 100644 --- a/src/dto/octane/scm/PullRequest.ts +++ b/src/dto/octane/scm/PullRequest.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import PullRequestState from './PullRequestState'; diff --git a/src/dto/octane/scm/PullRequestState.ts b/src/dto/octane/scm/PullRequestState.ts index 7114159..505d429 100644 --- a/src/dto/octane/scm/PullRequestState.ts +++ b/src/dto/octane/scm/PullRequestState.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ const enum PullRequestState { diff --git a/src/dto/octane/scm/ScmChangeType.ts b/src/dto/octane/scm/ScmChangeType.ts index d15f37b..e2dca30 100644 --- a/src/dto/octane/scm/ScmChangeType.ts +++ b/src/dto/octane/scm/ScmChangeType.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ const enum ScmChangeType { diff --git a/src/dto/octane/scm/ScmCommit.ts b/src/dto/octane/scm/ScmCommit.ts index fa48ddb..d3346a7 100644 --- a/src/dto/octane/scm/ScmCommit.ts +++ b/src/dto/octane/scm/ScmCommit.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import ScmCommitChange from './ScmCommitChange'; diff --git a/src/dto/octane/scm/ScmCommitChange.ts b/src/dto/octane/scm/ScmCommitChange.ts index 8001fc8..5b580d4 100644 --- a/src/dto/octane/scm/ScmCommitChange.ts +++ b/src/dto/octane/scm/ScmCommitChange.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import ScmChangeType from './ScmChangeType'; diff --git a/src/dto/octane/scm/ScmData.ts b/src/dto/octane/scm/ScmData.ts index df25c07..e65499d 100644 --- a/src/dto/octane/scm/ScmData.ts +++ b/src/dto/octane/scm/ScmData.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import ScmCommit from './ScmCommit'; diff --git a/src/dto/octane/scm/ScmRepository.ts b/src/dto/octane/scm/ScmRepository.ts index 76dff9c..acfeac7 100644 --- a/src/dto/octane/scm/ScmRepository.ts +++ b/src/dto/octane/scm/ScmRepository.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ export default interface ScmRepository { diff --git a/src/eventHandler.ts b/src/eventHandler.ts index a3e2a83..0513848 100644 --- a/src/eventHandler.ts +++ b/src/eventHandler.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { context } from '@actions/github'; diff --git a/src/main.ts b/src/main.ts index bac437c..11e8883 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { setFailed } from '@actions/core'; @@ -23,7 +38,12 @@ import { handleEvent } from './eventHandler'; } catch (error: any) { let msg; if (error.response) { - msg = `${error.response.status} - ${error.response.statusText}\nurl: ${error.response.config.url} - ${error.response.config.method}\n${error.response.data.description_translated}`; + if(error.response.config) { + msg = `${error.response.status} - ${error.response.statusText}\n url: ${error.response.config.url} - ${error.response.config.method}\n${error.response.data.description_translated}`; + } + else { + msg = JSON.stringify(error.response); + } } else { msg = error.message; } diff --git a/src/service/ciEventsService.ts b/src/service/ciEventsService.ts index 6b04972..28c1eba 100644 --- a/src/service/ciEventsService.ts +++ b/src/service/ciEventsService.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import GitHubClient from '../client/githubClient'; diff --git a/src/service/pipelineDataService.ts b/src/service/pipelineDataService.ts index e4119df..668684d 100644 --- a/src/service/pipelineDataService.ts +++ b/src/service/pipelineDataService.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import OctaneClient from '../client/octaneClient'; diff --git a/src/service/scmDataService.ts b/src/service/scmDataService.ts index f10cfe9..8560c80 100644 --- a/src/service/scmDataService.ts +++ b/src/service/scmDataService.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import GitHubClient from '../client/githubClient'; diff --git a/src/service/testResultsService.ts b/src/service/testResultsService.ts index e86cba4..9fa0a27 100644 --- a/src/service/testResultsService.ts +++ b/src/service/testResultsService.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import AdmZip from 'adm-zip'; diff --git a/src/test/TestResources.ts b/src/test/TestResources.ts index 354058d..0680aea 100644 --- a/src/test/TestResources.ts +++ b/src/test/TestResources.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ enum TestResources { diff --git a/src/utils/utils.ts b/src/utils/utils.ts index c4a15fa..5ebf536 100644 --- a/src/utils/utils.ts +++ b/src/utils/utils.ts @@ -1,15 +1,30 @@ /* -© Copyright 2023 Micro Focus or one of its affiliates. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. + * Copyright 2016-2023 Open Text. + * + * The only warranties for products and services of Open Text and + * its affiliates and licensors (“Open Text”) are as may be set forth + * in the express warranty statements accompanying such products and services. + * Nothing herein should be construed as constituting an additional warranty. + * Open Text shall not be liable for technical or editorial errors or + * omissions contained herein. The information contained herein is subject + * to change without notice. + * + * Except as specifically indicated otherwise, this document contains + * confidential information and a valid license is required for possession, + * use or copying. If this work is provided to the U.S. Government, + * consistent with FAR 12.211 and 12.212, Commercial Computer Software, + * Computer Software Documentation, and Technical Data for Commercial Items are + * licensed to the U.S. Government under vendor's standard commercial license. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ const sleep = async (milis: number): Promise => {