-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENG-66: Definition of default widgets available via PageModel api (#909)
* ENG-66: added missing objects for default widgets definition * ENG-66: Improvement of pageModel request converter and improvement of integration tests * ENG-66: Improvement of pageModel service and integration tests * ENG-66: Improvement of service and integration test * ENG-66: Message upgrade * ENG-66: Fix unit test
- Loading branch information
1 parent
ae0c501
commit b25248b
Showing
14 changed files
with
464 additions
and
173 deletions.
There are no files selected for viewing
143 changes: 105 additions & 38 deletions
143
engine/src/main/java/org/entando/entando/aps/system/services/pagemodel/PageModelService.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 13 additions & 1 deletion
14
engine/src/main/java/org/entando/entando/aps/system/services/pagemodel/model/FrameDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...va/org/entando/entando/aps/system/services/pagemodel/model/PageModelConfigurationDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...e/src/main/java/org/entando/entando/aps/system/services/pagemodel/model/PageModelDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...ain/java/org/entando/entando/aps/system/services/pagemodel/model/PageModelDtoBuilder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
engine/src/main/java/org/entando/entando/web/pagemodel/model/DefaultWidgetReq.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/* | ||
* Copyright 2020-Present Entando Inc. (http://www.entando.com) All rights reserved. | ||
* | ||
* This library is free software; you can redistribute it and/or modify it under | ||
* the terms of the GNU Lesser General Public License as published by the Free | ||
* Software Foundation; either version 2.1 of the License, or (at your option) | ||
* any later version. | ||
* | ||
* This library is distributed in the hope that it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | ||
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more | ||
* details. | ||
*/ | ||
package org.entando.entando.web.pagemodel.model; | ||
|
||
import java.util.HashMap; | ||
import java.util.Map; | ||
|
||
public class DefaultWidgetReq { | ||
|
||
private String code; | ||
private Map<String, String> properties = new HashMap<>(); | ||
|
||
public String getCode() { | ||
return code; | ||
} | ||
|
||
public void setCode(String code) { | ||
this.code = code; | ||
} | ||
|
||
public Map getProperties() { | ||
return properties; | ||
} | ||
|
||
public void setProperties(Map properties) { | ||
this.properties = properties; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.