5823d2b6a0
Revert "Update JPA config to use update mode and disable SQL init"
...
This reverts commit 3fcea268a9 .
2026-02-16 01:11:20 +05:30
3fcea268a9
Update JPA config to use update mode and disable SQL init
2026-02-16 01:10:31 +05:30
3c51b761e0
Add RequestRepository integration tests with H2 in-memory database
2026-02-16 00:56:28 +05:30
c78f2713c3
Fix LazyInitializationException and update hostname format
2026-02-16 00:38:23 +05:30
3b43039a29
Add Request import and simplify createTestRequest method
2026-02-15 22:37:19 +05:30
09e631c871
Restore removed tests for approve/reject endpoints
2026-02-15 22:34:21 +05:30
9a25495d9c
Remove pagination and filtering from /requests endpoint
2026-02-15 22:06:07 +05:30
7e3882febf
Add PaginationRequest DTO for /requests endpoint
2026-02-15 20:51:52 +05:30
6c496c8c27
Fix broken findByCfTunnelId method - property doesn't exist on Tunnel entity
2026-02-15 20:23:29 +05:30
927ce563c5
Set ddl-auto to create-drop for test and prod profiles
2026-02-15 20:07:41 +05:30
7f7b90df80
Add approve/reject mapping requests API with unit tests
...
- Add Protocol enum to Mapping entity for HTTP, HTTPS, TCP, SSH
- Add TunnelsResponse and TunnelResult models for typed API responses
- Add ExternalServiceException for Cloudflare API errors
- Add approve and reject endpoints for mapping requests
- Add GET /requests endpoint with pagination and status filtering
- Refactor API paths to use 'configured' and 'configure' terminology
- Add comprehensive unit tests for all new endpoints
- Add service layer tests for new methods
2026-02-15 20:00:34 +05:30
71161a4da1
Changing API design and making tests compatible
2026-01-28 00:21:13 +05:30
c1ea9c4197
Fix database URL configuration for docker-compose compatibility
...
- Hardcode PostgreSQL connection URL to match docker service name 'postgres'
- Remove DB_URL environment variable dependency that was causing startup failures
- Keep username/password as environment variables for flexibility
2026-01-23 23:23:39 +05:30
b8b0a4bf30
Remove environment variable defaults and align with docker-compose
...
- Remove default values from database environment variables
- Use POSTGRES_USERNAME/PASSWORD to match docker-compose.yaml
- Use DB_URL without default to ensure explicit configuration
2026-01-23 21:22:16 +05:30
c0ae476beb
Configure PostgreSQL database settings for test and production profiles
...
- Add PostgreSQL datasource configuration for test and prod profiles
- Use environment-specific database URL, username, and password variables
- Set hibernate.ddl-auto=update for both profiles
- Enable SQL logging in test, disable in production
- Replace H2 in-memory database with PostgreSQL for consistency
2026-01-23 21:16:56 +05:30
d2d8e74ba9
Add OAuth2 security configuration to Swagger UI and clean up unused redirects
...
- Configure OpenAPI with OAuth2 authorization code flow and required scopes
- Add security scheme and requirements for API documentation
- Remove unused swagger redirect methods from HomeController
- Comment out swagger endpoint permissions in SecurityConfig
2026-01-23 02:16:45 +05:30
c8a25cf438
Configure springdoc swagger oauth client-id from environment variable
...
- Update application.properties to use SWAGGER_OAUTH_CLIENT_ID env var
- Add SWAGGER_OAUTH_CLIENT_ID to docker-compose.yaml environment
- Add SWAGGER_OAUTH_CLIENT_ID to IntelliJ run configuration
2026-01-23 02:11:32 +05:30
cfe40735e6
Hithomelabs/HomeLabDocker#33 making ci and integration tests initialize Embedded H2 database, fixing integration test
2026-01-14 18:19:39 +00:00
742bcef858
ISSUE-33 ( #96 ) ( #98 )
...
## Description
- db integration
Co-authored-by: hitanshu310 <hitanshu98@gmail.com>
Co-authored-by: = <=>
Co-authored-by: Kruti Shah <kruti@logiqids.com>
Reviewed-on: Hithomelabs/CFTunnels#96
Co-authored-by: Kruti Shah <krutis0201@gmail.com>
Co-committed-by: Kruti Shah <krutis0201@gmail.com>
Reviewed-on: Hithomelabs/CFTunnels#98
Reviewed-by: hitanshu <hitanshu98@gmail.com>
Co-authored-by: Kruti Shah <krutis0201@gmail.com>
Co-committed-by: Kruti Shah <krutis0201@gmail.com>
2026-01-14 17:37:15 +00:00
b30ae7cdbf
ISSUE-44: Hithomelabs/HomeLabDocker#44 adding more tests
2025-11-16 18:59:06 +05:30
e87fb6d153
ISSUE-44: Hithomelabs/HomeLabDocker#44 Excluding integration tests from gradle build and runs them separately in integration tests
2025-11-15 01:14:11 +05:30
b8bf2e8c67
ISSUE-44: Hithomelabs/HomeLabDocker#44 Fixes bug reaated to integration test running during gradle build
2025-11-14 23:38:32 +05:30
b2d58d6a61
ISSUE-44: Hithomelabs/HomeLabDocker#44 Reducing logging verbiage, excuding integration test from test profile
2025-11-14 23:24:42 +05:30
8039945f2a
ISSUE-44: Hithomelabs/HomeLabDocker#44 Minor bug fix
2025-11-14 23:11:57 +05:30
ffb33a49e4
ISSUE-44: Hithomelabs/HomeLabDocker#44 Setting up workflow to run integration tests
2025-11-14 23:10:36 +05:30
4875392271
ISSUE-44: Hithomelabs/HomeLabDocker#44 Adding an integration test
2025-11-14 23:07:10 +05:30
4075eb78c8
ISSUE-44: Hithomelabs/HomeLabDocker#44 Adding unit tests for service layer
2025-10-26 20:30:34 +05:30
68792e2cbf
ISSUE-44: Hithomelabs/HomeLabDocker#44 Adding mockMvc tests for web tier
2025-10-26 18:49:18 +05:30
316dd6b01e
ISSUE-44: Hithomelabs/HomeLabDocker#44 Decoupling the controller and the service layer
2025-10-26 18:37:41 +05:30
f99ed01a54
dialect readded
2025-10-18 16:47:24 +05:30
18e3535a57
sql init set to never
2025-10-18 16:47:24 +05:30
4d63eb2e2c
bug fixes
2025-10-18 16:47:24 +05:30
e9e6bd69f9
Adding Postgres integration
2025-10-18 16:46:57 +05:30
c8e8817e25
ISSUE-43: Attempting to fix Hithomelabs/HomeLabDocker#43 disbling server side csrf check
2025-10-18 16:35:23 +05:30
4016854514
Adding a new HomeController to redirect to swagger UI
2025-09-20 21:29:53 +05:30
77a43bfde8
Adding new URL mapping that redirects / to swagger UI
2025-09-20 21:00:58 +05:30
84b2b5aead
Fixing breaking build
2025-09-20 20:40:19 +05:30
b3b3d4a441
Trying to fix OIDC configuration with TLS termination behind reverse proxy
2025-09-20 20:29:48 +05:30
30ec013002
Trying to do everythng via http
2025-09-16 01:30:02 +05:30
e04ac4b73d
Adding config to make sping boot return an https redirect URI
2025-09-16 00:27:12 +05:30
e46974870a
Trying to avoid clash with baseUrl variable
2025-09-15 01:57:34 +05:30
37a57279fd
Trying something seeing if it works
2025-09-15 01:43:31 +05:30
f1ec120715
Tinkering with redirect-uri
2025-09-15 01:17:29 +05:30
674d541d78
Trying to address the issue of redirect_uri
2025-09-15 00:59:13 +05:30
e960c5cfa5
Final cahnges to add OIDC, setting groups and authorities
2025-09-15 00:21:49 +05:30
c5d01ece01
Adding profiles for different OpenAPI server URLS in different environments
2025-06-04 01:27:34 +05:30
ec7d3299df
Changes derver in OpenAPI Config to avoid CORS
2025-06-01 17:29:24 +05:30
d3f0797e33
Adding field path to ingress
2025-05-27 01:08:07 +05:30
680ef7bd99
CFTunnels: And the lord said let there be light, but the devil built tunnels
2025-05-25 01:51:18 +05:30