Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
c47d37f
Remove workflowsPath from worker config and add env validation
anatolyshipitz May 28, 2025
d3968ac
Fix error message variable in environment validation utility
anatolyshipitz May 28, 2025
7e4d067
Remove DEBUG variable from .env.test file to streamline environment c…
anatolyshipitz May 28, 2025
39e6286
feat(tests): add unit tests for Redmine activities and weekly financi…
anatolyshipitz May 28, 2025
7af896a
feat(tests): add unit tests for fetchFinancialData function
anatolyshipitz May 28, 2025
449f65c
fix(tests): correct import order and add spacing in redmine.test.ts
anatolyshipitz May 28, 2025
4490220
refactor(tests): remove unused utils.ts and streamline error handling
anatolyshipitz May 28, 2025
77e61c0
refactor(tests): streamline imports and maintain error logging consis…
anatolyshipitz May 28, 2025
1e6a727
refactor(financial): remove fetchFinancialData function and interface
anatolyshipitz May 28, 2025
89d918e
feat(financial): add weekly financial reports workflow and tests
anatolyshipitz May 28, 2025
e36baac
Merge branch 'main' into feature/64207_redmine_activities
anatolyshipitz May 29, 2025
6482a37
refactor(docker): update docker-compose and Vitest configuration
anatolyshipitz May 29, 2025
85b2f19
Merge remote-tracking branch 'origin/feature/64207_redmine_activities…
anatolyshipitz May 29, 2025
931ac1e
fix(sonar): update exclusion patterns in sonar-project.properties
anatolyshipitz May 29, 2025
de87863
refactor(tests): improve test file organization and configuration
anatolyshipitz May 29, 2025
ed04ed5
docs(README): update environment setup instructions and clarify .env …
anatolyshipitz May 29, 2025
8daa545
fix(sonar): update exclusion patterns in sonar-project.properties
anatolyshipitz May 29, 2025
59148c8
refactor(redmine): reorganize ProjectUnit interface and improve Redmi…
anatolyshipitz May 29, 2025
a4010f6
refactor(redmine): enhance getProjectUnits method and improve test co…
anatolyshipitz May 29, 2025
6661d24
refactor(tests): enhance Redmine test suite structure and readability
anatolyshipitz May 29, 2025
34ff752
refactor(tests): update dummy credentials in Redmine test suite
anatolyshipitz May 29, 2025
04b11eb
refactor(tests): enhance Redmine test suite with MySQL pool initializ…
anatolyshipitz May 29, 2025
87a4201
refactor(tests): enhance Redmine test suite with MySQL mocking
anatolyshipitz May 29, 2025
ebecf18
refactor(tests): enhance Redmine test for pool re-initialization
anatolyshipitz May 29, 2025
7edaa6c
refactor(redmine): simplify getProjectUnitsQuery method and enhance t…
anatolyshipitz May 30, 2025
50a0e13
refactor(redmine): restructure Redmine class and introduce RedminePool
anatolyshipitz May 30, 2025
f79a651
test(redmine): add tests for getProjectUnits function and enhance fet…
anatolyshipitz May 30, 2025
5ec18e1
refactor(redmine): remove fetchFinancialData function and related tests
anatolyshipitz May 30, 2025
935bcc7
refactor(financial): restructure financial services and repository in…
anatolyshipitz May 30, 2025
f8042e6
test(redmine): enhance tests for getProjectUnits and RedminePool
anatolyshipitz May 30, 2025
7329ae1
test(financial): add comprehensive tests for FinancialReportService a…
anatolyshipitz May 30, 2025
5ae0d34
feat(financial): implement financial report formatting and enhance pr…
anatolyshipitz May 30, 2025
4fff790
test(financial): enhance factory tests for ProjectUnitRepository and …
anatolyshipitz May 30, 2025
18bddcf
Update workers/main/src/services/financial/FinancialReportService.ts
anatolyshipitz May 30, 2025
f6333ad
fix(redmine): enhance error handling in getProjectUnits method
anatolyshipitz May 30, 2025
f9af48a
refactor(redmine): improve data mapping in getProjectUnits method
anatolyshipitz May 30, 2025
26d3600
feat(redmine): extend ProjectUnit interface and enhance database quer…
anatolyshipitz May 30, 2025
5505684
test(redmine): enhance tests for getProjectUnits with additional prop…
anatolyshipitz May 30, 2025
1784a5c
test(redmine): update getProjectUnits test to improve validation
anatolyshipitz May 30, 2025
eb641c6
refactor(redmine): streamline Redmine service and testing structure
anatolyshipitz May 30, 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
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,21 @@ This project uses custom Docker images built from the following Dockerfiles:

### Create environment file

Create a `.env` file in the root directory of the project with your environment variables:
Before starting the services, you **must** create a `.env` file in the root directory of the project. This file is required for Docker Compose to provide all necessary environment variables to the containers.

Copy the example file:

```bash
cp .env.example .env
```

Then edit the `.env` file to set your specific configuration values.
> **Note:**
> - The `.env.example` file contains all required variables for onboarding and local development. Edit the `.env` file to set your specific configuration values as needed.
> - If you do not create a `.env` file, `docker-compose` will fail to start some services due to missing environment variables.

### Starting the services

You can start the services in two ways, depending on your environment:
After creating and editing your `.env` file, you can start the services in two ways, depending on your environment:

#### 1. Development

Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ services:
- ./workers/main:/app/main
- ./workers/common:/app/common
- /app/main/node_modules
env_file:
- .env
networks:
- app-network
develop:
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sonar.projectKey=speedandfunction_automatization
sonar.organization=speedandfunction
sonar.javascript.lcov.reportPaths=workers/main/coverage/lcov.info
sonar.exclusions=**/src/__tests__/**,**/src/dist/**
sonar.exclusions=docker-compose.yml,**/*.test.ts,**/src/dist/**
36 changes: 0 additions & 36 deletions workers/common/utils.ts

This file was deleted.

Loading