Ard Schrijvers pushed to branch feature/spaplus at cms-community / 
hippo-site-toolkit


Commits:
e3f1b824 by Ard Schrijvers at 2018-03-15T15:30:28+01:00
HSTTWO-4225 remove support for action/resource and component rendering request

There is no use case AFAICS for an SpaSitePipeline to ever serve a
action, resource or component rendering request.

- - - - -


2 changed files:

- 
components/core/src/main/java/org/hippoecm/hst/core/container/SelectiveRenderingContextResolvingValve.java
- 
components/core/src/main/resources/org/hippoecm/hst/site/container/SpringComponentManager-pipelines.xml


Changes:

=====================================
components/core/src/main/java/org/hippoecm/hst/core/container/SelectiveRenderingContextResolvingValve.java
=====================================
--- 
a/components/core/src/main/java/org/hippoecm/hst/core/container/SelectiveRenderingContextResolvingValve.java
+++ 
b/components/core/src/main/java/org/hippoecm/hst/core/container/SelectiveRenderingContextResolvingValve.java
@@ -1,5 +1,5 @@
 /*
- *  Copyright 2008-2015 Hippo B.V. (http://www.onehippo.com)
+ *  Copyright 2018 Hippo B.V. (http://www.onehippo.com)
  * 
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
@@ -40,14 +40,6 @@ public class SelectiveRenderingContextResolvingValve extends 
ContextResolvingVal
             HstComponentConfiguration rootComponentConfig) {
         HstComponentWindow rootComponentWindow = 
super.createRootComponentWindow(context, rootComponentConfig);
 
-        final HstRequestContext requestContext = context.getRequestContext();
-        final String componentRenderingWindowReferenceNamespace = 
requestContext.getBaseURL()
-                .getComponentRenderingWindowReferenceNamespace();
-
-        if (componentRenderingWindowReferenceNamespace != null) {
-            return rootComponentWindow;
-        }
-
         Map<String, HstComponentWindow> childMap = 
rootComponentWindow.getChildWindowMap();
 
         if (childMap != null) {


=====================================
components/core/src/main/resources/org/hippoecm/hst/site/container/SpringComponentManager-pipelines.xml
=====================================
--- 
a/components/core/src/main/resources/org/hippoecm/hst/site/container/SpringComponentManager-pipelines.xml
+++ 
b/components/core/src/main/resources/org/hippoecm/hst/site/container/SpringComponentManager-pipelines.xml
@@ -250,12 +250,8 @@
                 <ref bean="jcrSessionStatefulConcurrencyValve"/>
                 <ref bean="selectiveRenderingContextResolvingValve" />
                 <ref bean="localizationValve" />
-                <ref bean="actionValve" />
-                <ref bean="resourceServingValve" />
                 <ref bean="pageInfoRenderingValve" />
-                <ref bean="esiPageInfoScanningValve" />
                 <ref bean="pageCachingValve"/>
-                <ref bean="componentRenderingValve" />
                 <ref bean="aggregationValve" />
               </list>
             </property>



View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-site-toolkit/commit/e3f1b824687c103245ad3f198114721bc8d49740

---
View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-site-toolkit/commit/e3f1b824687c103245ad3f198114721bc8d49740
You're receiving this email because of your account on code.onehippo.org.
_______________________________________________
Hippocms-svn mailing list
Hippocms-svn@lists.onehippo.org
https://lists.onehippo.org/mailman/listinfo/hippocms-svn

Reply via email to