Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

[15:44:43 CDT(-0500)] <athena> in the longer term need to figure out a good way to let js and java share a common config

[15:44:59 CDT(-0500)] <athena> maybe the thing to do will be to just have the configuration read by java, then exposed to js via a phonegap plugin

[15:45:00 CDT(-0500)] <athena> we'll see

[15:45:09 CDT(-0500)] <athena> not the end of the world for now though, i guess

[15:45:51 CDT(-0500)] <athena> i wish we could just use JSON

[15:45:57 CDT(-0500)] <athena> but JSOn doesn't allow comments :/

[15:45:59 CDT(-0500)] <EricDalquist> is this static config

[15:46:06 CDT(-0500)] <EricDalquist> or can it be grabbed from the portal at runtime?

[15:46:15 CDT(-0500)] <athena> this is for the native app, not the portal

[15:46:22 CDT(-0500)] <EricDalquist> ah

[15:46:27 CDT(-0500)] <EricDalquist> can you generate it at build time?

[15:46:36 CDT(-0500)] <EricDalquist> Jackson can generate JSON using JAXB annoations

[15:46:42 CDT(-0500)] <EricDalquist> why not config in XML

[15:46:46 CDT(-0500)] <EricDalquist> use JAXB for the java code

[15:46:56 CDT(-0500)] <athena> can't use JAXB

[15:47:02 CDT(-0500)] <EricDalquist> and write a little class that does XML -> Java -> JSON with Jackson

[15:47:04 CDT(-0500)] <EricDalquist> oh right

[15:47:08 CDT(-0500)] <EricDalquist> this is all within the phone

[15:47:11 CDT(-0500)] <EricDalquist> (tongue)

[15:47:13 CDT(-0500)] <athena> yeah (tongue)

[15:47:30 CDT(-0500)] <EricDalquist> well you could use JSOn in the Java code too

[15:47:34 CDT(-0500)] <athena> we could

[15:47:37 CDT(-0500)] <EricDalquist> and have the build process generate the JSON from the XML

[15:47:47 CDT(-0500)] <EricDalquist> so you get commented XML

[15:47:53 CDT(-0500)] <athena> yeah

[15:48:02 CDT(-0500)] <athena> i'd have to figure out how to hook into the android build process

[15:48:06 CDT(-0500)] <EricDalquist> just random ideas

[15:48:13 CDT(-0500)] <athena> for now just putting the config in the main java file

[15:48:17 CDT(-0500)] <athena> since you have to hand-edit that anyway

[15:56:16 CDT(-0500)] <EricDalquist> I just merged 77 commits from uw-master into uPortal master

[15:56:26 CDT(-0500)] <EricDalquist> 73 of those were working on event aggregation

[15:57:40 CDT(-0500)] <athena> ooo

[16:12:13 CDT(-0500)] <EricDalquist> every time I have to do something like that

[16:12:15 CDT(-0500)] <EricDalquist> git amazes me

[16:12:21 CDT(-0500)] <EricDalquist> it handles merging across branches so nicely

[16:19:45 CDT(-0500)] <athena> so cool (smile)

[16:30:28 CDT(-0500)] <EricDalquist> athena: will you be able to test the upgrade procedures against the conf db when I get this ready?

[16:30:43 CDT(-0500)] <EricDalquist> like do you have the ability to create a postgrest instance with that data

[16:30:45 CDT(-0500)] <EricDalquist> muck with it

[16:30:49 CDT(-0500)] <EricDalquist> and then start over if needed?

[16:37:22 CDT(-0500)] <EricDalquist> oh uhg

[16:37:30 CDT(-0500)] <EricDalquist> I need to figure out this postgres LOB issue too (sad)

[16:39:29 CDT(-0500)] <athena> yes, i can create some test postgres DBs

[16:39:51 CDT(-0500)] <EricDalquist> great

[16:39:56 CDT(-0500)] <EricDalquist> it will be another day or two

[16:40:05 CDT(-0500)] <EricDalquist> but I should have a upgrade script put together soon

[16:43:57 CDT(-0500)] <athena> sounds good

[16:44:24 CDT(-0500)] <EricDalquist> another thread I need to start is what the default aggregation config should look like

[16:44:30 CDT(-0500)] <EricDalquist> I'm thinking we do something very conservative

[16:44:42 CDT(-0500)] <EricDalquist> so people don't get blown away by huge data store requirements

[16:45:01 CDT(-0500)] <EricDalquist> like only doing aggregations for the Everyone group and limiting the number of different intervals that aggregations are created foir

[16:50:28 CDT(-0500)] <EricDalquist> time to head home but before I do ... the list of commits on event aggregation: https://github.com/edalquist/uPortal/compare/UP-3477