abixen / abixen-platform

Abixen Platform is a microservices based software platform for building enterprise applications delivering functionalities through creating particular microservices and integrating by provided CMS.
http://www.platform.abixen.com
GNU Lesser General Public License v2.1
681 stars 209 forks source link

Create model of comments feature. #256

Closed mariuszkumor closed 7 years ago

mariuszkumor commented 7 years ago

Create a domain Comment in the core microservice with all necessary interfaces, similarly as other domains i.e. Page. Extend by AuditingModel.

Add field:

String message (min length 1, max length 5000) Comment parent

Create liquibase schema for it with sequence. Remember about H2 file dropping once changes in liquibase are done https://github.com/abixen/abixen-platform/issues/207

nagukothapalli commented 7 years ago

hey @mariuszkumor

Do I need to add respative comment changelog xml and comment-data.csv files as in liquebase prperties if Yes wt are the feilds in comment entity

As of Now i have Added com.abixen.platform.core.model.impl.Comment extends AuditingModel class and Respative CommentBase class in common modules. :) and one more thing like Page do i need to create CommentWeb class also

mariuszkumor commented 7 years ago

@nagukothapalli

yes, you need add only comment changelog xml , The comment-data.csv is unneeded for now :-) Also in sequences-changelog.xml must add comment sequence. CommentWeb is needed as well.

nagukothapalli commented 7 years ago

Do have any specific schema for comment entity ?

mariuszkumor commented 7 years ago

No, please make similarly like i. e. Page