# Run and Test

**Option A – Unified API (all connectors)**

1. Build: mvn clean install -pl csp-api -am (or mvn clean install).
2. Run: java -jar csp-api/target/csp-api-\*.jar (Default port is 8800; see csp-api/src/main/resources/application.properties.)
3. Open the built-in UI (e.g., <http://localhost:8800/>) to select a connector, set connection attributes, and call connection validate, metadata, and query.
4. Call REST endpoints with serverType in the body (e.g., "serverType": "monetdb").&#x20;

   1. GET /v1/info\` does not require a request body.
   2. Metadata/query/validate endpoints require a request body and (for some endpoints) query parameters.

   **Example**: curl -s <http://localhost:8888/v1/info>

**Option B — Standalone Connector (quick app)**

* If the connector includes a quick testing package (e.g., monetdb): mvn -pl monetdb spring-boot:run&#x20;
* Or run the JAR of that module (main class configured in its pom.xml).

***

Copyright © 2026, OvalEdge LLC, Peachtree Corners, GA, USA.
