Skip to content

#58 Add criteria sample#122

Open
gyengus wants to merge 5 commits intomainfrom
feature/58-criteria-sample
Open

#58 Add criteria sample#122
gyengus wants to merge 5 commits intomainfrom
feature/58-criteria-sample

Conversation

@gyengus
Copy link
Copy Markdown

@gyengus gyengus commented Jun 10, 2024

No description provided.

czenczl
czenczl previously approved these changes Jun 11, 2024
bucherarnold
bucherarnold previously approved these changes Oct 16, 2024
@czenczl czenczl linked an issue Nov 18, 2024 that may be closed by this pull request
*
* @param status
* sample status
* @param status sample status
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

formatter biztos jo?


protected ISampleRestJsonClient getRestClient() {
return RestClientBuilder.newBuilder()
.baseUri(URI.create(ConfigProvider.getConfig().getValue("sampler.service.sample.base.uri", String.class)))
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Ha már cdi-t tudunk tesztben használni, én ezt injectelném, sokkal szebb mint példa.

);
}

protected SampleResponse getResponse() throws BaseException {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

miért kell protected? És kicsit nekem zavaró (ez lehet egyéni), de egy metódusba bújtatva minden az nem adja ki a open-closed principle-t. Tudom hogy példa, de akkor már legyen jobban bővíthető. Ha pl request lenne akkor azt végig kéne mindenhol csurgatni. Miközben csak a rest híváshoz kell a restClient metódusába.

@gyengus gyengus dismissed stale reviews from bucherarnold and czenczl via 2511f5a November 20, 2024 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Criteria sample

6 participants