Jeff McCune 79e8ab639a (#161) Fix the FormGroup & Refactor API
The way we were organizing fields into section broke Formly validation.
This patch fixes the problem by using the recommended approach of
[Nested Forms][1].

This patch also refactors the PlatformService API to clean it up.
GetForm / PutForm are separated from the Platform methods.  Similarly
GetModel / PutModel are separated out and are specific to get and put
the model data.

NOTE: I'm not sure we should have separated out the platform service
into it's own protobuf package.  Seems maybe unnecessary.

❯ grpcurl -H "x-oidc-id-token: $(holos token)" -d '{"platform_id":"018f36fb-e3ff-7f7f-a5d1-7ca2bf499e94"}' jeff.app.dev.k2.holos.run:443 holos.platform.v1alpha1.PlatformService.GetModel
{
  "model": {
    "org": {
      "contactEmail": "platform@openinfrastructure.co",
      "displayName": "Open Infrastructure Services LLC",
      "domain": "ois.run",
      "name": "ois"
    },
    "privacy": {
      "country": "earth",
      "regions": [
        "us-east-2",
        "us-west-2"
      ]
    },
    "terms": {
      "didAgree": true
    }
  }
}

[1]: https://formly.dev/docs/examples/other/nested-formly-forms
2024-05-04 10:14:37 -07:00
2024-04-26 16:14:30 -07:00
2024-04-12 13:56:16 -07:00
2024-02-02 06:49:09 -08:00
2024-04-12 13:56:16 -07:00
2024-04-12 09:14:13 -07:00
2024-04-12 09:14:13 -07:00
2024-04-09 16:48:21 -07:00
2024-04-09 15:57:31 -07:00
2024-04-09 15:57:31 -07:00
2024-04-25 19:14:20 -07:00
2024-04-22 15:02:08 -07:00
2024-04-22 15:38:07 -07:00
Description
No description provided
Apache-2.0 31 MiB
Latest
2025-11-24 17:19:49 +00:00
Languages
CUE 92.1%
Go 7.5%
Makefile 0.2%