Skip to content

NathanWCarlson/midstream-close-prototype

Repository files navigation

AutoClose Prototype

Local Development & SCADA Ingestion Test

  1. Ensure Docker Desktop (or Docker Engine) is running on your machine.
  2. In project root, start Kafka:
    docker compose up -d
  3. Ingestion Service:
    cd services/ingestion
    

Argo CD GitOps Deployment

  1. Install the Argo CD CLI:
    brew install argocd
  2. Log in to Argo CD:
    argocd login <ARGOCD_SERVER> \
      --username <ARGOCD_USER> \
      --password <ARGOCD_PASS> \
      --insecure
  3. Apply the application manifest:
    kubectl apply -f argocd-app.yaml
  4. Sync and verify:
    argocd app sync autoclose-prototype
    argocd app wait autoclose-prototype --health --timeout 300s
  5. Check namespace pods:
    kubectl get pods -n autoclose

Note: Helm CLI deployment via helm upgrade --install remains available as fallback.

npm ci node index.js

4. In a new terminal, run the test script:
```bash
cd services/ingestion
npm install axios kafka-node
node test_ingest.js

You should see the sample SCADA data published and consumed from Kafka.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors