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

[ISSUE #76] Add InstanceUser and ACL interfaces #77

Merged
merged 14 commits into from
Apr 2, 2024

Conversation

318228han
Copy link
Contributor

Comment on lines 84 to 102
<!-- <dependency>-->
<!-- <groupId>org.apache.eventmesh</groupId>-->
<!-- <artifactId>eventmesh-sdk-java</artifactId>-->
<!-- <version>1.10.0-release</version>-->
<!-- <exclusions>-->
<!-- <exclusion>-->
<!-- <groupId>junit</groupId>-->
<!-- <artifactId>junit</artifactId>-->
<!-- </exclusion>-->
<!-- <exclusion>-->
<!-- <groupId>junit</groupId>-->
<!-- <artifactId>junit-dep</artifactId>-->
<!-- </exclusion>-->
<!-- <exclusion>-->
<!-- <groupId>org.apache.logging.log4j</groupId>-->
<!-- <artifactId>log4j-slf4j-impl</artifactId>-->
<!-- </exclusion>-->
<!-- </exclusions>-->
<!-- </dependency>-->
Copy link
Member

Choose a reason for hiding this comment

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

Why do we need to add these indents?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I will delete them.

Copy link
Member

@Pil0tXia Pil0tXia left a comment

Choose a reason for hiding this comment

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

Could you please double-check that there are no legacy unrenamed entries in the source code outside of this PR~?

Comment on lines 44 to 54
@Update("UPDATE service_user SET password=#{password} WHERE id=#{id}")
void updatePasswordById(InstanceUserEntity instanceuserentity);

@Select("SELECT * FROM service_user WHERE status=1")
List<InstanceUserEntity> selectAll();

@Select("SELECT * FROM service_user WHERE id=#{id} AND status=1")
InstanceUserEntity selectById(InstanceUserEntity instanceuserEntity);

@Select("SELECT * FROM service_user WHERE name=#{name} AND status=1")
List<InstanceUserEntity> selectByName(InstanceUserEntity instanceuserEntity);
Copy link
Member

Choose a reason for hiding this comment

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

Unrenamed service_user field here.

Comment on lines 18 to 24
INSERT INTO eventmesh_dashboard_test.service_user (instance_type, password, cluster_id, name, token, status)
VALUES (1, 'pwd01', 1, 'name01', 'token01', 1);

INSERT INTO eventmesh_dashboard_test.service_user (instance_type, password, cluster_id, name, token, status)
VALUES (2, 'pwd02', 2, 'name02', 'token02', 1);

INSERT INTO eventmesh_dashboard_test.service_user (instance_type, password, cluster_id, name, token, status)
Copy link
Member

Choose a reason for hiding this comment

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

Unrenamed service_user field here.

@318228han 318228han requested a review from Pil0tXia April 2, 2024 13:11
@Pil0tXia Pil0tXia changed the title [ISSUE #76] ADD service user and acl [ISSUE #76] Add InstanceUser and ACL interfaces Apr 2, 2024
@Pil0tXia Pil0tXia merged commit efdae6e into apache:dev Apr 2, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants