Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
94 changes: 91 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,92 @@
# AST Javascript Wrapper
<!-- PROJECT LOGO -->
<br />
<p align="center">
<a href="">
<img src="./logo.png" alt="Logo" width="80" height="80">
</a>

Release documentation:
https://checkmarx.atlassian.net/wiki/spaces/AID/pages/6030655776/ast-cli-javascript-wrapper
<h3 align="center">AST-CLI-JAVASCRIPT-WRAPPER</h3>

<!-- TABLE OF CONTENTS -->
<details open="open">
<summary>Table of Contents</summary>
<ol>
<li>
<a href="#about-the-project">About The Project</a>
</li>
<li>
<a href="#getting-started">Getting Started</a>
<ul>
<li><a href="#prerequisites">Prerequisites</a></li>
<li><a href="#setting-up">Setting Up</a></li>
</ul>
</li>
<li><a href="#contact">Contact</a></li>
</ol>
</details>

<!-- ABOUT THE PROJECT -->
## About The Project

The Javascript-Wrapper is part of the AST-CLI project that provides a shared infrastructure across the AST projects.
It contains technology neutral repository interfaces as well as a metadata model for persisting Javascript classes.

<!-- GETTING STARTED -->
## Getting Started

#### Package configuration

Add the following dependency:

```
"dependencies": {
"@checkmarxdev/ast-cli-javascript-wrapper": "{version}"
}
```

### Prerequisites

To be able to build the code you should have:
* Node


### Setting Up

In your terminal, run:
```
- npm install
```

To run integrations tests, you need to set up environment variables:

- In Linux systems run in terminal:
```
export CX_CLIENT_ID="{value}"
export CX_CLIENT_SECRET="{value}"
export CX_APIKEY="{value}"
export CX_BASE_URI="{value}"
export CX_BASE_AUTH_URI="{value}"
export CX_TENANT="{value}"
export PATH_TO_EXECUTABLE="{value}"
```

- In Windows systems run in powershell:
```
setx CX_CLIENT_ID {value}
setx CX_CLIENT_SECRET {value}
setx CX_APIKEY {value}
setx CX_BASE_URI {value}
setx CX_BASE_AUTH_URI {value}
setx CX_TENANT {value}
setx PATH_TO_EXECUTABLE {value}
```

<!-- CONTACT -->
## Contact

Checkmarx - AST Integrations Team

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


© 2021 Checkmarx Ltd. All Rights Reserved.
Binary file added logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.