Skip to content

Commit db43217

Browse files
authored
Merge pull request #269 from Netcracker/develop
chore: Release - 25.4.3
2 parents 9149fcb + 72d1fd5 commit db43217

File tree

170 files changed

+2103
-30583
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

170 files changed

+2103
-30583
lines changed

.github/CODEOWNERS

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1-
@alagishev
2-
@viacheslav-lunev
3-
@karpov-aleksandr
1+
#####################################################
2+
#
3+
# List of approvers for this repository
4+
#
5+
#####################################################
6+
7+
#
8+
# Learn about CODEOWNERS file format:
9+
# https://help.github.com/en/articles/about-code-owners
10+
#
11+
12+
* @alagishev @viacheslav-lunev @karpov-aleksandr

.github/pr-assigner-config.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

.github/workflows/pr-assigner.yaml

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/workflows/pr-assigner.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: PR Auto-Assignment
2+
run-name: "Assigning reviewers for PR #${{ github.event.pull_request.number }}"
3+
on:
4+
pull_request_target:
5+
types: [opened, reopened, synchronize]
6+
branches:
7+
- main
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
pr-auto-assign:
14+
name: "Auto-assign Reviewers to PR #${{ github.event.pull_request.number }}"
15+
runs-on: ubuntu-latest
16+
permissions:
17+
pull-requests: write
18+
contents: read
19+
steps:
20+
- name: "Check if PR is from a fork"
21+
run: |
22+
if [ "${{ github.event.pull_request.head.repo.full_name }}" != "${{ github.event.pull_request.base.repo.full_name }}" ]; then
23+
echo "⚠️ Pull request is from a fork — skipping assignee assignment (no write permissions)."
24+
exit 0
25+
fi
26+
27+
- name: "Checkout Repository"
28+
uses: actions/checkout@v5
29+
with:
30+
persist-credentials: false
31+
32+
- name: "Assign Reviewers"
33+
uses: netcracker/qubership-workflow-hub/actions/pr-assigner@b575bad3a0959c4e883bc34f9d055ff07fde2dbd #2.0.1
34+
env:
35+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

docs/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,13 @@
33
## Development documentation
44
### [Development guide](development_guide.md)
55
### [Local development](local_development/local_development.md)
6-
### [Git integration](git_integration.md)
76

87
## Onboarding guides
98
### [Onboarding](onboarding.md)
109
### [Newcomer environment setup](newcomer_env_setup.md)
1110

1211
## Functionality guides
1312
### [Build process](build.md)
14-
### [Editor](editor.md)
1513
### [Data maintenance](data_maintenance.md)
1614

1715
## Admin guides
@@ -29,4 +27,4 @@
2927
### [Security Model](security/security_model.md)
3028

3129
## Infrastructure
32-
### [Minio Storage](minio.md)
30+
### [Minio Storage](minio.md)

docs/api/APIHUB API.yaml

Lines changed: 12 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ servers:
1919
description: Direct API call host
2020
- url: http://localhost:3000
2121
description: Local server
22+
security:
23+
- BearerAuth: []
24+
- CookieAuth: []
25+
- api-key: []
26+
- PersonalAccessToken: []
2227
tags:
2328
- name: Export
2429
description: Export API documentation.
@@ -753,47 +758,6 @@ paths:
753758
$ref: "#/components/examples/BranchNotFound"
754759
"500":
755760
$ref: "#/components/responses/internalServerError500"
756-
/projects/{projectId}/branches/{branch}/history:
757-
parameters:
758-
- $ref: "#/components/parameters/projectId"
759-
- $ref: "#/components/parameters/branch"
760-
get:
761-
tags:
762-
- History
763-
- Branch
764-
summary: Get project branch commit history
765-
description: Retrieve the project branch commit history
766-
deprecated: true
767-
operationId: getProjectsIdBranchesIdHistory
768-
parameters:
769-
- $ref: "#/components/parameters/limit"
770-
- $ref: "#/components/parameters/page"
771-
responses:
772-
"200":
773-
description: Successful operation
774-
content:
775-
application/json:
776-
schema:
777-
description: History items list
778-
type: object
779-
properties:
780-
changes:
781-
type: array
782-
items:
783-
$ref: "#/components/schemas/ChangeHistory"
784-
"400":
785-
$ref: "#/components/responses/badRequest400"
786-
"404":
787-
description: Not found
788-
content:
789-
application/json:
790-
schema:
791-
$ref: "#/components/responses/notFound404"
792-
examples:
793-
ProjectNotFound:
794-
$ref: "#/components/examples/ProjectNotFound"
795-
"500":
796-
$ref: "#/components/responses/internalServerError500"
797761
/projects/{projectId}/branches/{branch}/upload:
798762
parameters:
799763
- $ref: "#/components/parameters/projectId"
@@ -1114,13 +1078,6 @@ paths:
11141078
summary: Update the file metadata
11151079
description: Update the file metadata
11161080
operationId: patchProjectsIdBranchesIdFilesIdMeta
1117-
parameters:
1118-
- name: bulk
1119-
description: Bulk operation flag
1120-
in: query
1121-
schema:
1122-
type: boolean
1123-
deprecated: true
11241081
requestBody:
11251082
description: Meta update parameters
11261083
content:
@@ -1653,6 +1610,7 @@ paths:
16531610
summary: Handle gitlab event
16541611
description: Handle gitlab event
16551612
operationId: handleGitlabEvent
1613+
security: [{}]
16561614
requestBody:
16571615
description: Push or Tag event https://docs.gitlab.com/ee/user/project/integrations/webhook_events.html
16581616
content:
@@ -1869,10 +1827,6 @@ components:
18691827
type: array
18701828
items:
18711829
$ref: "#/components/schemas/Group"
1872-
alias:
1873-
description: Group short alias (abbreviation)
1874-
type: string
1875-
deprecated: true
18761830
name:
18771831
description: Group full name
18781832
type: string
@@ -2067,15 +2021,6 @@ components:
20672021
required:
20682022
- name
20692023
- permissions
2070-
ChangeAction:
2071-
description: File/ref change action
2072-
type: string
2073-
deprecated: true
2074-
enum:
2075-
- add
2076-
- remove
2077-
- modify
2078-
- rename
20792024
ProjectContent:
20802025
title: ProjectContent
20812026
description: Schema for project content
@@ -2119,12 +2064,6 @@ components:
21192064
blobId:
21202065
type: string
21212066
description: Git blob ID of the file
2122-
action:
2123-
$ref: "#/components/schemas/ChangeAction"
2124-
isDraft:
2125-
description: File updated and not saved (committed)
2126-
type: boolean
2127-
deprecated: true
21282067
type:
21292068
$ref: "#/components/schemas/ShortcutTypeEnum"
21302069
name:
@@ -2193,8 +2132,6 @@ components:
21932132
- deleted
21942133
- added
21952134
- unmodified
2196-
action:
2197-
$ref: "#/components/schemas/ChangeAction"
21982135
kind:
21992136
description: reference kind (group or project)
22002137
enum:
@@ -2364,10 +2301,6 @@ components:
23642301
type: string
23652302
status:
23662303
$ref: "#/components/schemas/VersionStatusEnum"
2367-
serviceName:
2368-
deprecated: true
2369-
type: string
2370-
description: Runtime serviceName
23712304
saveSources:
23722305
type: boolean
23732306
default: false
@@ -2391,9 +2324,6 @@ components:
23912324
version:
23922325
description: Version name
23932326
type: string
2394-
previousVersion:
2395-
deprecated: true
2396-
type: string
23972327
status:
23982328
$ref: "#/components/schemas/VersionStatusEnum"
23992329
refs:
@@ -2979,7 +2909,7 @@ components:
29792909
bearerFormat: JWT
29802910
CookieAuth:
29812911
type: apiKey
2982-
description: Authentication via the `apihub-access-token` cookie.
2912+
description: Authentication via Bearer token in the `apihub-access-token` cookie (default for UI).
29832913
in: cookie
29842914
name: apihub-access-token
29852915
api-key:
@@ -2991,6 +2921,11 @@ components:
29912921
type: http
29922922
description: Login/password authentication
29932923
scheme: basic
2924+
PersonalAccessToken:
2925+
type: apiKey
2926+
description: Authentication by personal access token.
2927+
name: X-Personal-Access-Token
2928+
in: header
29942929
responses:
29952930
badRequest400:
29962931
description: Bad request
@@ -3022,7 +2957,3 @@ components:
30222957
application/json:
30232958
schema:
30242959
$ref: "#/components/schemas/ErrorResponse"
3025-
security:
3026-
- BearerAuth: []
3027-
- CookieAuth: []
3028-
- api-key: []

docs/api/Admin API.yaml

Lines changed: 12 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ servers:
2525
security:
2626
- BearerAuth: []
2727
- CookieAuth: []
28+
- api-key: []
29+
- PersonalAccessToken: []
2830
tags:
2931
- name: Transition
3032
description: Operations to move packages
@@ -39,10 +41,6 @@ paths:
3941
summary: Move package
4042
description: Change package id, i.e. rename it or change parent. Async operation, result is returned by id.
4143
operationId: movePackage
42-
security:
43-
- BearerAuth: []
44-
- CookieAuth: []
45-
- api-key: []
4644
requestBody:
4745
description: Package coordinates
4846
content:
@@ -121,10 +119,6 @@ paths:
121119
description: |
122120
Get status of the move operation by id.
123121
operationId: getMoveStatus
124-
security:
125-
- BearerAuth: []
126-
- CookieAuth: []
127-
- api-key: []
128122
parameters:
129123
- name: id
130124
description: Move operation id
@@ -177,10 +171,6 @@ paths:
177171
description: |
178172
List completed transition activities
179173
operationId: listActivities
180-
security:
181-
- BearerAuth: []
182-
- CookieAuth: []
183-
- api-key: []
184174
parameters:
185175
- name: offset
186176
in: query
@@ -240,10 +230,6 @@ paths:
240230
description: |
241231
List full transition mapping
242232
operationId: listPackageTransitions
243-
security:
244-
- BearerAuth: []
245-
- CookieAuth: []
246-
- api-key: []
247233
responses:
248234
"200":
249235
description: Success
@@ -295,10 +281,6 @@ paths:
295281
description: |
296282
Retrieves system-wide statistics including business entities count, build statistics, and database size information.
297283
operationId: getSystemStats
298-
security:
299-
- BearerAuth: []
300-
- CookieAuth: []
301-
- api-key: []
302284
responses:
303285
"200":
304286
description: System statistics retrieved successfully
@@ -542,3 +524,13 @@ components:
542524
description: Api-key authentication.
543525
name: api-key
544526
in: header
527+
PersonalAccessToken:
528+
type: apiKey
529+
description: Authentication by personal access token.
530+
name: X-Personal-Access-Token
531+
in: header
532+
RefreshTokenAuth:
533+
type: apiKey
534+
in: cookie
535+
name: apihub-refresh-token
536+
description: Authentication via refresh token cookie

0 commit comments

Comments
 (0)