Skip to content

CheckmarxDev/ast-cli-java-wrapper

Repository files navigation


Logo

AST-CLI-JAVA-WRAPPER

Table of Contents
  1. About The Project
  2. Getting Started
  3. Contact

About The Project

The Java-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 Java classes.

Getting Started

Maven configuration

Add the Maven dependency:

    <dependency>
        <groupId>com.checkmarx.ast</groupId>
        <artifactId>ast-cli-java-wrapper</artifactId>
        <version>1.0.14</version>
    </dependency>

Prerequisites

To be able to build the code you should have:

  • Java (version above 1.8)

  • Maven (version above 3)

Setting Up

In your terminal, run:

- mvn clean 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

Checkmarx - AST Integrations Team

Project Link: https://github.com/CheckmarxDev/ast-cli-java-wrapper

© 2021 Checkmarx Ltd. All Rights Reserved.