Skip to content

SockShop RegisterUserAction - validate user existence #97

@proman3419

Description

@proman3419

Add a check if user exists when registering, atm 500 is returned from SockShop when attempting to register an existing user.
The request sender receives:

ExecutionRS(result=org.k8loud.executor.exception.CNAppException [SOCK_SHOP_REGISTER_USER_FAILED]: org.k8loud.executor.exception.HTTPException [HTTP_RESPONSE_STATUS_CODE_NOT_SUCCESSFUL]: 500, exitCode=NOT_OK, additionalData=null)

but we can do better with a designated exception code

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions