Skip to content
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

moves localstack to testcontainers dev mode #77

Merged
merged 3 commits into from
Jun 13, 2023
Merged

moves localstack to testcontainers dev mode #77

merged 3 commits into from
Jun 13, 2023

Conversation

rajadilipkolli
Copy link
Collaborator

@rajadilipkolli rajadilipkolli commented Jun 11, 2023

  • Moves LocalstackContainers configuration to dev mode

@rajadilipkolli rajadilipkolli added this to the 0.1.3 milestone Jun 11, 2023
import org.springframework.test.context.DynamicPropertyRegistry;
import org.testcontainers.containers.localstack.LocalStackContainer;
<%_ } _%>
import org.testcontainers.utility.DockerImageName;

@TestConfiguration(proxyBeanMethods = false)
public class TestApplication {
Copy link
Owner

Choose a reason for hiding this comment

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

Usually a common approach is having a separate ContainersConfig.java and TestApplication.java

Copy link
Collaborator Author

@rajadilipkolli rajadilipkolli Jun 12, 2023

Choose a reason for hiding this comment

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

I got inspire from start.spring.io generated code where both are present in same class. earlier, I used to manage two classes as you have suggested. As I don't see any significant gain creating two classes, can we continue in a single class?

Copy link
Owner

@sivaprasadreddy sivaprasadreddy Jun 13, 2023

Choose a reason for hiding this comment

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

Copy link
Owner

Choose a reason for hiding this comment

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

Aah, my bad. Yes it's generating a single file.

@sivaprasadreddy sivaprasadreddy merged commit c76aa2e into sivaprasadreddy:0.1.3 Jun 13, 2023
1 check passed
sivaprasadreddy pushed a commit that referenced this pull request Jun 16, 2023
* fixes issue with generating project and refactor

* removes unused files

* Revert "moves localstack to testcontainers dev mode (#77)"

This reverts commit c76aa2e.
@rajadilipkolli rajadilipkolli added the enhancement New feature or request label Jun 22, 2023
rajadilipkolli added a commit that referenced this pull request Jun 23, 2023
* Update version in preparation of next release

* Upgrade version

* 0.1.3 (#74)

* Create renovate.json

* Update dependency chai to v4.3.7

* Update dependency gradle to v7.6.1

* Update docker.elastic.co/elasticsearch/elasticsearch Docker tag to v7.17.9 (#4)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency sinon to v14.0.2 (#3)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update docker.elastic.co/kibana/kibana Docker tag to v7.17.9 (#6)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update docker.elastic.co/logstash/logstash Docker tag to v7.17.9 (#7)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update eclipse-temurin Docker tag to v17.0.6_10-jre-focal (#8)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency googleJavaFormat to v1.16.0 (#9)

* Update dependency googleJavaFormat to v1.16.0

* upgrade to latest version for maven build

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Raja Kolli <rajadilipkolli@gmail.com>

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Updating dependencies

* Fix code formatting task both outside module and with in model path

* introducing testcontainers in dev mode and increment (#76)

* introducing testcontainers in dev mode and increment

* fixes issue with localstack

* moves localstack to testcontainers dev mode (#77)

* moving localstack to testcontainers dev mode

* adds missing bracket

* fixes issue with localstack in gradle project

* adds schema validation Test (#78)

* adds schema validation Test


https://vladmihalcea.com/validate-ddl-schema-spring-hibernate/ changes as per this

* renames testname

* removing properties which are default in Hibernate 6+ (#79)

* removing properties which is default in Hibernate 6+

* revert back to default

* fixes issue with running initial script in localstack  (#81)

* fixes issue with running initial script in localstack and removes unused code

* adds instructions to use TestContainers

* fixes script

* removes snapshot and milestone repository

* fixes issue with generating code and refactor (#82)

* fixes issue with generating project and refactor

* removes unused files

* Revert "moves localstack to testcontainers dev mode (#77)"

This reverts commit c76aa2e.

* Upgrading Gradle Wrapper

* Fix gradle jacoco config issues

* Upgrade to latest versions

* Update dependency maven to v3.9.2

* fixes backward compatability and id collision issue (#83)

* fixes broken grafana dashboards (#84)

* Increase test timeout value

* Upgrade Spring Boot version to 3.1.1

* Code clean up

---------

Co-authored-by: Raja Kolli <rajadilipkolli@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants