test -> main #105

Merged
hitanshu merged 4 commits from test into main 2026-01-23 18:25:37 +00:00
3 changed files with 22 additions and 22 deletions
Showing only changes of commit c0ae476beb - Show all commits

View File

@ -1,16 +0,0 @@
package com.hithomelabs.CFTunnels.Controllers;
import org.springframework.boot.web.servlet.error.ErrorController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class HomeController implements ErrorController {
private static final String ERROR_PATH = "/error";
}

View File

@ -1 +1,12 @@
api.baseUrl=https://cftunnels.hithomelabs.com
api.baseUrl=https://cftunnels.hithomelabs.com
# Production Database Configuration
spring.datasource.url=${PROD_DB_URL:jdbc:postgresql://postgres:5432/cftunnel}
spring.datasource.username=${PROD_DB_USERNAME:postgres}
spring.datasource.password=${PROD_DB_PASSWORD}
spring.datasource.driver-class-name=org.postgresql.Driver
# JPA Configuration
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=false
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect

View File

@ -1,7 +1,12 @@
api.baseUrl=https://testcf.hithomelabs.com
spring.datasource.url: jdbc:h2:mem:testdb
spring.datasource.driver-class-name: org.h2.Driver
spring.datasource.username: sa
spring.datasource.password:
spring.datasource.jpa.hibernate.ddl-auto: none
# Test Database Configuration - Same as Production
spring.datasource.url=${TEST_DB_URL:jdbc:postgresql://postgres:5432/cftunnel}
spring.datasource.username=${TEST_DB_USERNAME:postgres}
spring.datasource.password=${TEST_DB_PASSWORD}
spring.datasource.driver-class-name=org.postgresql.Driver
# JPA Configuration
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect