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

Add * as default value for comma-separated lists that support it #2532

Merged
merged 6 commits into from
May 8, 2024

Conversation

artem-shelkovnikov
Copy link
Member

@artem-shelkovnikov artem-shelkovnikov commented May 8, 2024

Part of https://github.com/elastic/enterprise-search-team/issues/7205

This PR adds "*" as a default value for connector fields that support comma-separated values and asterisk. Affected connectors/fields are:

  • MSSQL connector tables
  • MySQL connector tables
  • Oracle connector tables
  • PostgreSQL connector tables
  • Redis connector database
  • ServiceNow connector services
  • Sharepoint Online connector site_collections

Checklists

Pre-Review Checklist

  • this PR does NOT contain credentials of any kind, such as API keys or username/passwords (double check config.yml.example)
  • this PR has a meaningful title
  • this PR links to all relevant github issues that it fixes or partially addresses
  • if there is no GH issue, please create it. Each PR should have a link to an issue
  • this PR has a thorough description
  • Tested the changes locally
  • Added a label for each target release version (example: v7.13.2, v7.14.0, v8.0.0)
  • if you added or changed Rich Configurable Fields for a Native Connector, you made a corresponding PR in Kibana

Related Pull Requests

elastic/kibana#182957

Copy link
Contributor

@navarone-feekery navarone-feekery left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love this, nice one!

@@ -0,0 +1,225 @@
.Dd May 18, 2004
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm really curious, what does this new file do? Or was it added by mistake?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Idk how it got here, wat

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just removed

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's still here 👻

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AH now it's gone, ignore ^

@artem-shelkovnikov artem-shelkovnikov merged commit bac6133 into main May 8, 2024
2 checks passed
@artem-shelkovnikov artem-shelkovnikov deleted the artem/add-wildcard-defaults branch May 8, 2024 16:29
Copy link

github-actions bot commented May 8, 2024

💚 Backport PR(s) successfully created

Status Branch Result
8.14 #2533

This backport PR will be merged automatically after passing CI.

artem-shelkovnikov added a commit to elastic/kibana that referenced this pull request May 8, 2024
## Summary

This PR adds "*" as default value for 3 more native connector fields
that specify comma-separate values:

- MySQL connector field "tables"
- Oracle connector field "tables"
- Sharepoint Online field "site_collections"

Similar PR in connectors:
elastic/connectors#2532


### For maintainers

- [ ] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request May 8, 2024
## Summary

This PR adds "*" as default value for 3 more native connector fields
that specify comma-separate values:

- MySQL connector field "tables"
- Oracle connector field "tables"
- Sharepoint Online field "site_collections"

Similar PR in connectors:
elastic/connectors#2532

### For maintainers

- [ ] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

(cherry picked from commit b3e6f74)
artem-shelkovnikov added a commit that referenced this pull request May 8, 2024
…it (#2532) (#2533)

Co-authored-by: Artem Shelkovnikov <artem.shelkovnikov@elastic.co>
kibanamachine added a commit to elastic/kibana that referenced this pull request May 8, 2024
…182974)

# Backport

This will backport the following commits from `main` to `8.14`:
- [Add * as default value for 3 more native connectors
(#182957)](#182957)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Artem
Shelkovnikov","email":"artem.shelkovnikov@elastic.co"},"sourceCommit":{"committedDate":"2024-05-08T16:29:41Z","message":"Add
* as default value for 3 more native connectors (#182957)\n\n##
Summary\r\n\r\nThis PR adds \"*\" as default value for 3 more native
connector fields\r\nthat specify comma-separate values:\r\n\r\n- MySQL
connector field \"tables\"\r\n- Oracle connector field \"tables\"\r\n-
Sharepoint Online field \"site_collections\"\r\n\r\nSimilar PR in
connectors:\r\nhttps://github.com/elastic/connectors/pull/2532\r\n\r\n\r\n###
For maintainers\r\n\r\n- [ ] This was checked for breaking API changes
and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"b3e6f74234298f5f042679fe043a8a5c8d067673","branchLabelMapping":{"^v8.15.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:EnterpriseSearch","v8.14.0","v8.15.0"],"title":"Add
* as default value for 3 more native
connectors","number":182957,"url":"#182957
* as default value for 3 more native connectors (#182957)\n\n##
Summary\r\n\r\nThis PR adds \"*\" as default value for 3 more native
connector fields\r\nthat specify comma-separate values:\r\n\r\n- MySQL
connector field \"tables\"\r\n- Oracle connector field \"tables\"\r\n-
Sharepoint Online field \"site_collections\"\r\n\r\nSimilar PR in
connectors:\r\nhttps://github.com/elastic/connectors/pull/2532\r\n\r\n\r\n###
For maintainers\r\n\r\n- [ ] This was checked for breaking API changes
and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"b3e6f74234298f5f042679fe043a8a5c8d067673"}},"sourceBranch":"main","suggestedTargetBranches":["8.14"],"targetPullRequestStates":[{"branch":"8.14","label":"v8.14.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.15.0","branchLabelMappingKey":"^v8.15.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/182957","number":182957,"mergeCommit":{"message":"Add
* as default value for 3 more native connectors (#182957)\n\n##
Summary\r\n\r\nThis PR adds \"*\" as default value for 3 more native
connector fields\r\nthat specify comma-separate values:\r\n\r\n- MySQL
connector field \"tables\"\r\n- Oracle connector field \"tables\"\r\n-
Sharepoint Online field \"site_collections\"\r\n\r\nSimilar PR in
connectors:\r\nhttps://github.com/elastic/connectors/pull/2532\r\n\r\n\r\n###
For maintainers\r\n\r\n- [ ] This was checked for breaking API changes
and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"b3e6f74234298f5f042679fe043a8a5c8d067673"}}]}]
BACKPORT-->

Co-authored-by: Artem Shelkovnikov <artem.shelkovnikov@elastic.co>
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.

None yet

2 participants