Add sync_cursor to Sync job index mapping (#158638)

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

## Summary

This PR adds a new field `sync_cursor` to index
`.elastic-connectors-sync-jobs`.


### Checklist

Delete any items that are not applicable to this PR.

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

### 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)
This commit is contained in:
Chenhui Wang 2023-05-30 16:40:24 +08:00 committed by GitHub
parent e12b716ae2
commit 66f9ccdfd2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -209,6 +209,7 @@ describe('Setup Indices', () => {
},
},
service_type: { type: 'keyword' },
sync_cursor: { type: 'object' },
},
},
created_at: { type: 'date' },

View file

@ -233,6 +233,7 @@ const indices: IndexDefinition[] = [
},
},
service_type: { type: 'keyword' },
sync_cursor: { type: 'object' },
},
},
created_at: { type: 'date' },