Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extension_services: "type" field does not accept "file" as value #47

Open
adityoari opened this issue Sep 9, 2022 · 2 comments
Open
Labels
bug Something isn't working
Milestone

Comments

@adityoari
Copy link

adityoari commented Sep 9, 2022

Version 1.5.1 fails when file is used for type setting in extension_services.service_operations with the following errors:

"result": "FAILURE",
"resultSummary": "Invalid declaration: \"data.extension_services.service_operations[0].type should be equal to one of the allowed values\"",

Same declaration is successful if type is changed to url.
README clearly mentions that file is a valid value, so please update either the code or the misleading documentation:

@adityoari
Copy link
Author

Non-working config:

controls:
  logLevel: silly
  logFilename: /var/log/cloud/bigIpRuntimeInit.log
extension_packages:
  install_operations:
  - extensionType: do
    extensionVersion: 1.27.1
extension_services:
  service_operations:
  - extensionType: do
    type: file
    value: file:///var/tmp/do.json

Working config:

controls:
  logLevel: silly
  logFilename: /var/log/cloud/bigIpRuntimeInit.log
extension_packages:
  install_operations:
  - extensionType: do
    extensionVersion: 1.27.1
extension_services:
  service_operations:
  - extensionType: do
    type: url
    value: file:///var/tmp/do.json

@shyawnkarim shyawnkarim added the bug Something isn't working label Oct 10, 2022
@shyawnkarim
Copy link

Thanks for reporting this issue. I've added this bug to our backlog and it is being tracked internally with ID ESECLDTPLT-3203.

@shyawnkarim shyawnkarim added this to the backlog milestone Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants