2009-05-30

Weekly Report for project(2009-05-30)

    In this week, What i have done are as follow:

    (1)  I have sent a mail about the serialization mapping which i did in "XStreamSerializer".  And talk with other devs to improve the mapping for domain objects

    (2)  I have do the short converters for a part classes, such as User/Patient/Person

    (3)  Modified the logic in "XStreamSerializer.java"

2009-05-24

Weekly Report for project(2009-05-24)

    Last week, because the problem of internet, i cannot login in my blogger for more than a week. Now, i can login in it through proxy.

    In the passed two weeks, the work i have done as follow:
    (1)  add function for serializing cglib proxy
    (2)  complete all config opearation in "XStreamSerializer.java"
    (3)  write three testcases PersonAddress/PersonName/CohortSerializationTest.java

2009-05-10

Weekly Report for Project(2009-05-10)

    My work in this week mainly contains finish my final proposal, create my project's branch("serialization")  and begin to code.

    For this weeky, i haven't new questions, most questions have been resolved in communication with Ben throught email:-)

2009-05-04

Weekly Report For Project(2009-05-03)

1. Things which I have done this week
        (1) Read the source code about all domain classes and some code about the report module.
        (2) Read the document about unit test framework used in OpenMRS.

2. Things which I am doing now
        (1) Reading the API doc of XStream and some specific source code about those classes which will be used in this project.

3. Question List
        (1) The form of writing the unit test for Serialization
        As i see the document and some codes about unit test in Openmrs.  I have a problem,  i think if i should write a new Testcase for every domain object?  or i can just write a new method with "@should" in the class "SerializatoinServiceTest" for every domain object?
        Ben,  can you tell me which test class i can refer to?

        (2) About implementing the feature of "@Element(data=true)"
        I think if i extends some classes of XStream and override methods in them in order to implement the feature "@Element(data=true)",  then I don't know this manner whether will break some licences in XStream?

        (3) The form through which I will do my project
        Some projects will be done in a branch or module.  And I want to know if I can directly code for my project in current core codes in Openmrs,  Or also need make a new branch for my project?