Skip to content

Properly support autowired variables in codegen #2240

Description

@EgorkaKulikov

Description

The following actions should be applied to variables constructing process for Spring integration tests:

  • Use thisInstances name instead of injectedMocksModelsVariables everywhere
  • Create repository variables as autowired, similarly to thisInstances (we have an example how to determine a repository, in SpringUtExecutionInstrumentation)
  • Correct processing variables of repositoryContent in CgSpringVariableConstructor

Metadata

Metadata

Assignees

Labels

comp-codegenIssue is related to code generatorcomp-springIssue is related to Spring projects supportctg-enhancementNew feature, improvement or change request

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions