Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
5962dd0
Add GitLab connector
Apmats Oct 13, 2025
322b99e
Remove some dead code
Apmats Oct 13, 2025
724f8b8
Clean up dead code
Apmats Oct 14, 2025
97da866
Update NOTICE.txt
elasticmachine Oct 14, 2025
8ea9943
Merge branch 'main' into am/gitlab-connector
Apmats Oct 14, 2025
2e82645
Remove double retry decorator
Apmats Oct 22, 2025
e70ef6c
Some further clean up
Apmats Oct 22, 2025
091afba
Cleanup excessive comments
Apmats Oct 23, 2025
522aff2
Refactor to return typed dicts when yielding docs, making doc structu…
Apmats Oct 23, 2025
e0cc464
Address some comments
Apmats Oct 23, 2025
355d8ba
Update NOTICE.txt
elasticmachine Oct 23, 2025
965ed72
make autoformat
elasticmachine Oct 23, 2025
74b34cc
Add missing schemas
Apmats Oct 24, 2025
44f1499
More polishing
Apmats Oct 24, 2025
cdedb5a
Further cleanup
Apmats Oct 24, 2025
361dfdd
Fix import that only worked on python 3.11+
Apmats Oct 24, 2025
52c985b
Halfway through addressing review comments
Apmats Oct 24, 2025
c2c3bec
Exception handling - refactor start
Apmats Oct 26, 2025
80b00fd
Exception handling - refactor done
Apmats Oct 27, 2025
b8f6b22
Fix formatting issues
Apmats Oct 27, 2025
e1ef4c9
Adjust retry times
Apmats Oct 27, 2025
1cfe01d
Refactor with single pydantic class per gitlab respone
Apmats Oct 31, 2025
93ba23d
Implement a pattern of validating but not failing on remote API changes
Apmats Nov 4, 2025
3a066de
Merge remote-tracking branch 'origin/main' into am/gitlab-connector
Apmats Nov 4, 2025
a357b17
Clean up after merge: remove old gitlab files and add pydantic depend…
Apmats Nov 4, 2025
06c9888
Fix imports after SDK refactor and simplify validation_utils docstring
Apmats Nov 5, 2025
6c65e09
Fix logger import: use connectors_sdk.logger instead of connectors.lo…
Apmats Nov 5, 2025
4ec2acb
Update NOTICE.txt
elasticmachine Nov 5, 2025
6be87b6
make autoformat
elasticmachine Nov 5, 2025
be9e556
Attempt at fixing ftest
Apmats Nov 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -625,6 +625,25 @@ steps:
artifact_paths:
- "perf8-report-*/**/*"

- path:
- "app/connectors_service/connectors/sources/gitlab/**"
- "app/connectors_service/tests/sources/fixtures/gitlab/**"
- "app/connectors_service/tests/sources/fixtures/fixture.py"
- "${DOCKERFILE_FTEST_PATH}"
- "app/connectors_service/requirements/**"
config:
label: "🔨 GitLab"
<<: *test-agents
<<: *retries
env:
- PYTHON_VERSION=3.11
- DATA_SIZE=small
- CONNECTOR=gitlab
command:
- ".buildkite/run_functional_test.sh"
artifact_paths:
- "perf8-report-*/**/*"

- group: ":building_construction: Build and Test Python Packages"
key: "test_packages"
steps:
Expand Down
78 changes: 78 additions & 0 deletions app/connectors_service/NOTICE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1601,6 +1601,32 @@ Apache License
limitations under the License.


annotated-types
0.7.0
MIT License
The MIT License (MIT)

Copyright (c) 2022 the contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


anyio
4.11.0
UNKNOWN
Expand Down Expand Up @@ -6547,6 +6573,58 @@ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


pydantic
2.10.6
MIT License
The MIT License (MIT)

Copyright (c) 2017 to present Pydantic Services Inc. and individual contributors.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


pydantic_core
2.27.2
MIT License
The MIT License (MIT)

Copyright (c) 2022 Samuel Colvin

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


pymongo
4.6.3
Apache Software License
Expand Down
1 change: 1 addition & 0 deletions app/connectors_service/connectors/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ def _default_config():
"dir": "connectors.sources.directory:DirectoryDataSource",
"dropbox": "connectors.sources.dropbox:DropboxDataSource",
"github": "connectors.sources.github:GitHubDataSource",
"gitlab": "connectors.sources.gitlab:GitLabDataSource",
"gmail": "connectors.sources.gmail:GMailDataSource",
"google_cloud_storage": "connectors.sources.google_cloud_storage:GoogleCloudStorageDataSource",
"google_drive": "connectors.sources.google_drive:GoogleDriveDataSource",
Expand Down
14 changes: 14 additions & 0 deletions app/connectors_service/connectors/sources/gitlab/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#
# Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
# or more contributor license agreements. Licensed under the Elastic License 2.0;
# you may not use this file except in compliance with the Elastic License 2.0.
#
"""GitLab connector package.

This package provides integration with GitLab Cloud for syncing projects, issues,
merge requests, epics, releases, and README files to Elasticsearch.
"""

from connectors.sources.gitlab.datasource import GitLabDataSource

__all__ = ["GitLabDataSource"]
Loading