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

Support Spring #123

Merged
merged 2 commits into from
May 16, 2024
Merged

Support Spring #123

merged 2 commits into from
May 16, 2024

Conversation

Doom9527
Copy link
Contributor

@Doom9527 Doom9527 commented May 9, 2024

Description

Change elide.version from 7.0.0-pr6 to 7.0.0 because ElideSettings conflicts within the last method under src/main/java/com/paiondata/astraios/config/ElideConfiguration.java.The version 7.0.0 is also officially used in Elide Springboot Example.

I turn off checking the annotation requirements for the main method by changing UncommentedMain value form error to warning in checkstyle.xml beacause even though I annotated it,it still reported an error.I don't think turning off the check will cause too many problems and it maybe the bug.
1715315099960

Fix bug, In src/test/groovy/com/paiondata/astraios/config/DockerComposeITSpec.groovy, I set the wait time to 10 minutes because it did not wait for docker to start before sending the request.

I overide stop() method in src/test/java/com/paiondata/astraios/config/KeepAliveMySQLContainer.java to keep the mysql container running for later test in src/test/groovy/com/paiondata/astraios/config/AbstractITSpec.groovy

Create a static holder class src/test/java/com/paiondata/astraios/config/TestContextHolder.java to save and retrieve the random port. Solved the problem that multiple tests preempt each other's ports.

Copy link

gitguardian bot commented May 9, 2024

️✅ There are no secrets present in this pull request anymore.

If these secrets were true positive and are still valid, we highly recommend you to revoke them.
Once a secret has been leaked into a git repository, you should consider it compromised, even if it was deleted immediately.
Find here more information about risks.


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

Copy link
Member

@QubitPi QubitPi left a comment

Choose a reason for hiding this comment

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

What is src/main/resources/META-INF/resources/swagger for?

Copy link
Member

@QubitPi QubitPi left a comment

Choose a reason for hiding this comment

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

If mysql connector 8.x is used, docker compose should be updated to use 8.0 too

Dockerfile Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
docker-compose.yml Outdated Show resolved Hide resolved
docker-compose.yml Outdated Show resolved Hide resolved
docker-compose.yml Outdated Show resolved Hide resolved
logback/astraios.2024-05-09.log Outdated Show resolved Hide resolved
logback/astraios.2024-05-10.log Outdated Show resolved Hide resolved
logback/astraios.log Outdated Show resolved Hide resolved
pom.xml Outdated Show resolved Hide resolved
pom.xml Show resolved Hide resolved
pom.xml Outdated Show resolved Hide resolved
pom.xml Outdated Show resolved Hide resolved
Copy link
Member

@QubitPi QubitPi left a comment

Choose a reason for hiding this comment

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

The entire src/main/resources/analytics/, src/main/resources/db/, src/main/resources/META-INF can be deleted

.gitignore Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
docker-compose.yml Outdated Show resolved Hide resolved
src/main/java/com/paiondata/astraios/AppRuntimeHints.java Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
src/main/resources/application.yaml Show resolved Hide resolved
src/main/resources/logback-spring.xml Outdated Show resolved Hide resolved
src/main/resources/logback-spring.xml Outdated Show resolved Hide resolved
src/main/resources/logback-spring.xml Outdated Show resolved Hide resolved
src/main/resources/logback-spring.xml Outdated Show resolved Hide resolved
Copy link
Member

@QubitPi QubitPi left a comment

Choose a reason for hiding this comment

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

Much better 👍🏻 ...and can be even much better

@Doom9527 Doom9527 force-pushed the issue-116 branch 2 times, most recently from ee000be to b3080d4 Compare May 16, 2024 07:18
pom.xml Outdated Show resolved Hide resolved
pom.xml Show resolved Hide resolved
pom.xml Outdated Show resolved Hide resolved
quickstart.sh Outdated Show resolved Hide resolved
Copy link
Member

@QubitPi QubitPi left a comment

Choose a reason for hiding this comment

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

Almost done. Just minor tweaks 😉

src/main/resources/application.yaml Outdated Show resolved Hide resolved
src/main/resources/application.yaml Outdated Show resolved Hide resolved
Copy link
Member

@QubitPi QubitPi left a comment

Choose a reason for hiding this comment

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

👍🏻

@Doom9527 Doom9527 merged commit 5a028d5 into master May 16, 2024
6 checks passed
@Doom9527 Doom9527 deleted the issue-116 branch May 16, 2024 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants