Added throws ValidationException to attibute key create and update
methods. Changed the min size of moduleId.
Add a comment.