-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #50 from hiroxpepe/develop
refactor: #35 keeping codes clean.
- Loading branch information
Showing
72 changed files
with
208 additions
and
251 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# blog-examproject | ||
# expt-blog | ||
|
||
--- | ||
## What's this? | ||
|
@@ -35,17 +35,17 @@ to stop the application hit ctrl + c | |
--- | ||
## Repository on Github. | ||
[hiroxpepe/blog-examproject](https://github.com/hiroxpepe/blog-examproject) | ||
[hiroxpepe/expt-blog](https://github.com/hiroxpepe/expt-blog) | ||
--- | ||
## Running on Heroku. | ||
http://blog-examproject.herokuapp.com/ | ||
http://expt-blog.herokuapp.com/ | ||
--- | ||
## Author | ||
[hiroxpepe](mailto:[email protected]) | ||
--- | ||
## License | ||
The examproject is released under version 2.0 of the | ||
The expt is released under version 2.0 of the | ||
[Apache License](http://www.apache.org/licenses/LICENSE-2.0). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
* limitations under the License. | ||
*/ | ||
|
||
package org.examproject.blog.controller; | ||
package org.expt.blog.controller; | ||
|
||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
@@ -35,11 +35,11 @@ | |
import org.springframework.web.bind.annotation.RequestBody; | ||
import org.springframework.web.bind.annotation.ResponseBody; | ||
|
||
import org.examproject.blog.dto.EntryDto; | ||
import org.examproject.blog.form.EntryForm; | ||
import org.examproject.blog.model.EntryModel; | ||
import org.examproject.blog.service.EntryService; | ||
import org.examproject.blog.response.EntryResponse; | ||
import org.expt.blog.dto.EntryDto; | ||
import org.expt.blog.form.EntryForm; | ||
import org.expt.blog.model.EntryModel; | ||
import org.expt.blog.service.EntryService; | ||
import org.expt.blog.response.EntryResponse; | ||
|
||
/** | ||
* the entry controller class of the application. | ||
|
@@ -75,11 +75,11 @@ public class EntryController { | |
method=RequestMethod.GET | ||
) | ||
public void doForm( | ||
@CookieValue(value="__exmp_blog_username", defaultValue="anonymous") | ||
@CookieValue(value="__expt_blog_username", defaultValue="anonymous") | ||
String username, | ||
@CookieValue(value="__exmp_blog_password", defaultValue="password") | ||
@CookieValue(value="__expt_blog_password", defaultValue="password") | ||
String password, | ||
@CookieValue(value="__exmp_blog_email", defaultValue="[email protected]") | ||
@CookieValue(value="__expt_blog_email", defaultValue="[email protected]") | ||
String email, | ||
Model model | ||
) { | ||
|
@@ -341,5 +341,4 @@ private void addToResponse( | |
false | ||
); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.