Is your feature request related to a problem? Please describe.
We have one template for multiple projects and would like our artifacts (.app files) to have a uniform setting on resourceExposurePolicy and/or showMyCode.
Not all of our projects are on runtime 8.0 (yet), so some need the showMyCode settings, and others would prefer te new resourceExposurePolicy settings.
Describe the solution you'd like
ALOpsAppCompiler would read the runtime version of the app.json and when the runtime is lower then 8.0, ignore the resourceExposurePolicy parameters (and thus apply the showMyCode settings if available).
The other way around already seems already to work, when I provide both, showMyCode and resourceExposurePolicy, parameters to the ALOpsAppCompiler the resourceExposurePolicy wins over the showMyCode parameter.
Describe alternatives you've considered
Going creative with PowerShell and YAML to try to detect this in our pipelines.
Is your feature request related to a problem? Please describe. We have one template for multiple projects and would like our artifacts (.app files) to have a uniform setting on resourceExposurePolicy and/or showMyCode.
Not all of our projects are on runtime 8.0 (yet), so some need the showMyCode settings, and others would prefer te new resourceExposurePolicy settings.
Describe the solution you'd like ALOpsAppCompiler would read the runtime version of the app.json and when the runtime is lower then 8.0, ignore the resourceExposurePolicy parameters (and thus apply the showMyCode settings if available).
The other way around already seems already to work, when I provide both, showMyCode and resourceExposurePolicy, parameters to the ALOpsAppCompiler the resourceExposurePolicy wins over the showMyCode parameter.
Describe alternatives you've considered Going creative with PowerShell and YAML to try to detect this in our pipelines.