Skip to content

Method to add value domain to a representation #23

Description

@florianika
  • Create a command AddRepresentationValueDomainCommand in Applciation/RepresentedVariables/Commands. Representation and ValueDomain should exist before executing this command. The command should contain this fields: long RepresentationId and long ValueDomainId
  • The handler of the command should check existence of both representation and valueDomain and throw an exception if one of them is not found, else will assign the valueDomain to the representation.
  • Add a new VariableRepresentation Closed controller and add the API PUT method that send the command to the handler.

Metadata

Metadata

Assignees

No one assigned

    Labels

    taskTask to be done

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions