Hi all,
I committed and initial cut of Save/Revert for the new UI/configuration based on xstream. Its probably still a bit brital at this point, needs some testing so if folks could try it out and let me know about any issues that would be great.
-JD
--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com
A couple of things I should mention.
The new configuration stuff uses a different structure data directory, discussed in irc today. So it means that when you start GeoServer with a 1.x style data directory you wont get any data loaded.
However I added an import utility (on the Resources) page. You can use it to import data from a 1.x data directory.
David had the suggestion to support setting a system property which would do the import automatically, which i think is a good idea, but i never got around to it.
Justin Deoliveira wrote:
Hi all,
I committed and initial cut of Save/Revert for the new UI/configuration based on xstream. Its probably still a bit brital at this point, needs some testing so if folks could try it out and let me know about any issues that would be great.
-JD
--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com
Justin Deoliveira ha scritto:
Hi all,
I committed and initial cut of Save/Revert for the new UI/configuration based on xstream. Its probably still a bit brital at this point,
Brittle? Brutal? A bit of both? ;-p
needs some testing so if folks could try it out and let me know about any issues that would be great.
Hem... I tried to load the old release directory but it seems
not to be picked up. Is the "import old dd" missing?
For the moment I added some code in GeoServerLoader to pick up
the old catalog and services if the new one is not being found.
I found existing "else" statements in the code that I assume
are the place were the legacy reading code was to be put.
Also looking into the code, it seems the persist/revert buttons
(still in the server admin page) are not hooked up, where
should I try it out?
Well, having the legacy readers give me the opportunity
to work on some other stuff, we'll have time to chat about
this when you're online.
Cheers
Andrea
Andrea Aime wrote:
Justin Deoliveira ha scritto:
Hi all,
I committed and initial cut of Save/Revert for the new UI/configuration based on xstream. Its probably still a bit brital at this point,
Brittle? Brutal? A bit of both? ;-p
My wonderful spelling shows itself again.
needs some testing so if folks could try it out and let me know about any issues that would be great.
Hem... I tried to load the old release directory but it seems
not to be picked up. Is the "import old dd" missing?
Did you try from the resource page? Or just starting with an old release directory?
For the moment I added some code in GeoServerLoader to pick up
the old catalog and services if the new one is not being found.
I found existing "else" statements in the code that I assume
are the place were the legacy reading code was to be put.
Originally i did this... but it turned out to be a bit of a mess... so to make things simpler for the time being i just assumed a new data directory, and created the import utility. But its probably a good idea to have it automatically.
Also looking into the code, it seems the persist/revert buttons
(still in the server admin page) are not hooked up, where
should I try it out?
Woops, forgot to commit those. The should be there now.
Well, having the legacy readers give me the opportunity
to work on some other stuff, we'll have time to chat about
this when you're online.
Cheers
Andrea
--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com
Justin Deoliveira ha scritto:
...
any issues that would be great.
Hem... I tried to load the old release directory but it seems
not to be picked up. Is the "import old dd" missing?
Did you try from the resource page? Or just starting with an old release directory?
Yes, from an old dd. Resource page... oh, no, I did not realize it
was there... kind of odd to me, it imports not only the catalog
but also the service configuration, I expected to find it in
the server admin page.
For the moment I added some code in GeoServerLoader to pick up
the old catalog and services if the new one is not being found.
I found existing "else" statements in the code that I assume
are the place were the legacy reading code was to be put.
Originally i did this... but it turned out to be a bit of a mess... so to make things simpler for the time being i just assumed a new data directory, and created the import utility. But its probably a good idea to have it automatically.
Also looking into the code, it seems the persist/revert buttons
(still in the server admin page) are not hooked up, where
should I try it out?
Woops, forgot to commit those. The should be there now.
Well, having the legacy readers give me the opportunity
to work on some other stuff, we'll have time to chat about
this when you're online.
Cool, gonna try them out, along with the import
Cheers
Andrea
Yes, from an old dd. Resource page... oh, no, I did not realize it
was there... kind of odd to me, it imports not only the catalog
but also the service configuration, I expected to find it in
the server admin page.
I was not sure where to put it... i would be fine with moving it. I also agree having it on Server admin is probably a better place.
And yes at the moment it does not import service configuration, which it should. I did not have enough hours in my day yesterday ;).
For the moment I added some code in GeoServerLoader to pick up
the old catalog and services if the new one is not being found.
I found existing "else" statements in the code that I assume
are the place were the legacy reading code was to be put.
Originally i did this... but it turned out to be a bit of a mess... so to make things simpler for the time being i just assumed a new data directory, and created the import utility. But its probably a good idea to have it automatically.
Also looking into the code, it seems the persist/revert buttons
(still in the server admin page) are not hooked up, where
should I try it out?
Woops, forgot to commit those. The should be there now.
Well, having the legacy readers give me the opportunity
to work on some other stuff, we'll have time to chat about
this when you're online.
Cool, gonna try them out, along with the import
Cheers
Andrea
--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com