Skip to content

Commit

Permalink
Implemented custom rules
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardolopezb committed Jul 9, 2023
1 parent 3a4be99 commit 851548b
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
gpr.user=ricardolopezb
gpr.key=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
gpr.key=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
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import org.springframework.metrics.export.datadog.EnableDatadogMetrics


@SpringBootApplication
@EnableDatadogMetrics
//@EnableDatadogMetrics
class SnippetManagerApplication

fun main(args: Array<String>) {
Expand Down
12 changes: 6 additions & 6 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
spring.datasource.url=jdbc:postgresql://${DB_HOST}:${DB_PORT}/${DB_NAME}
spring.datasource.username=${DB_USER}
spring.datasource.password=${DB_PASSWORD}
#spring.datasource.url=jdbc:postgresql://localhost:5433/db
#spring.datasource.username=postgres
#spring.datasource.password=postgres
#spring.datasource.url=jdbc:postgresql://${DB_HOST}:${DB_PORT}/${DB_NAME}
#spring.datasource.username=${DB_USER}
#spring.datasource.password=${DB_PASSWORD}
spring.datasource.url=jdbc:postgresql://localhost:5433/db
spring.datasource.username=postgres
spring.datasource.password=postgres
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=false
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
Expand Down
28 changes: 14 additions & 14 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,20 @@ logging:
springframework:
security: DEBUG

redis:
stream:
result_key: ${REDIS_STREAM_RESULT_KEY}
request_key: ${REDIS_STREAM_REQUEST_KEY}
host: ${REDIS_HOST}
port: ${REDIS_PORT}
groups:
lint: ${REDIS_STREAM_GROUP_LINT}

#redis:
# stream:
# result_key: result
# request_key: request
# host: localhost
# port: 6379
# result_key: ${REDIS_STREAM_RESULT_KEY}
# request_key: ${REDIS_STREAM_REQUEST_KEY}
# host: ${REDIS_HOST}
# port: ${REDIS_PORT}
# groups:
# lint: manager-lint
# lint: ${REDIS_STREAM_GROUP_LINT}

redis:
stream:
result_key: result
request_key: request
host: localhost
port: 6379
groups:
lint: manager-lint

0 comments on commit 851548b

Please sign in to comment.