Skip to content

Support activating multiple profiles via special expression #2186

@EgorkaKulikov

Description

@EgorkaKulikov

Description

Profile expression is stored in ApplicationData.profileExpression in utbot-spring-analyzer.

We hope that in most cases just one profile like "test" name will be sent.
However, user may send some rubbish like "petya%'zuev" - will we really rollback to default profile in such case?

More than that, Spring allows to send some logical expressions like "prod|web". We should investigate possible formats of this expressions and support their parsing in utbot-spring-analyzer.

Context

Method EnvironmentFactory.parseProfileExpression should be implemented.

Metadata

Metadata

Labels

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

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions