getstrm/pace

[PACE-15] Add apiVersion and kind to all YAML representations of Proto messages

Opened this issue · 0 comments

An example of a Data Policy that includes version and kind:

apiVersion: pace.getstrm.com/v1alpha
kind: DataPolicy
metadata:
  name: "alpha_test.demo"
platform:
...

This would enable us to operate multiple different api versions simultaneously. This is a client side feature, as it currently is not embedded in the protos themselves, and the client should read the fields to determine the RPC to call and to determine whether the version is still supported.
Another option would be to include this in the protos and enforce this server side.

PACE-15