Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paloaltonetworks/simulator-test-harness
Code repository for simulator test harness for scale testing
https://github.com/paloaltonetworks/simulator-test-harness
aporeto backend enforcer prisma-cloud prisma-saas scale simulator
Last synced: 2 days ago
JSON representation
Code repository for simulator test harness for scale testing
- Host: GitHub
- URL: https://github.com/paloaltonetworks/simulator-test-harness
- Owner: PaloAltoNetworks
- License: apache-2.0
- Created: 2022-05-03T23:24:42.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-05-04T23:50:39.000Z (over 2 years ago)
- Last Synced: 2023-08-01T12:18:58.691Z (over 1 year ago)
- Topics: aporeto, backend, enforcer, prisma-cloud, prisma-saas, scale, simulator
- Language: Go
- Homepage:
- Size: 5.67 MB
- Stars: 1
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Simualtor Test Harness
## Build1. Build the Docker container:
```bash
make simulator
```2. Get a valid `apoctl.json` file:
```bash
export APOCTL_API=https://api.preprod.aporeto.us
export APOCTL_NAMESPACE=/aporeto/username
eval $(apoctl auth google -e)
apoctl appcred create "simulators" --role @auth:role=namespace.administrator > apoctl.json
```3. Create all the necessary file dependencies and edit configuration values.
Make sure the specified paths match the docker mount points in the YAML
files:
```bash
export SIMULATOR_PATH=/root/simulator # This should not change
docker run -it --rm \
-v $(pwd)/apoctl.json:${SIMULATOR_PATH}/apoctl.json \
-v $(pwd)/values.yaml:${SIMULATOR_PATH}/values.yaml \
-v $(pwd)/kubeconfig.yaml:${SIMULATOR_PATH}/kubeconfig.yaml \
-v $(pwd)/backend.yml:${SIMULATOR_PATH}/backend.yml \
simulator:latest
```4. For more information refer to the utility file [README.md](utils/simulator/README.md)