Spaces:
Build error
Build error
File size: 2,195 Bytes
9373c61 5cfe5c4 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 |
# Test configuration for da-policyengine integration tests
spring:
application:
name: da-policyengine-test
# Database configuration (using H2 for tests)
datasource:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: org.h2.Driver
url: jdbc:h2:mem:testdb;MODE=PostgreSQL;DATABASE_TO_LOWER=TRUE;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
username: sa
password: password
hikari:
auto-commit: false
maximum-pool-size: 10
minimum-idle: 2
connection-timeout: 30000
idle-timeout: 600000
max-lifetime: 1800000
jpa:
database-platform: org.hibernate.dialect.H2Dialect
hibernate:
ddl-auto: create-drop
show-sql: false
properties:
hibernate:
format_sql: false
jdbc:
lob:
non_contextual_creation: true
dialect: org.hibernate.dialect.H2Dialect
h2:
console:
enabled: false
# Disable Liquibase for tests
liquibase:
enabled: false
# Disable Docker for tests
docker:
compose:
enabled: false
# Task execution configuration for tests
task:
execution:
pool:
core-size: 2
max-size: 4
queue-capacity: 100
thread-name-prefix: test-task-
# Cache configuration for tests
cache:
type: simple
# Disable Docker for tests
testcontainers:
enabled: false
# Security configuration for tests
dalab:
security:
jwt:
enabled: false
oauth2:
enabled: false
# Kafka configuration for tests (disabled)
spring:
kafka:
enabled: false
bootstrap-servers: localhost:9092
consumer:
group-id: da-policyengine-test
auto-offset-reset: earliest
producer:
key-serializer: org.apache.kafka.common.serialization.StringSerializer
value-serializer: org.apache.kafka.common.serialization.StringSerializer
# Easy Rules configuration for tests
easy-rules:
rules-engine:
skip-on-first-failed-rule: false
skip-on-first-applied-rule: false
skip-on-first-non-triggered-rule: false
rule-priority-threshold: 2147483647 |