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

[apmpackage] Remove duplicate input variable attributes #5982

Merged
merged 3 commits into from
Aug 23, 2021

Conversation

simitt
Copy link
Contributor

@simitt simitt commented Aug 20, 2021

Motivation/summary

Starting with elastic/kibana#106535 Kibana manages most of the
input variable attributes. Remove all attributes from the manifest
except for the name, type, multi and default value.

Non-functional change

Checklist

- [ ] Update CHANGELOG.asciidoc
- [ ] Documentation has been updated

How to test these changes

  • checkout apm-server from github
  • checkout the package-registry from github, and run mage build, create a 0.4.0 folder inside build/package-storage/packages/apm/ and copy apm-server/apmpackage/apm/* (from the apm-server repo) into the package-registry folder build/package-storage/packages/apm/0.4.0/ and run go run .
  • from inside the apm-integration-testing start the test setup and point to the local registry ./scripts/compose.py start master --no-apm-server --with-elastic-agent --package-registry-url=http://host.docker.internal:8080
  • add an apm integration to a policy, check that default values are there, that the created policy looks ok and check that the integration can be edited afterwards.

Starting with elastic/kibana#106535 Kibana manages most of the
input variable attributes. Remove all attributes from the manifest
except for the name, type, multi and default value.
@apmmachine
Copy link
Contributor

apmmachine commented Aug 20, 2021

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2021-08-23T12:47:32.920+0000

  • Duration: 45 min 31 sec

  • Commit: b659a93

Test stats 🧪

Test Results
Failed 0
Passed 5935
Skipped 14
Total 5949

Trends 🧪

Image of Build Times

Image of Tests

@simitt
Copy link
Contributor Author

simitt commented Aug 23, 2021

/test

@simitt simitt merged commit ccf6509 into elastic:master Aug 23, 2021
mergify bot pushed a commit that referenced this pull request Aug 23, 2021
* Starting with elastic/kibana#106535 Kibana manages most of the
input variable attributes. Remove all attributes from the manifest
except for the name, type, multi and default value.

* Fix TLS settings

(cherry picked from commit ccf6509)
axw pushed a commit that referenced this pull request Aug 30, 2021
* Starting with elastic/kibana#106535 Kibana manages most of the
input variable attributes. Remove all attributes from the manifest
except for the name, type, multi and default value.

* Fix TLS settings

(cherry picked from commit ccf6509)

Co-authored-by: Silvia Mitter <[email protected]>
@axw
Copy link
Member

axw commented Aug 30, 2021

Verified with BC3. Confirmed defaults are still set, policy looks ok and can be edited.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants