Skip to content

Comments

Feature/create fastapi service#6

Merged
MarcinZ20 merged 4 commits intodevelopmentfrom
feature/create-fastapi-service
Apr 2, 2025
Merged

Feature/create fastapi service#6
MarcinZ20 merged 4 commits intodevelopmentfrom
feature/create-fastapi-service

Conversation

@MarcinZ20
Copy link
Owner

What
This pull request involves significant changes to the structure and organization of the backend/api-service directory. The primary focus is on renaming and updating import paths to reflect the new directory structure.

Directory restructuring and import path updates:

These changes ensure that the codebase is organized in a more modular and maintainable way.

Issue: #4

1. Created `backend` directory
2. Created `backend/api-service` and `backend/ai-service`
3. Updated the go.mod file
4. Run `go mod tidy`
since there is no parameter for setting up `working-dir` in `uses`, the
manual approach was necessary
v2.0 accepts working-dir
@MarcinZ20 MarcinZ20 added bug Something isn't working enhancement New feature or request labels Apr 2, 2025
@MarcinZ20 MarcinZ20 requested a review from Copilot April 2, 2025 09:05
@MarcinZ20 MarcinZ20 self-assigned this Apr 2, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request restructures the backend/api-service directory to reflect the new directory layout and updates the corresponding import paths for consistency.

  • Updated import paths in service, handler, route, and main files.
  • Modified the working-directory in the CI workflow to match the new structure.

Reviewed Changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated no comments.

Show a summary per file
File Description
backend/api-service/internal/services/analysis.go Updated import path for models to use new directory.
backend/api-service/cmd/trustify/main.go Updated import paths for routes and server config.
backend/api-service/api/routes/routes.go Updated import path for handlers.
backend/api-service/api/handlers/handlers.go Updated import paths for models and internal services.
.github/workflows/golangci-lint.yml Set working-directory to point to the new api location.
Files not reviewed (1)
  • backend/api-service/go.mod: Language not supported

@MarcinZ20 MarcinZ20 merged commit 785e278 into development Apr 2, 2025
2 checks passed
@MarcinZ20 MarcinZ20 deleted the feature/create-fastapi-service branch April 2, 2025 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change the golangci-lint workflow to run in the backend/api-service directory Restructure repository

1 participant