Skip to content

new houserush sample framework#11

Merged
yhs0092 merged 2 commits intoapache:masterfrom
alec-z:new_houserush_sample
Jul 30, 2019
Merged

new houserush sample framework#11
yhs0092 merged 2 commits intoapache:masterfrom
alec-z:new_houserush_sample

Conversation

@alec-z
Copy link
Copy Markdown
Contributor

@alec-z alec-z commented Jul 24, 2019

Add the new e-commerce sample project framework as my proposal says. It's just the pom files and the microservices split design. @liubao68

@yhs0092
Copy link
Copy Markdown
Member

yhs0092 commented Jul 30, 2019

Hello, I find that the indent of some files is different from the others. It's recommended to use the same code format template, and you can find it in ServiceComb-Java-Chassis.
And could you add some introduction into the README file, such as the backgroud introduction and how to run it?

@alec-z
Copy link
Copy Markdown
Contributor Author

alec-z commented Jul 30, 2019

@yhs0092 I have
reformat code with google java code style and add some Readme content

@yhs0092 yhs0092 merged commit f0fbf88 into apache:master Jul 30, 2019
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We need to add Apache License.

Copy link
Copy Markdown
Member

@WillemJiang WillemJiang left a comment

Choose a reason for hiding this comment

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

It's strange this PR has no Java code yet.
I add some comments on the pom.xml please check them out.

<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>mysql</groupId>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We cannot use the mysql connector due to the license issue, please switch it to postgresql.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I will change it, thx.

<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.0.1.RELEASE</version>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

You may need to consider to upgrade the spring boot version, as this one is pretty old.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

OK

linzb0123 pushed a commit to linzb0123/servicecomb-samples that referenced this pull request Sep 6, 2019
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