Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(groupmodels): add possibility to set up group models with metadatas #392

Open
wants to merge 7 commits into
base: 2-dev
Choose a base branch
from

Conversation

QuentinRousselet
Copy link
Contributor

@QuentinRousselet QuentinRousselet commented Jan 21, 2025

What does this PR do ?

This PR adds the possibility to create group models fro asset groups and define metadatas, metadataDetails, defaultValues and tooltipModels.

How should this be manually tested?

  • Step 1 : Create a group model with metadatas and default values using the api/action
    { "controller": "device-manager/models", "action": "writeGroup", }
  • Step 2 : Create an assetGroup specifying the model you previously created
  • Step 3 : Verify that the default values for metadatas have been created
  • Step 4 : Update the assetGroup and try changing the value of the metadataFields

KZLPRD-751

@QuentinRousselet QuentinRousselet self-assigned this Jan 21, 2025
Base automatically changed from 2-dev to beta January 22, 2025 13:56
Base automatically changed from beta to master January 22, 2025 15:32
Copy link
Member

@etrousset etrousset left a comment

Choose a reason for hiding this comment

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

/!\ ne cible pas le bonne branche /!\

@etrousset etrousset changed the base branch from master to 2-dev January 22, 2025 16:39
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.

2 participants