@aiaiai-pt/frankctl 0.5.1 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/README.md +11 -6
- package/dist/index.js +208 -197
- package/dist/template-packs/cira/01_organization.yaml +68 -0
- package/dist/template-packs/cira/02_freguesia.yaml +73 -0
- package/dist/template-packs/cira/03_transit_route.yaml +70 -0
- package/dist/template-packs/cira/04_transit_stop.yaml +57 -0
- package/dist/template-packs/cira/05_air_quality_station.yaml +83 -0
- package/dist/template-packs/cira/06_air_quality_observed.yaml +99 -0
- package/dist/template-packs/cira/07_transit_trip.yaml +106 -0
- package/dist/template-packs/cira/08_vehicle_position.yaml +81 -0
- package/dist/template-packs/cira/09_transdev_aveirobus_gtfs.yaml +709 -0
- package/dist/template-packs/cira/10_ciclope_emergency.yaml +526 -0
- package/dist/template-packs/cira/cityfy_agenda_events.yaml +156 -0
- package/dist/template-packs/cira/template-pack.yaml +109 -0
- package/package.json +2 -1
- package/skills/frank-cli/SKILL.md +33 -12
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,23 @@
|
|
|
3
3
|
All notable changes to `@aiaiai-pt/frankctl` are documented here. This project
|
|
4
4
|
adheres to [Semantic Versioning](https://semver.org/).
|
|
5
5
|
|
|
6
|
+
## 0.7.0
|
|
7
|
+
|
|
8
|
+
- Add discoverable, parameterized CIRA source-to-ontology template packs through
|
|
9
|
+
`templates list|show|render`; rendered output uses the existing declarative
|
|
10
|
+
`pipelines apply -f` path.
|
|
11
|
+
- Package only the CIRA manifests explicitly allowlisted by pack metadata, with
|
|
12
|
+
no credentials, non-applyable Source examples, or ontology schema mutations.
|
|
13
|
+
|
|
14
|
+
## 0.6.0
|
|
15
|
+
|
|
16
|
+
- Add write-only structured Source credential create/rotate/attach/detach
|
|
17
|
+
commands and manifest fields backed by tenant-scoped Vault references.
|
|
18
|
+
- Expose safe BackingDataset replay reason and effective-SyncSpec fingerprint
|
|
19
|
+
evidence, including explicit force replay confirmation.
|
|
20
|
+
- Honor `--client-secret-stdin` for headless password login and reject combining
|
|
21
|
+
it with `--password-stdin`, since one stream cannot safely delimit two secrets.
|
|
22
|
+
|
|
6
23
|
## 0.5.1
|
|
7
24
|
|
|
8
25
|
- Make `pipelines apply --wait` consume the precision-safe ontology
|
package/README.md
CHANGED
|
@@ -17,6 +17,10 @@ Requires Node.js >= 18. The binary is `frankctl`.
|
|
|
17
17
|
frankctl auth login # authenticate against your Frank instance
|
|
18
18
|
frankctl --api-url https://frank.example.com sources list
|
|
19
19
|
frankctl pipelines apply -f pipeline.yaml
|
|
20
|
+
|
|
21
|
+
# Or render a curated vertical through the same apply path
|
|
22
|
+
frankctl templates render cira -o cira.yaml
|
|
23
|
+
frankctl pipelines apply -f cira.yaml --dry-run-server --live-ontology
|
|
20
24
|
```
|
|
21
25
|
|
|
22
26
|
Full command reference: the [Frank docs](https://franksdocs.nomadriver.co) and `frankctl <command> --help`.
|
|
@@ -35,8 +39,10 @@ frankctl --help
|
|
|
35
39
|
- `frankctl status`
|
|
36
40
|
- `frankctl auth login|logout|status|token`
|
|
37
41
|
- `frankctl config set|get|list`
|
|
42
|
+
- `frankctl templates list|show|render`
|
|
38
43
|
- `frankctl pipelines list|get|validate|apply|export`
|
|
39
44
|
- `frankctl sources list|get|create|update|delete|discover|sync|logs|history`
|
|
45
|
+
- `frankctl sources credentials set|rotate`
|
|
40
46
|
- `frankctl backing-datasets list|get|create|update|delete|sync|entities` (alias: `frankctl bd`; `sync --force` replays unchanged data/spec)
|
|
41
47
|
- `frankctl sources streams list|set|refresh-schema`
|
|
42
48
|
- `frankctl transforms list|get|runs|logs|trigger`
|
|
@@ -65,12 +71,11 @@ Docs use the kubectl-style envelope (`apiVersion: frank.platform/v1`,
|
|
|
65
71
|
Pipeline → BackingDataset), resolves cross-doc name references to UUIDs,
|
|
66
72
|
and POSTs each doc with `?if-not-exists=true`. `frankctl pipelines export
|
|
67
73
|
<id> -o yaml` round-trips an existing pipeline back to a multi-doc YAML
|
|
68
|
-
file for
|
|
69
|
-
`frankctl
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
`../docs/guides/cli.md` for the full reference
|
|
73
|
-
future Vault-backed reference contract.
|
|
74
|
+
file for review. Declared credential values are written separately with
|
|
75
|
+
`frankctl sources credentials set|rotate --values-file -` and stored in Vault;
|
|
76
|
+
they are never accepted in ordinary `source_config` or returned by export.
|
|
77
|
+
Git-owned Sources contain only ordinary configuration and the tenant-owned
|
|
78
|
+
opaque `credential_ref`. See `../docs/guides/cli.md` for the full reference.
|
|
74
79
|
|
|
75
80
|
Relationship-bearing BackingDatasets declare their prerequisites in
|
|
76
81
|
`metadata.dependsOn` and explicitly use `spec.sync_mode: manual`. The graph is
|