Hi Tharindu, According to the database schema, we can add config resources without any config attribute or config file. We better to restrict this in API level since there is no need of having config resources without config attributes or config file.
Cheers, Isura. On Mon, Dec 3, 2018 at 6:13 PM Tharindu Bandara <tharin...@wso2.com> wrote: > Hi all, > > Following is the diagramme for the $subject. Configuration store REST API > for WSO2 IS[2] will be refactored to support this. > > > Above diagramme is based on the following key points as discussed in the > review meeting[1]. > > > - > > Resources will be grouped under its type. Ex: For resources grouped > under the issuer, type would be the issuer. > - > > A resource can either contain a file or not. Ex: Email template file > for the email resource. > - > > A resource can contain zero or more attributes. Ex: For an email > resource, from and to values are attributes. > - > > Attributes and the file will be kept in separate tables and boolean > flags will be included in the resource table to indicate the existence of > each category. > > [1] "Invitation: [IAM][Review]JDBC Based Configuration Store @ Mon Dec 3, > 2018 1pm - 2pm (IST) (WSO2 Engineering Group)" > > [2] "[Architecture] [IS] JDBC based Configuration Store for WSO2 IS" > > Thanks, > > Tharindu. > -- > *Tharindu Bandara* > Software Engineer | WSO2 > > Email : tharin...@wso2.com > Mobile : +94 714221776 > web : http://wso2.com > <https://www.google.com/url?q=http://wso2.com&sa=D&ust=1517653383990000&usg=AFQjCNFggB4bSJTKmdqKcBV0VY9xx1ABKg> > > https://wso2.com/signature > -- *Isura Dilhara Karunaratne* Associate Technical Lead | WSO2 <http://wso2.com/> *lean.enterprise.middleware* Email: is...@wso2.com Mob : +94 772 254 810 Blog : http://isurad.blogspot.com/
_______________________________________________ Architecture mailing list Architecture@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture