-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
verify docker image #274
verify docker image #274
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,9 +5,9 @@ | |
<Pattern>%d{HH:mm:ss.SSS} %-5level [%thread] %logger{36}:%L - %msg %ex{short}%n</Pattern> | ||
</layout> | ||
</appender> | ||
<root level="debug"> | ||
<root level="info"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍 |
||
<appender-ref ref="STDOUT"/> | ||
</root> | ||
<logger name="za.co.absa" level="debug"/> | ||
<logger name="za.co.absa" level="info"/> | ||
<logger name="com.zaxxer.hikari" level="warn"/> | ||
</configuration> |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,8 @@ | |
postgres { | ||
# The JDBC driver class | ||
dataSourceClass=org.postgresql.Driver | ||
serverName=localhost // host.docker.internal for local run in docker against db on its host machine; localhost otherwise for testing and for the gh pipeline | ||
# host.docker.internal for local run against db running in docker on its host machine; localhost otherwise for testing and for the gh pipeline | ||
serverName=localhost | ||
portNumber=5432 | ||
databaseName=atum_db | ||
user=atum_user | ||
|
@@ -16,8 +17,11 @@ | |
} | ||
ssl { | ||
enabled=false | ||
keyStorePassword=password | ||
keyStorePath="/path/to/your/cert" | ||
keyStorePassword=changeit | ||
benedeki marked this conversation as resolved.
Show resolved
Hide resolved
|
||
# location of Java Keystore (JKS) file with certificate to be used for HTTPS communication; | ||
# it can be sufficient to use self-signed certificate on testing or development environment or | ||
# when application runs in an internal network; otherwise certificates are usually obtained from a trusted CA | ||
keyStorePath="/etc/ssl/certs/selfsigned.jks" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. perhaps a small comment for this value can be good to have here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @lsulak do you have any suggestion for a good comment here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not sure, but perhaps something like this?
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it's a bit wordy but thanks will use it There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yeah I know, feel free to change it :D |
||
} | ||
monitoring { | ||
# monitoring of http communication | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if there are same keys? (not sure what strategies there are)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the context of the
sbt-assembly
plugin, merge strategies determine how to handle files with the same path when creating an assembly JAR. Here are the common merge strategies:MergeStrategy.concat
MergeStrategy.singleOrError
MergeStrategy.rename
MergeStrategy.discard
MergeStrategy.first
MergeStrategy.last
MergeStrategy.filterDistinctLines
MergeStrategy.deduplicate
Custom Merge Strategy
These strategies help manage how files are handled during the assembly process, ensuring that the final JAR is built according to your project's requirements.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have tested that it works also with filterDistinctLines. So let me know which one you prefer. @lsulak @benedeki
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MergeStrategy.filterDistinctLines
andMergeStrategy.concat
serve different purposes, and the choice between them depends on your specific requirements.MergeStrategy.filterDistinctLines
MergeStrategy.concat
Conclusion
filterDistinctLines
is generally safer when you need to ensure that there are no duplicate lines in the merged file.concat
is useful when you need to preserve all lines, but it requires careful handling of potential conflicts.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much for the educative window!
I can't tell you my preference because I don't know what duplicates we have here, and what lines. So I will base my answer according to these details - were you able to find out the specifics?
Also, was there a problem so that you changed it, or you just experimented with it? At first, I thought that
filterDistinctLines
was not working for us, that's why you changed it?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change wasn't just about the strategy. Honestly I didn't dig very deeply into this, just made it work by trial/error. At this moment I would rather dedicate my time to something more pressing than exploring this further.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Understood, well then I don't really have preferences. Whatever works would be my answer, and if we encounter a problem around these, we can revisit it later with this knowledge ^ in mind 🤷