Kuali Mobility
  1. Kuali Mobility
  2. MOBILITY-681

DEV - Add the ability to search news stories.

    Details

    • Type: Task Task
    • Status: Reopened Reopened
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.2
    • Fix Version/s: 3.3
    • Component/s: News
    • Labels:
      None
    • Rank (Obsolete):
      3471
    • Global Rank:
      89367
    • Sprint:
      Mobility 3.3

      Description

      The news tool should be updated to allow for basic keyword searching in all stories from all news sources. A simple search field should be added to the main page of the news tool similar to the one in Academics Browse Classes, People tool, or Map tool. The search form should submit to a new web service that will perform the search and retrieve the results. The results should be sorted in chronological order with the newest first. The search terms and results should be cached in session storage on the device so that navigation away from the results and back again can display the search and results without any new network traffic. The people tool currently does this and can be used as a template for both the UI work and the web service structure.

      The manner in which we store news data on the server should be modified for this task. The cached news stories should also be persisted to the database in a dedicated table, NEWS_ARTICLE_T. This does not need to replace the current in memory caching mechanism at this time, so the NewsCacheImpl will need to be modified to save the articles to the database in addition to storing them in memory. The NewsArticleImpl.java will need to be properly JPA annotated. The JPA and JAXB annotations can coexist in a single file so there is no need to create a separate entity bean for the database storage. The description field needs to be a CLOB sql type in order to contain the entirety of the article descriptions.

      The table should hold stories for a configurable number of days. A new spring task should be created that will run at a configurable interval to purge articles from the database. The default number of days to store articles in the database is 7 days. The default interval to purge articles is 4 hours. A new java object should be added to manage this task in the news-impl project. It should implement org.kuali.mobility.shared.InitBean but need not have InitBean in the name since names should be descriptive of the purpose of the class.

      The search should be a simple phrase search for the first iteration. The search should be performed against both the title and description of an article.

        Activity

        Joe Swanson (Inactive) made changes -
        Field Original Value New Value
        Rank Ranked higher
        Joe Swanson (Inactive) made changes -
        Description The news tool should be updated to allow for basic keyword searching in all stories from all news sources. A simple search field should be added to the main page of the news tool similar to the one in Academics Browse Classes, People tool, or Map tool. The search form should submit to a new web service that will perform the search and retrieve the results. The results should be sorted in chronological order with the newest first. The search terms and results should be cached in session storage on the device so that navigation away from the results and back again can display the search and results without any new network traffic. The people tool currently does this and can be used as a template for both the UI work and the web service structure.

        The manner in which we store news data on the server should be modified for this task. The cached news stories should also be persisted to the database in a dedicated table. This does not need to replace the current in memory caching mechanism at this time, so the

        The table should hold stories for a configurable number of days.

          It is suggested that the news source loading be modified to persist the news stories to a database
        Joe Swanson (Inactive) made changes -
        Description The news tool should be updated to allow for basic keyword searching in all stories from all news sources. A simple search field should be added to the main page of the news tool similar to the one in Academics Browse Classes, People tool, or Map tool. The search form should submit to a new web service that will perform the search and retrieve the results. The results should be sorted in chronological order with the newest first. The search terms and results should be cached in session storage on the device so that navigation away from the results and back again can display the search and results without any new network traffic. The people tool currently does this and can be used as a template for both the UI work and the web service structure.

        The manner in which we store news data on the server should be modified for this task. The cached news stories should also be persisted to the database in a dedicated table. This does not need to replace the current in memory caching mechanism at this time, so the

        The table should hold stories for a configurable number of days.

          It is suggested that the news source loading be modified to persist the news stories to a database
        The news tool should be updated to allow for basic keyword searching in all stories from all news sources. A simple search field should be added to the main page of the news tool similar to the one in Academics Browse Classes, People tool, or Map tool. The search form should submit to a new web service that will perform the search and retrieve the results. The results should be sorted in chronological order with the newest first. The search terms and results should be cached in session storage on the device so that navigation away from the results and back again can display the search and results without any new network traffic. The people tool currently does this and can be used as a template for both the UI work and the web service structure.

        The manner in which we store news data on the server should be modified for this task. The cached news stories should also be persisted to the database in a dedicated table, NEWS_ARTICLE_T. This does not need to replace the current in memory caching mechanism at this time, so the NewsCacheImpl will need to be modified to save the articles to the database in addition to storing them in memory. The NewsArticleImpl.java will need to be properly JPA annotated. The JPA and JAXB annotations can coexist in a single file so there is no need to create a separate entity bean for the database storage. The description field needs to be a CLOB sql type in order to contain the entirety of the article descriptions.

        The table should hold stories for a configurable number of days. A new spring task should be created that will run at a configurable interval to purge articles from the database. The default number of days to store articles in the database is 7 days. The default interval to purge articles is 4 hours. A new java object should be added to manage this task in the news-impl project. It should implement org.kuali.mobility.shared.InitBean but need not have InitBean in the name since names should be descriptive of the purpose of the class.

        The search should be a simple phrase search for the first iteration. The search should be performed against both the title and description of an article.
        Joe Swanson (Inactive) made changes -
        Original Estimate 4 days [ 115200 ]
        Remaining Estimate 4 days [ 115200 ]
        Sprint Mobility 3.3 [ 307 ]
        Assignee Joe Swanson [ joseswan ]
        Joe Swanson (Inactive) made changes -
        Rank Ranked higher
        Joe Swanson (Inactive) made changes -
        Assignee Hemant Metalia [ hmetalia ]
        Hemant Metalia (Inactive) made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hemant Metalia (Inactive) logged work - 01/Jul/14 7:34 AM
        • Time Spent:
          7 hours, 30 minutes
           
          <No comment>
        Hemant Metalia (Inactive) logged work - 02/Jul/14 7:34 AM
        • Time Spent:
          1 day
           
          <No comment>
        Hemant Metalia (Inactive) logged work - 03/Jul/14 7:34 AM
        • Time Spent:
          7 hours
           
          <No comment>
        Hemant Metalia (Inactive) made changes -
        Remaining Estimate 4 days [ 115200 ] 3 days, 30 minutes [ 88200 ]
        Time Spent 7 hours, 30 minutes [ 27000 ]
        Worklog Id 97219 [ 97219 ]
        Hemant Metalia (Inactive) made changes -
        Remaining Estimate 3 days, 30 minutes [ 88200 ] 2 days, 30 minutes [ 59400 ]
        Time Spent 7 hours, 30 minutes [ 27000 ] 1 day, 7 hours, 30 minutes [ 55800 ]
        Worklog Id 97220 [ 97220 ]
        Hemant Metalia (Inactive) made changes -
        Remaining Estimate 2 days, 30 minutes [ 59400 ] 1 day, 1 hour, 30 minutes [ 34200 ]
        Time Spent 1 day, 7 hours, 30 minutes [ 55800 ] 2 days, 6 hours, 30 minutes [ 81000 ]
        Worklog Id 97221 [ 97221 ]
        Hemant Metalia (Inactive) logged work - 07/Jul/14 5:59 AM
        • Time Spent:
          1 day
           
          <No comment>
        Hemant Metalia (Inactive) logged work - 08/Jul/14 5:59 AM
        • Time Spent:
          1 day
           
          <No comment>
        Hemant Metalia (Inactive) logged work - 09/Jul/14 5:59 AM
        • Time Spent:
          1 day
           
          <No comment>
        Hemant Metalia (Inactive) made changes -
        Remaining Estimate 1 day, 1 hour, 30 minutes [ 34200 ] 1 hour, 30 minutes [ 5400 ]
        Time Spent 2 days, 6 hours, 30 minutes [ 81000 ] 3 days, 6 hours, 30 minutes [ 109800 ]
        Worklog Id 97413 [ 97413 ]
        Hemant Metalia (Inactive) made changes -
        Remaining Estimate 1 hour, 30 minutes [ 5400 ] 0 minutes [ 0 ]
        Time Spent 3 days, 6 hours, 30 minutes [ 109800 ] 4 days, 6 hours, 30 minutes [ 138600 ]
        Worklog Id 97414 [ 97414 ]
        Hemant Metalia (Inactive) made changes -
        Time Spent 4 days, 6 hours, 30 minutes [ 138600 ] 1 week, 6 hours, 30 minutes [ 167400 ]
        Worklog Id 97415 [ 97415 ]
        Hemant Metalia (Inactive) logged work - 10/Jul/14 7:32 AM
        • Time Spent:
          7 hours
           
          <No comment>
        Hemant Metalia (Inactive) logged work - 11/Jul/14 7:33 AM
        • Time Spent:
          7 hours
           
          <No comment>
        Hemant Metalia (Inactive) logged work - 14/Jul/14 7:33 AM
        • Time Spent:
          1 day
           
          <No comment>
        Hemant Metalia (Inactive) logged work - 15/Jul/14 7:33 AM
        • Time Spent:
          1 day
           
          <No comment>
        Hemant Metalia (Inactive) logged work - 17/Jul/14 12:41 AM
        • Time Spent:
          1 day
           
          <No comment>
        Hemant Metalia (Inactive) made changes -
        Time Spent 1 week, 6 hours, 30 minutes [ 167400 ] 1 week, 1 day, 5 hours, 30 minutes [ 192600 ]
        Worklog Id 97629 [ 97629 ]
        Hemant Metalia (Inactive) made changes -
        Time Spent 1 week, 1 day, 5 hours, 30 minutes [ 192600 ] 1 week, 2 days, 4 hours, 30 minutes [ 217800 ]
        Worklog Id 97630 [ 97630 ]
        Hemant Metalia (Inactive) made changes -
        Time Spent 1 week, 2 days, 4 hours, 30 minutes [ 217800 ] 1 week, 3 days, 4 hours, 30 minutes [ 246600 ]
        Worklog Id 97631 [ 97631 ]
        Hemant Metalia (Inactive) made changes -
        Time Spent 1 week, 3 days, 4 hours, 30 minutes [ 246600 ] 1 week, 4 days, 4 hours, 30 minutes [ 275400 ]
        Worklog Id 97632 [ 97632 ]
        Hemant Metalia (Inactive) logged work - 18/Jul/14 12:42 AM
        • Time Spent:
          1 day
           
          <No comment>
        Hemant Metalia (Inactive) logged work - 21/Jul/14 12:42 AM
        • Time Spent:
          1 day
           
          <No comment>
        Hemant Metalia (Inactive) logged work - 22/Jul/14 12:42 AM
        • Time Spent:
          1 day
           
          <No comment>
        Hemant Metalia (Inactive) logged work - 23/Jul/14 12:43 AM
        • Time Spent:
          1 day
           
          <No comment>
        Hemant Metalia (Inactive) made changes -
        Time Spent 1 week, 4 days, 4 hours, 30 minutes [ 275400 ] 2 weeks, 4 hours, 30 minutes [ 304200 ]
        Worklog Id 97805 [ 97805 ]
        Hemant Metalia (Inactive) made changes -
        Time Spent 2 weeks, 4 hours, 30 minutes [ 304200 ] 2 weeks, 1 day, 4 hours, 30 minutes [ 333000 ]
        Worklog Id 97806 [ 97806 ]
        Hemant Metalia (Inactive) made changes -
        Time Spent 2 weeks, 1 day, 4 hours, 30 minutes [ 333000 ] 2 weeks, 2 days, 4 hours, 30 minutes [ 361800 ]
        Worklog Id 97807 [ 97807 ]
        Hemant Metalia (Inactive) made changes -
        Time Spent 2 weeks, 2 days, 4 hours, 30 minutes [ 361800 ] 2 weeks, 3 days, 4 hours, 30 minutes [ 390600 ]
        Worklog Id 97808 [ 97808 ]
        Hemant Metalia (Inactive) made changes -
        Time Spent 2 weeks, 3 days, 4 hours, 30 minutes [ 390600 ] 2 weeks, 4 days, 4 hours, 30 minutes [ 419400 ]
        Worklog Id 97809 [ 97809 ]
        Hemant Metalia (Inactive) made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Xin Feng (Inactive) added a comment -

        Current implementation seems not meet the above requirements. It simply filters the article list, not real search.

        Show
        Xin Feng (Inactive) added a comment - Current implementation seems not meet the above requirements. It simply filters the article list, not real search.
        Xin Feng (Inactive) made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Assignee Hemant Metalia [ hmetalia ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Joe Swanson (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Time Tracking

              Estimated:
              Original Estimate - 4 days Original Estimate - 4 days
              4d
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 2 weeks, 4 days, 4 hours, 30 minutes
              2w 4d 4h 30m

                Agile

                  Structure Helper Panel