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

Auth module 3.0.2 #323

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ private void writeResponse(ServletResponse servletResponse,
try (PrintWriter writer = servletResponse.getWriter()) {
writer.print(JsonUtil.toJson(response));
} catch (IOException e) {
log.error("Response error",e);
log.error("Failed to get response writer ",e);
Copy link
Collaborator

Choose a reason for hiding this comment

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

add space before "e"

}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,6 @@ public static synchronized HubbleOptions instance() {
"auth.admin_password",
Copy link
Collaborator

Choose a reason for hiding this comment

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

create a "hubble" user?

"The password of admin user in auth-server.",
disallowEmpty(),
"pa"
"hugegraph"
);
}
2 changes: 1 addition & 1 deletion hubble-be/src/main/resources/database/data.sql
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ DELETE FROM `resources_role_rel`;

INSERT INTO `resources` (`id`, `path`, `type`) VALUES (1, '/test', 1);

INSERT INTO `resources_role_rel` (`resources_id`, `role_type`) VALUES (1, 1);
INSERT INTO `resources_role_rel` (`resources_id`, `role_type`) VALUES (1, 1);
2 changes: 1 addition & 1 deletion hubble-be/src/main/resources/database/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,4 @@ CREATE TABLE IF NOT EXISTS `resources_role_rel` (
`resources_id` INT NOT NULL DEFAULT -1,
`role_type` INT NOT NULL DEFAULT -1,
PRIMARY KEY (`id`)
);
);