Skip to content

Commit

Permalink
Invoke dao
Browse files Browse the repository at this point in the history
  • Loading branch information
pavetok committed Mar 4, 2024
1 parent 72f4cf3 commit 7e84b9b
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public RegistrationResponse register(RegistrationRequest request) {

@Override
public ViewResponse view(ViewRequest request) {
dao.getBy(request.externalId());
return new ViewResponse(request.externalId());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class SepulkaServiceImpl(
}

override fun view(request: ViewRequest): ViewResponse {
dao.getBy(request.externalId)
return ViewResponse(request.externalId)
}
}
2 changes: 1 addition & 1 deletion baker/ansible/tasks/product/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
ansible.builtin.command:
cmd: >-
mvn clean test
--activate-profiles {{ devenv }}
--activate-profiles {{ devenv }},{{ focus }}
--no-snapshot-updates
--batch-mode
--also-make
Expand Down
20 changes: 19 additions & 1 deletion test/e2e/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,32 @@
</dependency>
</dependencies>

<profiles>
<profile>
<id>api</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<suiteName>FuncSuite</suiteName>
</properties>
</profile>
<profile>
<id>resilience</id>
<properties>
<suiteName>ResilienceSuite</suiteName>
</properties>
</profile>
</profiles>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>${skipTests}</skipTests>
<test>smecalculus.bezmen.FuncSuite</test>
<test>smecalculus.bezmen.${suiteName}</test>
<systemPropertiesFile>src/test/resources/testing.properties</systemPropertiesFile>
</configuration>
</plugin>
Expand Down

0 comments on commit 7e84b9b

Please sign in to comment.