Skip to content

Automatically detect the names of tables and repositories#2274

Merged
EgorkaKulikov merged 10 commits into
mainfrom
egor/collect_beans_to_reset
Jun 22, 2023
Merged

Automatically detect the names of tables and repositories#2274
EgorkaKulikov merged 10 commits into
mainfrom
egor/collect_beans_to_reset

Conversation

@EgorkaKulikov

@EgorkaKulikov EgorkaKulikov commented Jun 9, 2023

Copy link
Copy Markdown
Collaborator

Description

Avoid hardcoding the names of tables and repositories: get this data via reflection and bean definitions.

How to test

Automated tests

Please specify the automated tests for your code changes: you should either mention the existing tests or add the new ones.

For example:

The proposed changes are verified with tests:
utbot-fuzzing/src/test/kotlin/org/utbot/fuzzing/FuzzerSmokeTest.kt

Manual tests

If it is impossible to provide the automated tests, please reason why. Usually, it is relevant only for UI- or documentation-related PRs.
If this is your case, share the detailed manual scenarios that help to verify your changes.

Self-check list

  • I've set the proper labels for my PR (at least, for category and component).
  • PR title and description are clear and intelligible.
  • I've added enough comments to my code, particularly in hard-to-understand areas.
  • The functionality I've repaired, changed or added is covered with automated tests.
  • Manual tests have been provided optionally.
  • The documentation for the functionality I've been working on is up-to-date.

@EgorkaKulikov EgorkaKulikov added ctg-enhancement New feature, improvement or change request comp-instrumented-process Issue is related to Instrumented process comp-spring Issue is related to Spring projects support labels Jun 9, 2023
@EgorkaKulikov EgorkaKulikov force-pushed the egor/collect_beans_to_reset branch from 93d4dbd to b413dea Compare June 9, 2023 14:35
@EgorkaKulikov EgorkaKulikov force-pushed the egor/collect_beans_to_reset branch 3 times, most recently from 4c84006 to 670ab2e Compare June 14, 2023 11:56
@EgorkaKulikov EgorkaKulikov changed the title Avoid hardcoding the names of tables and repositories Automatically detect the names of tables and repositories Jun 15, 2023
@EgorkaKulikov EgorkaKulikov force-pushed the egor/collect_beans_to_reset branch 3 times, most recently from 348638b to a77e321 Compare June 20, 2023 11:03
@EgorkaKulikov EgorkaKulikov force-pushed the egor/collect_beans_to_reset branch from a77e321 to 6e5429c Compare June 20, 2023 11:04
Comment thread utbot-spring-commons/src/main/kotlin/org/utbot/spring/context/RepositoryUtils.kt Outdated
Comment thread utbot-spring-commons/src/main/kotlin/org/utbot/spring/context/RepositoryUtils.kt Outdated
Comment thread utbot-rd/src/main/rdgen/org/utbot/rd/models/InstrumentedProcessModel.kt Outdated
Comment thread utbot-rd/src/main/rdgen/org/utbot/rd/models/InstrumentedProcessModel.kt Outdated
@EgorkaKulikov EgorkaKulikov marked this pull request as ready for review June 22, 2023 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-instrumented-process Issue is related to Instrumented process comp-spring Issue is related to Spring projects support ctg-enhancement New feature, improvement or change request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants