You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2018/05/18 03:52:46 UTC

[trafficserver] branch master updated: Promotes cache_promote plugin to stable

This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 95dc007  Promotes cache_promote plugin to stable
95dc007 is described below

commit 95dc0072c171022f58cb826d7f1334c4511bdf53
Author: Leif Hedstrom <zw...@apache.org>
AuthorDate: Thu May 17 17:42:41 2018 -0600

    Promotes cache_promote plugin to stable
---
 CMakeLists.txt                                            | 2 +-
 doc/admin-guide/plugins/index.en.rst                      | 8 ++++----
 plugins/Makefile.am                                       | 2 +-
 plugins/{experimental => }/cache_promote/Makefile.inc     | 6 +++---
 plugins/{experimental => }/cache_promote/README           | 0
 plugins/{experimental => }/cache_promote/cache_promote.cc | 0
 6 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index af29025..4aeb33c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -639,6 +639,7 @@ add_executable(ats
         plugins/background_fetch/headers.h
         plugins/background_fetch/rules.cc
         plugins/background_fetch/rules.h
+        plugins/cache_promote/cache_promote.cc
         plugins/conf_remap/conf_remap.cc
         plugins/esi/fetcher/FetchedDataProcessor.h
         plugins/esi/fetcher/HttpDataFetcher.h
@@ -700,7 +701,6 @@ add_executable(ats
         plugins/experimental/balancer/roundrobin.cc
         plugins/experimental/buffer_upload/buffer_upload.cc
         plugins/experimental/cache_key_genid/cache_key_genid.c
-        plugins/experimental/cache_promote/cache_promote.cc
         plugins/experimental/cache_range_requests/cache_range_requests.cc
         plugins/experimental/collapsed_connection/collapsed_connection.cc
         plugins/experimental/collapsed_connection/MurmurHash3.cc
diff --git a/doc/admin-guide/plugins/index.en.rst b/doc/admin-guide/plugins/index.en.rst
index 7ae498e..203f826 100644
--- a/doc/admin-guide/plugins/index.en.rst
+++ b/doc/admin-guide/plugins/index.en.rst
@@ -49,6 +49,7 @@ Plugins that are considered stable are installed by default in |TS| releases.
    AuthProxy <authproxy.en>
    Background Fetch <background_fetch.en>
    Cache Key Manipulation <cachekey.en>
+   Cache Promotion Policies <cache_promote.en>
    Combo Handler <combo_handler.en>
    Configuration Remap <conf_remap.en>
    ESI <esi.en>
@@ -76,6 +77,9 @@ Plugins that are considered stable are installed by default in |TS| releases.
 :doc:`Cache Key Manipulation <cachekey.en>`
    Allows some common cache key manipulations based on various HTTP request elements.
 
+:doc:`Cache Promotion Policies <cache_promote.en>`
+   Allows for control over which assets should be written to cache, or not.
+
 :doc:`Combo Handler <combo_handler.en>`
    Provides an intelligent way to combine multiple URLs into a single URL, and have Apache Traffic Server combine the components into one response.
 
@@ -133,7 +137,6 @@ directory of the |TS| source tree. Experimental plugins can be compiled by passi
 
    Balancer <balancer.en>
    Buffer Upload <buffer_upload.en>
-   Cache Promote <cache_promote.en>
    Collapsed-Forwarding <collapsed_forwarding.en>
    Epic <epic.en>
    GeoIP ACL <geoip_acl.en>
@@ -159,9 +162,6 @@ directory of the |TS| source tree. Experimental plugins can be compiled by passi
 :doc:`Buffer Upload <buffer_upload.en>`
    Buffers POST data before connecting to the Origin server.
 
-:doc:`Cache Promote <cache_promote.en>`
-   Provides additional control over when an object should be allowed into the cache.
-
 :doc:`Collapsed-Forwarding <collapsed_forwarding.en>`
    Allows to Collapse multiple Concurrent requests by downloading once from the Origin and serving
    all clients in parallel.
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index b784eb3..0448250 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -30,6 +30,7 @@ AM_LDFLAGS = $(TS_PLUGIN_LD_FLAGS)
 include authproxy/Makefile.inc
 include background_fetch/Makefile.inc
 include cachekey/Makefile.inc
+include cache_promote/Makefile.inc
 include conf_remap/Makefile.inc
 include escalate/Makefile.inc
 include esi/Makefile.inc
@@ -51,7 +52,6 @@ if BUILD_EXPERIMENTAL_PLUGINS
 include experimental/acme/Makefile.inc
 include experimental/balancer/Makefile.inc
 include experimental/buffer_upload/Makefile.inc
-include experimental/cache_promote/Makefile.inc
 include experimental/cache_range_requests/Makefile.inc
 include experimental/collapsed_connection/Makefile.inc
 include experimental/collapsed_forwarding/Makefile.inc
diff --git a/plugins/experimental/cache_promote/Makefile.inc b/plugins/cache_promote/Makefile.inc
similarity index 82%
rename from plugins/experimental/cache_promote/Makefile.inc
rename to plugins/cache_promote/Makefile.inc
index c2e9f93..a0029d3 100644
--- a/plugins/experimental/cache_promote/Makefile.inc
+++ b/plugins/cache_promote/Makefile.inc
@@ -14,7 +14,7 @@
 #  See the License for the specific language governing permissions and
 #  limitations under the License.
 
-pkglib_LTLIBRARIES += experimental/cache_promote/cache_promote.la
+pkglib_LTLIBRARIES += cache_promote/cache_promote.la
 
-experimental_cache_promote_cache_promote_la_SOURCES = \
-  experimental/cache_promote/cache_promote.cc
+cache_promote_cache_promote_la_SOURCES = \
+  cache_promote/cache_promote.cc
diff --git a/plugins/experimental/cache_promote/README b/plugins/cache_promote/README
similarity index 100%
rename from plugins/experimental/cache_promote/README
rename to plugins/cache_promote/README
diff --git a/plugins/experimental/cache_promote/cache_promote.cc b/plugins/cache_promote/cache_promote.cc
similarity index 100%
rename from plugins/experimental/cache_promote/cache_promote.cc
rename to plugins/cache_promote/cache_promote.cc

-- 
To stop receiving notification emails like this one, please contact
zwoop@apache.org.