{"id":45056342,"url":"https://github.com/pedro-git-projects/flow-sentry","last_synced_at":"2026-02-19T09:43:18.255Z","repository":{"id":282654986,"uuid":"949204545","full_name":"pedro-git-projects/flow-sentry","owner":"pedro-git-projects","description":"Automated Test Framework for Camunda 8","archived":false,"fork":false,"pushed_at":"2025-03-31T15:48:08.000Z","size":360,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T17:01:04.850Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pedro-git-projects.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-15T22:50:48.000Z","updated_at":"2025-03-24T13:45:27.000Z","dependencies_parsed_at":"2025-03-16T04:23:42.565Z","dependency_job_id":"06b4efad-da57-46be-a058-9715eddb6538","html_url":"https://github.com/pedro-git-projects/flow-sentry","commit_stats":null,"previous_names":["pedro-git-projects/cerberus","pedro-git-projects/flow-sentry"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pedro-git-projects/flow-sentry","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedro-git-projects%2Fflow-sentry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedro-git-projects%2Fflow-sentry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedro-git-projects%2Fflow-sentry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedro-git-projects%2Fflow-sentry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pedro-git-projects","download_url":"https://codeload.github.com/pedro-git-projects/flow-sentry/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedro-git-projects%2Fflow-sentry/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29609525,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T06:47:36.664Z","status":"ssl_error","status_checked_at":"2026-02-19T06:45:47.551Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-19T09:43:13.963Z","updated_at":"2026-02-19T09:43:18.250Z","avatar_url":"https://github.com/pedro-git-projects.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flow Sentry Configuration \u0026 CLI Documentation\n\nFlow Sentry uses a configurable setup to connect to Zeebe, Operate, and related services. Configuration options can be set via **command-line flags** or **environment variables**. If no values are provided, the program will fall back to sensible defaults.\n\n---\n\n## ⚙️ Configuration Options\n\nThe configuration is defined in a `config` struct with the following fields:\n\n| Field                      | Default Value                                                                                                                  | Description                                                                                         |\n|----------------------------|--------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------|\n| **ClientID**               | `zeebe`                                                                                                                        | The client identifier used for OAuth.                                                              |\n| **ClientSecret**           | `zecret`                                                                                                                       | The client secret used for OAuth.                                                                  |\n| **Audience**               | `zeebe-api`                                                                                                                    | The audience for OAuth tokens.                                                                     |\n| **GatewayAddress**         | `localhost:26500` (unless overridden via flag or env var)                                                                      | The address of the Zeebe gateway.                                                                  |\n| **AuthorizationServerURL** | `http://localhost:18080/auth/realms/camunda-platform/protocol/openid-connect/token`                                            | The URL of the authorization server used to obtain OAuth tokens.                                  |\n| **OperateBaseURL**         | `http://localhost:8081`                                                                                                        | The base URL for the Operate service.                                                              |\n| **BpmnPath**               | OS-specific default:\u003cbr\u003e• Linux/Mac: `$HOME/.config/flow-sentry/workflows/connector_test.bpmn`\u003cbr\u003e• Windows: `%AppData%\\local\\flow-sentry\\workflows\\connector_test.bpmn` | The default BPMN file to deploy.                                                                  |\n| **SuitesPath**             | OS-specific default:\u003cbr\u003e• Linux/Mac: `$HOME/.config/flow-sentry/suites`\u003cbr\u003e• Windows: `%AppData%\\local\\flow-sentry\\suites`     | The directory where test suite `.toml` files are stored.                                          |\n| **TestSuitesFlag**         | `all`                                                                                                                          | Which test suites to run: `all`, a specific ID, or a comma-separated list.                         |\n| **DeployWorkflowsFlag**    | `none`                                                                                                                         | Workflow deployment behavior: `none`, `suite`, `all`, or list of BPMN files.                       |\n\n---\n\n## 🚀 CLI Usage\n\n```bash\n./flow-sentry [flags]\n```\n\n### Default behavior (no flags):\n- ✅ Run **all test suites** in the default suites directory  \n- 🚫 **Do not deploy** any workflows\n\n---\n\n## 🏁 Command-Line Flags\n\n### `-testsuites`\n\nRun one or more test suites, identified by their `process_id`.\n\n- **Type:** `string`\n- **Default:** `\"all\"`\n- **Accepted values:**\n  - `all`: Run all test suites found in the suite directory\n  - `foo`: Run the suite with `process_id = \"foo\"`\n  - `foo,bar`: Run multiple suites\n\n**Example:**\n\n```bash\n./flow-sentry -testsuites=invoice-process\n```\n\n---\n\n### `-deployWorkflows`\n\nDeploy BPMN workflows before running test suites.\n\n- **Type:** `string`\n- **Default:** `\"none\"`\n- **Accepted values:**\n  - `none`: Do not deploy anything\n  - `suite`: Deploy workflows listed in each test suite's `workflow_deploy` field\n  - `all`: Deploy all `.bpmn` files from the BPMN directory\n  - `file1.bpmn,file2.bpmn`: Deploy only the specified workflows (must exist in BPMN folder)\n\n**Examples:**\n\n```bash\n./flow-sentry -deployWorkflows=suite\n./flow-sentry -deployWorkflows=invoice.bpmn,shipment.bpmn\n```\n\n---\n\n## 📁 File Path Defaults\n\n### BPMN File Path\n\nIf not configured manually, the default BPMN path is:\n\n- **Linux/macOS:**  \n  `~/.config/flow-sentry/workflows/connector_test.bpmn`\n\n- **Windows:**  \n  `%AppData%\\local\\flow-sentry\\workflows\\connector_test.bpmn`\n\n### Test Suites Path\n\nIf not configured manually, the default test suite folder is:\n\n- **Linux/macOS:**  \n  `~/.config/flow-sentry/suites`\n\n- **Windows:**  \n  `%AppData%\\local\\flow-sentry\\suites`\n\n---\n\n## 🌿 Environment Variables\n\nInstead of passing flags, you can use environment variables to configure Flow Sentry:\n\n| Variable                    | Overrides Field             |\n|----------------------------|-----------------------------|\n| `OPERATE_BASE_URL`         | `OperateBaseURL`            |\n| `AUTHORIZATION_SERVER_URL` | `AuthorizationServerURL`    |\n| `GATEWAY_ADDRESS`          | `GatewayAddress`            |\n\n**Examples:**\n\n```bash\nexport OPERATE_BASE_URL=\"http://example.com:8081\"\nexport AUTHORIZATION_SERVER_URL=\"http://example.com/auth/realms/yourrealm/protocol/openid-connect/token\"\nexport GATEWAY_ADDRESS=\"example.com:26500\"\n```\n\n**Note:** If both environment variables and flags are provided, **flags take precedence**.\n\n---\n\n## 🎯 Example Workflows\n\n| Command                                                | Behavior                                                 |\n|--------------------------------------------------------|----------------------------------------------------------|\n| `./flow-sentry`                                        | ✅ Run all test suites\u003cbr\u003e🚫 Do not deploy workflows      |\n| `./flow-sentry -testsuites=all -deployWorkflows=all`   | ✅ Run all test suites\u003cbr\u003e✅ Deploy all BPMNs             |\n| `./flow-sentry -testsuites=invoice-process`            | ✅ Run only that suite\u003cbr\u003e🚫 Do not deploy workflows      |\n| `./flow-sentry -deployWorkflows=suite`                 | ✅ Run all suites\u003cbr\u003e✅ Deploy workflows listed in suites |\n| `./flow-sentry -testsuites=foo,bar -deployWorkflows=foo.bpmn` | ✅ Run foo + bar suites\u003cbr\u003e✅ Deploy foo.bpmn     |\n\n---\n\n![test runner](images/print.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedro-git-projects%2Fflow-sentry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpedro-git-projects%2Fflow-sentry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedro-git-projects%2Fflow-sentry/lists"}