Cocoon 3
  1. Cocoon 3
  2. COCOON3-96

Add support for "internal-only" pipelines

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-beta-1
    • Fix Version/s: 3.0.0-beta-1
    • Component/s: cocoon-sitemap
    • Labels:
      None

      Description

      Cocoon 2.1 [1] and 2.2 [2] used to have support for internal-only pipelines, i.e. pipelines evaulated for internal (i.e. "cocoon:/") requests only.

      Such feature would be very useful in C3 as well, of course replacing "cocoon:/" with "servlet:/"

      [1] http://cocoon.apache.org/2.1/faq/faq-sitemap.html
      [2] http://cocoon.apache.org/2.2/core-modules/core/2.2/835_1_1.html

        Activity

        Hide
        Hudson added a comment -
        Integrated in Cocoon-trunk #168 (See [https://builds.apache.org/job/Cocoon-trunk/168/])
            [COCOON3-96] Restoring pristine cocoon-pipeline modifications and delegating internal-only attribute management to PipelineNode (Revision 1309265)

             Result = SUCCESS
        ilgrosso : http://svn.apache.org/viewvc/?view=rev&rev=1309265
        Files :
        * /cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/AbstractPipeline.java
        * /cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/Pipeline.java
        * /cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/Invocation.java
        * /cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/InvocationImpl.java
        * /cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/node/PipelineNode.java
        Show
        Hudson added a comment - Integrated in Cocoon-trunk #168 (See [ https://builds.apache.org/job/Cocoon-trunk/168/ ])     [ COCOON3-96 ] Restoring pristine cocoon-pipeline modifications and delegating internal-only attribute management to PipelineNode (Revision 1309265)      Result = SUCCESS ilgrosso : http://svn.apache.org/viewvc/?view=rev&rev=1309265 Files : * /cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/AbstractPipeline.java * /cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/Pipeline.java * /cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/Invocation.java * /cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/InvocationImpl.java * /cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/node/PipelineNode.java
        Hide
        Francesco Chicchiriccò added a comment -
        Sorry Simone, I did not realize that there was a way to keep all modifications inside cocoon-sitemap only.
        Now things should be fixed.
        Show
        Francesco Chicchiriccò added a comment - Sorry Simone, I did not realize that there was a way to keep all modifications inside cocoon-sitemap only. Now things should be fixed.
        Hide
        Francesco Chicchiriccò added a comment -
        Need to avoid unnecessary modifications to cocoon-pipeline.
        Show
        Francesco Chicchiriccò added a comment - Need to avoid unnecessary modifications to cocoon-pipeline.
        Hide
        Simone Tripodi added a comment -
        Hi Grosso!

        well done and thanks for taking care! just a request: can we move the {{isInternalOnly}} detail outside the Pipeline APIs? I mean, that is a method needed in the sitemap, while Pipeline APis have to be work as a library also outside Cocoon, it doesn't make a lot of sense to users - like me (blush) - that are focused on the lower level library only.

        How those kind of users should interpret it, outside the Cocoon "product"?

        TIA
        -Simo
        Show
        Simone Tripodi added a comment - Hi Grosso! well done and thanks for taking care! just a request: can we move the {{isInternalOnly}} detail outside the Pipeline APIs? I mean, that is a method needed in the sitemap, while Pipeline APis have to be work as a library also outside Cocoon, it doesn't make a lot of sense to users - like me (blush) - that are focused on the lower level library only. How those kind of users should interpret it, outside the Cocoon "product"? TIA -Simo
        Hide
        Hudson added a comment -
        Integrated in Cocoon-trunk #166 (See [https://builds.apache.org/job/Cocoon-trunk/166/])
            [COCOON3-96] Sitemap extended for handling internal-only pipelines; samples updated (Revision 1308984)

             Result = SUCCESS
        ilgrosso : http://svn.apache.org/viewvc/?view=rev&rev=1308984
        Files :
        * /cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/AbstractPipeline.java
        * /cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/Pipeline.java
        * /cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/overview.html
        * /cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/sitemap.xmap
        * /cocoon/cocoon3/trunk/cocoon-sitemap/pom.xml
        * /cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/InvocationImpl.java
        * /cocoon/cocoon3/trunk/cocoon-sitemap/src/main/resources/cocoon-sitemap-1.0.xsd
        Show
        Hudson added a comment - Integrated in Cocoon-trunk #166 (See [ https://builds.apache.org/job/Cocoon-trunk/166/ ])     [ COCOON3-96 ] Sitemap extended for handling internal-only pipelines; samples updated (Revision 1308984)      Result = SUCCESS ilgrosso : http://svn.apache.org/viewvc/?view=rev&rev=1308984 Files : * /cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/AbstractPipeline.java * /cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/Pipeline.java * /cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/overview.html * /cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/sitemap.xmap * /cocoon/cocoon3/trunk/cocoon-sitemap/pom.xml * /cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/InvocationImpl.java * /cocoon/cocoon3/trunk/cocoon-sitemap/src/main/resources/cocoon-sitemap-1.0.xsd

          People

          • Assignee:
            Francesco Chicchiriccò
            Reporter:
            Francesco Chicchiriccò
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development