Change By: johnwoodlock (25/Aug/12 11:41 PM)
Description: This is a familiarisation task.  Its objective is for getting used to the code base rather than implementing a lot of functionality.  Although quite brief, the comments below should point you to places in the code (java backend and _javascript_ UI) where similar functionality has already been done.  However, don't hesitate to contact Keith or myself if you have queries, would like a code base screen share or even if you can see a better way of doing anything.

m_code is the table that stores the names (but not the values) of user defined codes. 
Some description is at https://mifosforge.jira.com/wiki/display/MIFOSX/Mifos+X+Database

It is not defined in Java yet... just in the database (there aren't any codes in the core tables just yet).

Create the Post, Put, Get and Delete resources similar to as done in 
FundsApiResource.java (You can leave delete out if you want to).

except that 
- this api format will be /codes rather than /funds
- the  m_code table only contains id and code_name fields.
- there is no delete in FundsApiResource.java

In the reference UI add list, create, update and delete functions. The delete (if you choose to do it) will be a real delete, not a soft delete as done in other places such as DepositProductsApiResource

You can put this under the organisation admin menu for now (this is getting busy and we'll review it soon but its fine for now).

Don't worry about permissions for now.  Also no tests required right now.  API Documentation later also.


Note: whilst m_code_value contains the actual list of values for m_code - that maintenance work isn't part of this task.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to