Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4672)

Issue 108100043: LIB Fix b/10302420: Archive feeds to a local directory, if configured. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 10 months ago by Brett
Modified:
9 years, 10 months ago
Reviewers:
pjo, ejona
CC:
connector-cr_google.com
Visibility:
Public.

Description

This change adds a new optional configuration property, feed.archiveDirectory. If specified, it should be a pathname to a directory in which the all feeds successfully and unsuccessfully sent to the GSA are archived. Failed feeds are tagged with FAILED in the archive feed file name.

Patch Set 1 #

Total comments: 1

Patch Set 2 : Simplified interface, archiver available via AdaptorContext #

Unified diffs Side-by-side diffs Delta from patch set Stats (+316 lines, -20 lines) Patch
M src/com/google/enterprise/adaptor/AdaptorContext.java View 1 1 chunk +7 lines, -0 lines 0 comments Download
M src/com/google/enterprise/adaptor/Config.java View 3 chunks +9 lines, -0 lines 0 comments Download
M src/com/google/enterprise/adaptor/DocIdSender.java View 1 6 chunks +10 lines, -2 lines 0 comments Download
A src/com/google/enterprise/adaptor/FeedArchiver.java View 1 1 chunk +42 lines, -0 lines 0 comments Download
M src/com/google/enterprise/adaptor/GsaCommunicationHandler.java View 1 3 chunks +10 lines, -2 lines 0 comments Download
A src/com/google/enterprise/adaptor/GsaFeedFileArchiver.java View 1 1 chunk +57 lines, -0 lines 0 comments Download
M src/com/google/enterprise/adaptor/WrapperAdaptor.java View 1 1 chunk +5 lines, -0 lines 0 comments Download
M test/com/google/enterprise/adaptor/DocIdSenderTest.java View 1 12 chunks +47 lines, -16 lines 0 comments Download
A test/com/google/enterprise/adaptor/GsaFeedFileArchiverTest.java View 1 1 chunk +129 lines, -0 lines 0 comments Download

Messages

Total messages: 15
Brett
9 years, 10 months ago (2014-06-21 00:25:03 UTC) #1
Brett
I am liking the interface to the feed file archiver less and less. The biggest ...
9 years, 10 months ago (2014-06-21 18:24:08 UTC) #2
pjo
Thank you. This looks great. For the interface. How about: saveRecordsFeed() saveGroupsFeed() saveFailedRecordsFeed() saveFailedGroupsFeed() (1) ...
9 years, 10 months ago (2014-06-24 23:29:38 UTC) #3
brett.michael.johnson_gmail.com
One of the reasons I was favoring the much simpler interface, was to open it ...
9 years, 10 months ago (2014-06-25 16:21:45 UTC) #4
pjo
Sounds good. Two functions and making accessible via AdaptorContext - technology's compounding interest - On ...
9 years, 10 months ago (2014-06-25 17:52:30 UTC) #5
Brett
Simplified interface, archiver available via AdaptorContext
9 years, 10 months ago (2014-06-25 23:16:35 UTC) #6
pjo
LGTM. Thank you.
9 years, 10 months ago (2014-06-25 23:44:55 UTC) #7
Brett
Committed 25 June 2014 to the Adaptor Library To https://code.google.com/p/plexi/ 0e947a3..a15692a master -> master
9 years, 10 months ago (2014-06-25 23:48:05 UTC) #8
ejona
On 2014/06/25 16:21:45, brett.michael.johnson_gmail.com wrote: > One of the reasons I was favoring the much ...
9 years, 10 months ago (2014-06-26 22:40:09 UTC) #9
pjo
Brett and I were thinking of the HtmlWriter's html listings. You're right that those could ...
9 years, 10 months ago (2014-06-27 19:43:34 UTC) #10
ejona
On Fri, Jun 27, 2014 at 12:43 PM, PJ <pjo@google.com> wrote: > Brett and I ...
9 years, 10 months ago (2014-06-27 20:34:15 UTC) #11
pjo
I'm pretty convinced. How about you Brett? - technology's compounding interest - On Fri, Jun ...
9 years, 10 months ago (2014-06-27 20:39:59 UTC) #12
ejona
BTW: the CL did look great. The feature should be very useful for non-Google employees.
9 years, 10 months ago (2014-06-27 20:58:55 UTC) #13
brett.michael.johnson_gmail.com
I am not super attached to opening it up to the adaptors. Customers have long ...
9 years, 10 months ago (2014-06-27 22:10:48 UTC) #14
ejona
9 years, 10 months ago (2014-06-27 22:14:39 UTC) #15
On Fri, Jun 27, 2014 at 3:10 PM, Brett Johnson <
brett.michael.johnson@gmail.com> wrote:

> I’m not too concerned about the HTML/XML
> bit,
>

I'm not super-concerned with it either. But it does add to the "should we
use this for that?"

since we can make sure HtmlWriter produces XHTML.
>

That seems like an anti-goal. That sort of change doesn't help anyone. And
with the advent of HTML 5, XHTML seems dead and forever a dead-end.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b