Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't touch this file. Should be sufficient to disable Docker support.

File renamed without changes.
12 changes: 12 additions & 0 deletions web-backend/node_modules/.yarn-integrity
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this file here

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package com.statusneo.vms.service;

import com.statusneo.vms.model.Email;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Service;

@Service
@Profile("dev")
public class DevEmailService implements EmailService {

private static final Logger log =
LoggerFactory.getLogger(DevEmailService.class);

@Override
public boolean sendEmail(Email email) {
log.info("[DEV EMAIL MOCK] Email payload: {}", email);
return true;
}
}
30 changes: 30 additions & 0 deletions web-backend/src/main/resources/application-dev.properties
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't use .properties, the other files are .yml

Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# ===============================
# DEV PROFILE CONFIGURATION
# ===============================

# Disable Docker Compose (important)
spring.docker.compose.enabled=false

# Server
server.port=8080

# -------------------------------
# Database (SQLite for dev)
# -------------------------------
spring.datasource.url=jdbc:sqlite:dev.db
spring.datasource.driver-class-name=org.sqlite.JDBC
spring.jpa.database-platform=org.hibernate.community.dialect.SQLiteDialect
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true

# -------------------------------
# Security (Disable Azure AD for dev)
# -------------------------------
spring.security.oauth2.client.registration.azure.enabled=false
spring.security.oauth2.resourceserver.jwt.enabled=false

# -------------------------------
# Logging
# -------------------------------
logging.level.root=INFO
logging.level.org.springframework.security=DEBUG
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this needed?

Loading