Skip to content

Commit 212d943

Browse files
authored
Merge pull request #28 from CheckmarxDev/feature/AST-6782_branches
Code refactor, fix in projects and branch list added
2 parents 74e5962 + 70790bc commit 212d943

32 files changed

+668
-460
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- uses: actions/checkout@v2
9-
- name: Copy executable
10-
run: cp ./src/main/resources/cx-linux /tmp/
11-
- name: Permissions to executable
12-
run: sudo chmod 777 /tmp/cx-linux
139
- name: Use Node.js ${{ matrix.node-version }}
1410
uses: actions/setup-node@v2
1511
with:
@@ -22,7 +18,6 @@ jobs:
2218
CX_CLIENT_SECRET: ${{ secrets.CLIENT_SECRET}}
2319
CX_BASE_URI: ${{ secrets.BASE_URI }}
2420
CX_TENANT: ${{ secrets.TENANT }}
25-
PATH_TO_EXECUTABLE: /tmp/cx-linux
2621
run: npm test
2722
cx-scan:
2823
runs-on: ubuntu-latest

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<summary>Table of Contents</summary>
1313
<ol>
1414
<li>
15-
<a href="#about-the-project">About The Project</a>
15+
<a href="#about-the-project">About The CxProject</a>
1616
</li>
1717
<li>
1818
<a href="#getting-started">Getting Started</a>
@@ -26,7 +26,7 @@
2626
</details>
2727

2828
<!-- ABOUT THE PROJECT -->
29-
## About The Project
29+
## About The CxProject
3030

3131
The Javascript-Wrapper is part of the AST-CLI project that provides a shared infrastructure across the AST projects.
3232
It contains technology neutral repository interfaces as well as a metadata model for persisting Javascript classes.
@@ -86,7 +86,7 @@ setx PATH_TO_EXECUTABLE {value}
8686

8787
Checkmarx - AST Integrations Team
8888

89-
Project Link: [https://github.com/CheckmarxDev/ast-cli-javascript-wrapper](https://github.com/CheckmarxDev/ast-cli-javascript-wrapper)
89+
CxProject Link: [https://github.com/CheckmarxDev/ast-cli-javascript-wrapper](https://github.com/CheckmarxDev/ast-cli-javascript-wrapper)
9090

9191

9292
© 2021 Checkmarx Ltd. All Rights Reserved.

jest.setup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
jest.setTimeout(1000000); // in milliseconds
1+
jest.setTimeout(3600000);// in milliseconds

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"scripts": {
2222
"build": "tsc",
23-
"postbuild": "copyfiles -u 1 src/main/resources/cx* dist/",
23+
"postbuild": "copyfiles -u 1 src/main/wrapper/resources/cx* dist/",
2424
"test": "tsc && jest --runInBand"
2525
},
2626
"repository": "https://github.com/CheckmarxDev/ast-cli-javascript-wrapper.git",

src/main/CxAuth.ts

Lines changed: 0 additions & 184 deletions
This file was deleted.

src/main/CxCommandOutput.ts

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/main/CxParamType.ts

Lines changed: 0 additions & 4 deletions
This file was deleted.

src/main/CxResultType.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/main/CxScan.ts

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/main/CxScanConfig.ts

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)