Skip to content

feat: add wrapper request DTOs for chaos experiment list/save#60

Open
alswjdghks wants to merge 1 commit into
litmuschaos:masterfrom
alswjdghks:feat/chaos-experiment-request-dtos
Open

feat: add wrapper request DTOs for chaos experiment list/save#60
alswjdghks wants to merge 1 commit into
litmuschaos:masterfrom
alswjdghks:feat/chaos-experiment-request-dtos

Conversation

@alswjdghks

Copy link
Copy Markdown

Summary

  • Add ChaosExperimentListRequest and ChaosExperimentSaveRequest following the existing UserCreateRequest builder pattern.
  • Update LitmusClient.listExperiment and LitmusClient.saveChaosExperiment to accept the new wrappers directly.
  • The DTOs were renamed from the names proposed in the issue (ListExperimentRequest / SaveChaosExperimentRequest) to avoid simple-name collisions with the DGS-generated input types of the same name in io.litmuschaos.generated.types.

This takes the (a) replace-signatures path from the issue's open question. Happy to switch to (b) overloads if maintainers prefer.

Test plan

  • ./mvnw clean generate-sources test-compile — BUILD SUCCESS (JDK 21, target 17)
  • Integration LitmusClientTest requires a running LitmusChaos backend, not verified locally

Related

Closes #59

Introduce ChaosExperimentListRequest and ChaosExperimentSaveRequest
following the existing UserCreateRequest builder pattern, and update
LitmusClient.listExperiment / LitmusClient.saveChaosExperiment to
accept these wrappers directly.

The DTOs were renamed from the names proposed in the issue
(ListExperimentRequest / SaveChaosExperimentRequest) to avoid
simple-name collisions with the DGS-generated input types of the
same name in io.litmuschaos.generated.types.

Refs litmuschaos#59

Signed-off-by: 민정환 <jerrymin1221@naver.com>
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.

feat: add wrapper request DTOs for chaos experiment operations

1 participant