Commit 4d62957
chore: Release 25.4.6 (#331)
* feat(ci): add security-scan workflow to scan for vulnerabilities in dependencies for APIHUB
Related issue: Netcracker/.github#209
* Merge pull request #268 from Netcracker/split-api-internal-external
docs: deleted APIHUB API spec and add only "system info" endpoint and…
* feat(ci): add security-scan workflow to scan for vulnerabilities in dependencies for APIHUB (#278)
* feat(ci): add security-scan workflow to scan for vulnerabilities in dependencies for APIHUB
Related issue: Netcracker/.github#209, Netcracker/.github#223
* feat(ci): add security-scan workflow to scan for vulnerabilities in dependencies for APIHUB
Related issue: Netcracker/.github#209, Netcracker/.github#223
---------
Co-authored-by: borislavr <noreply@github.com>
* fix: business_metric table inconsistent data (#261)
* fix: add release_versions_published business metric handling during version patch + data fix
* chore: add release_versions_deleted business metric
* chore(ci): remove security-scan-apihub workflow (#284)
Related issue: Netcracker/.github#236
Co-authored-by: borislavr <noreply@github.com>
* feat(ci): add security-scan workflow to scan for vulnerabilities in dependencies for APIHUB (#286)
Related issue: Netcracker/.github#209, Netcracker/.github#223
Co-authored-by: borislavr <noreply@github.com>
* feat: onboard api-spec-exposure lib (#271)
* feat: onboard api-spec-exposure lib
* feat: update log messages
* feat: switch to release library version
---------
Co-authored-by: Aleksandr Agishev <aleksandr.agishev.qubership@gmail.com>
* fix: local run (#290)
* doc: add mandatory for local run config element
* feat: MCP server PoC (#287)
* feat: initial PoC implementation - MCP API on stubs
* feat: MCP with APIHUB services
* feat: add logs, improve prompts
* feat: add api-key authentication for MCP endpoint
* feat: add parameter to limit MCP requests to workspace configured via MCP_WORKSPACE env var
* feat: switch MCP endpoint from /mcp to /api/mcp
* Add lite operations search
* feat: initial implementation for AI Chat API and OpenAI client
* add lite search filters
* Update search query
* feat: refactoring #1 + adding packages_list MCP resource
* feat: refactoring #2
* feat: prompts tuning
* feat: refactoring #3
* fix: redo OpenAI proxy support
* feat: switch to OpenAI client + add caching for resource api_packages_list
* fix: fix proxy parameter for OpenAI
* fix: filter out RUNENV packages
* fix: adaptation for gpt-5 model
* fix: change default model to gpt-5 to be aligned with api-linter
* feat: add LLM parameters to config + some errors logging
* chore: go mod tidy + renew migration number
* feat: bring back old search, make SearchLite in MCP only
* feat: add LLM instruction about search query features
* feat: lite search v2 (#291)
* Updated lite search
* Update search logic
* Lite search: correct filter for API type.
Lite search mode in global search.
---------
Co-authored-by: Viacheslav Lunev <viacheslav.lunev.qubership@gmail.com>
* MCP refactoring
* mcp refactoring
* remove comment
* feat: adaptation for merging to develop
* feat: fix build
---------
Co-authored-by: Viacheslav Lunev <viacheslav.lunev.qubership@gmail.com>
* chore: deps: bump github.com/mark3labs/mcp-go (#299)
Bumps [github.com/mark3labs/mcp-go](https://github.com/mark3labs/mcp-go) from 0.42.0 to 0.43.2.
- [Release notes](https://github.com/mark3labs/mcp-go/releases)
- [Commits](mark3labs/mcp-go@v0.42.0...v0.43.2)
---
updated-dependencies:
- dependency-name: github.com/mark3labs/mcp-go
dependency-version: 0.43.2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: deps: bump golang.org/x/net in /qubership-apihub-service (#298)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.46.0 to 0.48.0.
- [Commits](golang/net@v0.46.0...v0.48.0)
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.48.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: deps: bump github.com/openai/openai-go/v3 (#296)
Bumps [github.com/openai/openai-go/v3](https://github.com/openai/openai-go) from 3.8.1 to 3.12.0.
- [Release notes](https://github.com/openai/openai-go/releases)
- [Changelog](https://github.com/openai/openai-go/blob/main/CHANGELOG.md)
- [Commits](openai/openai-go@v3.8.1...v3.12.0)
---
updated-dependencies:
- dependency-name: github.com/openai/openai-go/v3
dependency-version: 3.12.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: deps: bump github.com/go-playground/validator/v10 (#297)
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.28.0 to 10.29.0.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](go-playground/validator@v10.28.0...v10.29.0)
---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
dependency-version: 10.29.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: deps: bump golang.org/x/oauth2 in /qubership-apihub-service (#295)
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.33.0 to 0.34.0.
- [Commits](golang/oauth2@v0.33.0...v0.34.0)
---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
dependency-version: 0.34.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* docs: updated apihub api's (#288)
* docs: updated apihub api's
* docs: deleted not used schemas
* docs: updated apihub api to internal/external, admin_internal/external
* docs: added sso operation
* docs: add new API endpoints for logging and authentication features
* docs: update APIHUB API schema with new ProtobufOperationMeta and add PublishBuildConfig and ExportBuildConfig components
* feat: Revised GQL support + Async API initial support (#292)
* feat: adaptation to changes due to bulk calculation of changes between package versions (mapping of operation to documentId + operation data hash calculation on BE side)
* feat: internal documents support
* feat: remove graphql operations data persistence
* feat: operation groups migration after operationId changes
* fix: migration for dashboards
* feat: initial support for AsyncAPI 3.0
---------
Co-authored-by: Aleksandr Agishev <aleksandr.agishev.qubership@gmail.com>
* fix: remove FK to enable publication with sources archives stored to S3 (#282)
* fix: remove FK published_sources_published_sources_archives_checksum_fk to enable publication with sources archives stored to S3
* fix: increment new migration number after rebasing to develop
---------
Co-authored-by: Aleksandr Agishev <aleksandr.agishev.qubership@gmail.com>
* fix: lite search parameters
* fix: fix api spec file
* fix: fix one more issue in api spec
* fix: spectral errors fix (#301)
* feat: Add AsyncAPI support (#305)
Co-authored-by: Aleksandr Agishev <aleksandr.agishev.qubership@gmail.com>
* chore: remove unused library
* feat: Operation changes summary (#304)
Get operation changes summary
* chore: deps: bump github.com/coreos/go-oidc/v3 (#273)
Bumps [github.com/coreos/go-oidc/v3](https://github.com/coreos/go-oidc) from 3.16.0 to 3.17.0.
- [Release notes](https://github.com/coreos/go-oidc/releases)
- [Commits](coreos/go-oidc@v3.16.0...v3.17.0)
---
updated-dependencies:
- dependency-name: github.com/coreos/go-oidc/v3
dependency-version: 3.17.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: deps: bump github.com/go-playground/validator/v10 (#307)
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.29.0 to 10.30.0.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](go-playground/validator@v10.29.0...v10.30.0)
---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
dependency-version: 10.30.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: deps: bump github.com/openai/openai-go/v3 (#306)
Bumps [github.com/openai/openai-go/v3](https://github.com/openai/openai-go) from 3.12.0 to 3.15.0.
- [Release notes](https://github.com/openai/openai-go/releases)
- [Changelog](https://github.com/openai/openai-go/blob/main/CHANGELOG.md)
- [Commits](openai/openai-go@v3.12.0...v3.15.0)
---
updated-dependencies:
- dependency-name: github.com/openai/openai-go/v3
dependency-version: 3.15.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* docs: add operation.documentId (#308)
* Add includeData flag to get operation endpoint. (#309)
* docs: add version and comparison internal documents API (#312)
* fix: docs: db connection script
* chore: deps: bump golang.org/x/net in /qubership-apihub-service (#315)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.48.0 to 0.49.0.
- [Commits](golang/net@v0.48.0...v0.49.0)
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.49.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: deps: bump github.com/minio/minio-go/v7 (#317)
Bumps [github.com/minio/minio-go/v7](https://github.com/minio/minio-go) from 7.0.97 to 7.0.98.
- [Release notes](https://github.com/minio/minio-go/releases)
- [Commits](minio/minio-go@v7.0.97...v7.0.98)
---
updated-dependencies:
- dependency-name: github.com/minio/minio-go/v7
dependency-version: 7.0.98
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: deps: bump github.com/sirupsen/logrus (#318)
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) from 1.9.3 to 1.9.4.
- [Release notes](https://github.com/sirupsen/logrus/releases)
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md)
- [Commits](sirupsen/logrus@v1.9.3...v1.9.4)
---
updated-dependencies:
- dependency-name: github.com/sirupsen/logrus
dependency-version: 1.9.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: deps: bump github.com/go-playground/validator/v10 (#311)
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.30.0 to 10.30.1.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](go-playground/validator@v10.30.0...v10.30.1)
---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
dependency-version: 10.30.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: deps: bump github.com/openai/openai-go/v3 (#313)
Bumps [github.com/openai/openai-go/v3](https://github.com/openai/openai-go) from 3.15.0 to 3.16.0.
- [Release notes](https://github.com/openai/openai-go/releases)
- [Changelog](https://github.com/openai/openai-go/blob/main/CHANGELOG.md)
- [Commits](openai/openai-go@v3.15.0...v3.16.0)
---
updated-dependencies:
- dependency-name: github.com/openai/openai-go/v3
dependency-version: 3.16.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: API improvements (#314)
* chore: API improvements
* fix: linter errors
* fix: builds cleanup (#321)
* fix: Update paging instruction for MCP search tool (#319)
* Update paging instruction for MCP search tool.
* Fix typo
---------
Co-authored-by: Viacheslav Lunev <viacheslav.lunev.qubeship@gmail.com>
* chore: deps: bump github.com/zeebo/xxh3 in /qubership-apihub-service (#323)
Bumps [github.com/zeebo/xxh3](https://github.com/zeebo/xxh3) from 1.0.2 to 1.1.0.
- [Commits](zeebo/xxh3@v1.0.2...v1.1.0)
---
updated-dependencies:
- dependency-name: github.com/zeebo/xxh3
dependency-version: 1.1.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix: Update external logs print
* fix: operation changes summary for dashboards (#325)
* fix: operation changes summary for dashboards
* fix: operation changes summary for dashboards
* fix: comparison internal document list for dashboards
* feat: Admin API to get build result and build sources (#328)
* chore: deps: bump github.com/openai/openai-go/v3 (#327)
Bumps [github.com/openai/openai-go/v3](https://github.com/openai/openai-go) from 3.16.0 to 3.17.0.
- [Release notes](https://github.com/openai/openai-go/releases)
- [Changelog](https://github.com/openai/openai-go/blob/main/CHANGELOG.md)
- [Commits](openai/openai-go@v3.16.0...v3.17.0)
---
updated-dependencies:
- dependency-name: github.com/openai/openai-go/v3
dependency-version: 3.17.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix: MCP.tools.get_rest_api_operations_specification was broken (#330)
* chore: fix automerge hallucination
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: borislavr <noreply@github.com>
Co-authored-by: Adil Bektursunov <60805564+zloiadil@users.noreply.github.com>
Co-authored-by: NetcrackerCLPLCI <112641018+NetcrackerCLPLCI@users.noreply.github.com>
Co-authored-by: Aleksandr Karpov <aleksandr.v.karpov.qubership@gmail.com>
Co-authored-by: Viacheslav Lunev <viacheslav.lunev.qubership@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: b41ex <bochencev.qubership@gmail.com>
Co-authored-by: Viacheslav Lunev <viacheslav.lunev.qubeship@gmail.com>File tree
86 files changed
+6692
-3745
lines changed- docs
- api
- postgres_useful_queries
- qubership-apihub-service
- archive
- controller
- entity
- exception
- migration
- stages
- view
- ot
- repository
- resources/migrations
- service
- cleanup
- validation
- utils
- view
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
86 files changed
+6692
-3745
lines changedLarge diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
332 | | - | |
333 | 332 | | |
334 | 333 | | |
335 | 334 | | |
336 | | - | |
| 335 | + | |
337 | 336 | | |
338 | 337 | | |
339 | 338 | | |
| 339 | + | |
340 | 340 | | |
341 | 341 | | |
| 342 | + | |
342 | 343 | | |
343 | 344 | | |
344 | 345 | | |
| |||
361 | 362 | | |
362 | 363 | | |
363 | 364 | | |
364 | | - | |
| 365 | + | |
365 | 366 | | |
366 | 367 | | |
367 | 368 | | |
| |||
394 | 395 | | |
395 | 396 | | |
396 | 397 | | |
397 | | - | |
398 | | - | |
| 398 | + | |
| 399 | + | |
399 | 400 | | |
400 | 401 | | |
401 | 402 | | |
402 | 403 | | |
403 | 404 | | |
404 | | - | |
405 | | - | |
| 405 | + | |
| 406 | + | |
406 | 407 | | |
407 | 408 | | |
408 | 409 | | |
| |||
442 | 443 | | |
443 | 444 | | |
444 | 445 | | |
| 446 | + | |
445 | 447 | | |
446 | 448 | | |
447 | 449 | | |
| |||
479 | 481 | | |
480 | 482 | | |
481 | 483 | | |
482 | | - | |
483 | | - | |
484 | 484 | | |
485 | 485 | | |
486 | 486 | | |
487 | 487 | | |
488 | 488 | | |
489 | 489 | | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
490 | 493 | | |
491 | 494 | | |
492 | 495 | | |
| |||
522 | 525 | | |
523 | 526 | | |
524 | 527 | | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
525 | 533 | | |
526 | 534 | | |
527 | 535 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
41 | 45 | | |
42 | 46 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
60 | 70 | | |
61 | 71 | | |
62 | 72 | | |
63 | 73 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
69 | 81 | | |
70 | 82 | | |
71 | 83 | | |
| |||
91 | 103 | | |
92 | 104 | | |
93 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
94 | 114 | | |
95 | 115 | | |
96 | 116 | | |
| |||
144 | 164 | | |
145 | 165 | | |
146 | 166 | | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
147 | 171 | | |
148 | 172 | | |
149 | 173 | | |
| |||
158 | 182 | | |
159 | 183 | | |
160 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
161 | 193 | | |
162 | 194 | | |
163 | 195 | | |
| |||
0 commit comments