- working on getting POST to work with Java/Spring
- http://www.journaldev.com/2552/spring-restful-web-service-example-with-json-jackson-and-client-program
- got it to work in TaskManagerApp
- @RequestMapping(value = “/tasks/create”, method = RequestMethod.POST, headers = {“Content-type=application/json”})
public @ResponseBody Task createTask(@RequestBody Task task) { }
- @RequestMapping(value = “/tasks/create”, method = RequestMethod.POST, headers = {“Content-type=application/json”})
- useful Chrome plugin – Postman – REST Client
- https://chrome.google.com/webstore/detail/postman-rest-client/fdmmgilgnpjigdojojpjoooidkmcomcm?hl=en
- very simple to use!!! tested POST service in TaskManagerApp
- looking at Spring Security User Session Management
Monthly Archives: September 2014
Phil 9.30.14
8:00 – 4:00 SR
- Lost server access over the break so no deployments or backups today. The single point of failure failed. Working on getting access restored.
- Status reports.
- Uploaded code from the break to subversion
- More Angular
- Installing newer/better xampp
Dong Shin 09.29.2014
- got SpringServiceJsonSample to generate JSON objects with a nested list, one to many relationship
- Generating Java POJOs for project_portfolio_enh database
Dong Shin 09.26.2014
- working on Java services to provide User interface….
- pretty good example on using Spring and JSON – http://www.programming-free.com/2014/03/spring-mvc-40-restful-web-service-json.html
- above leads to http://www.programming-free.com/2014/04/spring-mvc-consuming-restful-web-services.html
- AngularJS and Spring REST example – http://www.programming-free.com/2014/07/crud-springmvc-restful-webservices-angularjs.html
- created Dynamic Web project – FinancialAssistantService
- using log4j2
- got getUsers working….
- working on add user (JSON)
Dong Shin 09.25.2014
- reworked Save Query to be simpler
- removed queries datagrid
- modified the form
- more AngularJS!
Dong Shin 09.24.2014
- managed to blow up the flex workspace again! almost lost all recent code changes.
- working on Query Mgmt
- drop cannot be received on closed parent item and empty parent doesn’t open up on click! manually open up the empty folders…
- ALTER TABLE `qb_queries` CHANGE `query` `query` TEXT NULL DEFAULT NULL;
- got drag and drop to work
- got save / delete to work
- done!
Dong Shin 09.23.2014
- went over the queries with Lenny
- working on Query Mgmt…
- separated Query DG to a component – QueryMgmtPanel
- added folder_name to qb_queries table
Dong Shin 09.22.2010
- got the user login to talk to the test server
- working on server side.
- Grails reverse-engineering with JSON get/post support?
- starting with users table
- Eclipse Juno not working well with Hibernate Tools
- Eclipse Kepler crashing randomly running out hander? – reverted back to original install
- installed JBoss tools (Hibernate) in Eclipse Kepler
- create Hibernate Configuration for Reverse Engineering (auto generation of POJOs)
- successfully generated classes and configurations from PPM database (project_porftolio_enh)!!
- from Lenny
- PM Actuals not color coded correctly in the new Query Builder
- add folders to organize queries?
Dong Shin 09.19.2014
- start using WebStorm! Eclipse JavaScript development not working well with AngularJS
- change default IDE settings – https://intellij-support.jetbrains.com/entries/23348963
- modify C:\Program Files (x86)\JetBrains\WebStorm 8.0.4\bin\idea.properties file
- idea.config.path=${user.home}/Dropbox/DEV/webstorm/config
- idea.system.path=${user.home}/Dropbox/DEV/webstorm//system
- idea.plugins.path=${idea.config.path}/plugins
- idea.log.path=${idea.system.path}/log
- continue on AngularJS tutorials
- working on User Login
Dong Shin 09.18.2014
- budget_center_contract has correct obligation dates in it. need to look at the actual data on-site
- AngularJS Tutorials
- add AngularJS tooling to Eclipse
- working on Login interface
- bootstrap components – http://getbootstrap.com/components/
- http://joelhooks.com/blog/2013/05/22/lessons-learned-kicking-off-an-angularjs-project/
- http://joelhooks.com/blog/2013/08/03/learn-angularjs-in-a-weekend/
Dong Shin 09.17.2014
- went to the Fort
- taught Lenny how to build queries on the new Query Builder
- add Filter to the new Query Builder
- budget_center_obligation_date returns null
- went over the project and capability based queries with Chris, he really likes it.
- added column filter to the new Query Builder
Dong Shin 09.16.2014
- added flexunit-0.85.swc to Flex Projects…. deleted from Maven Repo.
- fixed Planned Outlay Baseline getting PM Actuals data..
- Flash Builder crashed and took the workspace with it…. Uugngh. rebuilding it….
Dong Shin 09.15.2014
- enabled editEnabled in Lab AddableListComboBox
- removed old Query Builder
- set Query Builder to display PM Actuals as Chris requested
- past 18th of the month, show previous month
- before 18th of the month, show two months before
Phil 9.12.14
8:00 – 5:00 SR
- DB Backups
- Deployed new FA and RA
- Added a column to the master table
- Added labs to FRa
- Angular
- Worked on http interaction. It turns out that Angular likes to post in JSON format, but most servers (PHP, Java) use URI encoding. Spent a few hours going around and around with that. There are also no directives around <br>, and ng-model doesn’t seem to work with <div>. Nonetheless, I’m interacting with the database through a web page, so yay.
Dong Shin 09.11.2014
- was unable to duplicate Gina’s FMP problem on site…
- fixed FMP’s not showing – throwing exception when parsing projected_date!
- added lab field to __project_detailed_data
- continue on AngularJS
- got $log working…
- created dummy php service to test client/server commuication – http://localhost/angularWS/services.php
- enable CORS for apache web server
You must be logged in to post a comment.