• rockot's avatar
    Docserver: Fix API refresh task names · 7c5cf152
    rockot authored
    So these tasks have been queueing with different path names than
    those used by the template processor. The latter uses "Unix name"
    equivalents of the API features, while the former was not.
    
    For example, "apps/appviewTag" has been caching as such but the
    template looks for "apps/appview_tag". It's unclear when this
    incongruity appeared but it explains several "my-docs-arent-updating"
    bugs that have appeared in the past several weeks.
    
    This changes the refresh servlet to queue API refresh tasks using
    API features in unix_name form, resolving the incongruity.
    
    BUG=471019
    TBR=kalman@chromium.org
    
    Review URL: https://codereview.chromium.org/1038993002
    
    Cr-Commit-Position: refs/heads/master@{#322496}
    7c5cf152
app.yaml 649 Bytes