Commit: 9c24ca4

Commit Details

SHA9c24ca40dbca995b0007e09659176f7c90e13392
Tree4c630341b69f778f78daa19bfebcc1bfdebe1836
Author<f69e50@finnacloud.com> 1766442705 +0300
Committer<f69e50@finnacloud.com> 1766442705 +0300
Message
add CI configuration and test script for Jenkins build
GPG Signature
-----BEGIN PGP SIGNATURE-----

iQJSBAABCAA8FiEEWJb139mJI+vZ81KkoAIVSUsXI0oFAmlJxtEeHHNvcGhpYS5l
cmFzbGFuQGZpbm5hY2xvdWQuY29tAAoJEKACFUlLFyNKwOEP/RJdPEnaGlYKr4zE
NkU5vATgzcYMHxCO6p3T6JqsfHsvv2d65vedOJ8LsSHFtT9AN/yXqZKV2722R5CG
WLsPzbVYJSXexKVZ8D7Zpf+DTu+/OAlWUE+XHMm+bJYVpDmqUo0ak/qX6vz6VYtW
bSRPMtM9g8WZKZqbBxLK7Sg1IkYFsFjEWmvn6mbD9C7k/0y4Sxp6Xee26xAx1sdI
+srAjwFgF+wJw0OAQoBA2jykTOiib93n9gdc9wbgl4AYUvdcaX3Hxv8LTl3Bu88N
2rqaL+OmjXtkFkEAiBaruvZZCt+aqp14gTgOM0wcLp1I1FP7uOFNOg0F0zSUawzY
Fuw3w6CKebkpbixGfxtJqrLl1IbPAhd92TxRVerZbDEnWpXW3a9HoGWRu5KFX/ny
ww+8M53ziWFNcHqpIyI5adRjG74C+5MdvC04J0/Sh1X8mykWcjE96Wu2/iRY9XQe
07I94ZVO0RaBSjSUnIItfhAgBXi03nzx+ZPw2tM4VHosn2zZjpzT8+KNQ0EXYhuT
AzgqcOKV94ZkM+48ZePvUFXsJxhMSkpXIQxGWWBnU9gjm3QAUsuCyqZGKXgVY9Vo
mDlLBl83Nhx+/7V8AFJO2gUmaph9YB01p3SMDfE++lLqX1BwdguFVrQib30OsRnq
e86d/6MrRABKf+FjtaulHY9+e8LS
=9ZJj
-----END PGP SIGNATURE-----

✓ Verified

File: src/main/resources/application.properties

1 # Application Name
2 spring.application.name=payment-link
3 server.port=3000
4
5 # PostgreSQL Database Configuration
6 spring.datasource.url=jdbc:postgresql://45.92.40.0:5432/dev
7 spring.datasource.username=dev
8 spring.datasource.password=zPVDfRFlg5omMBXW
9 spring.datasource.driver-class-name=org.postgresql.Driver
10
11 # JPA / Hibernate
12 spring.jpa.hibernate.ddl-auto=update
13 spring.jpa.show-sql=true
14 spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
15 spring.jpa.properties.hibernate.format_sql=true
16 spring.jpa.open-in-view=false
17
18 # Thymeleaf Configuration
19 spring.thymeleaf.cache=false
20 spring.thymeleaf.prefix=classpath:/templates/
21 spring.thymeleaf.suffix=.html
22 spring.thymeleaf.mode=HTML
23 spring.thymeleaf.encoding=UTF-8
24
25 # Stripe API Keys
26 stripe.secret.key=${STRIPE_SECRET_KEY:sk_test_51Rf0p7H8Me2zC5fgOENaaeS42MhiakdofbO0WJf0rRDNlsMZzIuVE0cTc6SmOae59kYleH6qtC2skayUWuA2G2cB000iDWmjWm}
27 stripe.publishable.key=${STRIPE_PUBLISHABLE_KEY:pk_test_51Rf0p7H8Me2zC5fgxETgxofZFUxIzg53ucu2IKjcgKye6EcqgQSr4hoGi5lliMpOscXvWw9iwxM4qvCXTgIM5GUF00M8HuwK0G}
28
29 # CloudNS Configuration
30 cloudns.auth.id=${CLOUDNS_AUTH_ID:48521}
31 cloudns.auth.password=${CLOUDNS_AUTH_PASSWORD:TestTest}
32 app.tld=${TLD:ironpath.ai}
33
34 # Tax Configuration
35 tax.default.rate=0.08
36 tax.api.url=${TAX_API_URL:}
37 tax.api.timeout=5000
38
39 # Reservation Configuration
40 reservation.timeout.ms=90000
41
42 # Server ID File Path
43 app.server-id-file=${SERVER_ID_FILE:incl/server-id.txt}
44
45 # Logging
46 logging.level.com.paymentlink=DEBUG
47 logging.level.org.springframework.security=DEBUG
48 logging.level.org.hibernate.SQL=DEBUG
49 logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
50
51 # GeoIP Configuration
52 geoip.database.path=classpath:GeoLite2-Country.mmdb
53 geoip.cache.size=10000
54 geoip.cache.ttl=3600000
55
56 # Internationalization (i18n)
57 i18n.default.language=en
58 i18n.supported.languages=en,es,fr,de,zh
59 i18n.fallback.enabled=true
60 i18n.cache.ttl=1800000
61
62 # Currency Configuration
63 currency.api.url=https://api.exchangerate-api.com/v4/latest/USD
64 currency.api.timeout=5000
65 currency.refresh.interval=3600000
66 currency.base.currency=USD
67 currency.cache.ttl=300000
68 currency.db.ttl=3600000
69 currency.refresh.lock.timeout=300000
70
71 # Regional Access Control
72 region.blocking.enabled=true
73 region.default.enabled=false
74 region.cache.ttl=600000
75
76 # Stripe Multi-Currency Support
77 stripe.supported.currencies=USD,EUR,GBP,CAD,AUD,JPY,MXN,BRL,INR,CNY,SEK,NOK,DKK,CHF,NZD,SGD,HKD,KRW,TRY,ZAR
78 stripe.success.url=${STRIPE_SUCCESS_URL:http://localhost:3000/order-confirmation}
79 stripe.cancel.url=${STRIPE_CANCEL_URL:http://localhost:3000/checkout}
80
81 # Instance Identification (for distributed lock debugging)
82 instance.id=${HOSTNAME:unknown}-${server.port:3000}
83
84 # Flag API Configuration
85 flags.api.url=https://flagcdn.com/w40
86 flags.cache.directory=flags
87
88