Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-20399

Implement host+uri using compound siteaccess matcher

    Details

    • Story Points:
      2

      Description

      Implement a compound siteaccess matcher. This would make host+uri work again and open to new combinations.

        Activity

        Jérôme Vieilledent (Inactive) created issue -
        André Rømcke made changes -
        Field Original Value New Value
        Status Open [ 1 ] Backlog [ 10000 ]
        André Rømcke made changes -
        Fix Version/s Engineering tracked issues [ 11179 ]
        André Rømcke made changes -
        Rank Ranked higher
        André Rømcke made changes -
        Rank Ranked lower
        André Rømcke made changes -
        Epic Link PM-69 [ 32100 ]
        André Rømcke made changes -
        Remaining Estimate 1 day, 4 hours [ 43200 ]
        André Rømcke made changes -
        Original Estimate 1 day, 4 hours [ 43200 ]
        André Rømcke made changes -
        Story Points 2
        André Rømcke made changes -
        Sprint Stetind Sprint 5 [ 6 ]
        Jérôme Vieilledent (Inactive) made changes -
        Status Backlog [ 10000 ] Development [ 3 ]
        Assignee Jerome Vieilledent [ jerome.vieilledent@ez.no ]
        Jérôme Vieilledent (Inactive) made changes -
        Remaining Estimate 1 day, 4 hours [ 43200 ] 1 day [ 28800 ]
        Time Spent 4 hours [ 14400 ]
        Worklog Id 28074 [ 28074 ]
        Jérôme Vieilledent (Inactive) logged work - 06/Feb/13 10:13 PM
        • Time Spent:
          4 hours
           

          .

        Jérôme Vieilledent (Inactive) made changes -
        Remaining Estimate 1 day [ 28800 ] 4 hours [ 14400 ]
        Time Spent 4 hours [ 14400 ] 1 day [ 28800 ]
        Worklog Id 28512 [ 28512 ]
        Jérôme Vieilledent (Inactive) made changes -
        Remaining Estimate 4 hours [ 14400 ] 3 hours, 30 minutes [ 12600 ]
        Time Spent 1 day [ 28800 ] 1 day, 30 minutes [ 30600 ]
        Worklog Id 28512 [ 28512 ]
        Jérôme Vieilledent (Inactive) logged work - 07/Feb/13 6:48 PM - edited
        • Time Spent:
          4 hours, 30 minutes
           

          .

        Jérôme Vieilledent (Inactive) logged work - 08/Feb/13 4:55 PM - edited
        Show
        Jérôme Vieilledent (Inactive) added a comment - https://github.com/ezsystems/ezp-next/pull/223
        Jérôme Vieilledent (Inactive) made changes -
        Remaining Estimate 3 hours, 30 minutes [ 12600 ] 3 hours, 24 minutes [ 12240 ]
        Time Spent 1 day, 30 minutes [ 30600 ] 1 day, 36 minutes [ 30960 ]
        Worklog Id 28716 [ 28716 ]
        Jérôme Vieilledent (Inactive) made changes -
        Status Development [ 3 ] Devlopment done [ 5 ]
        Jérôme Vieilledent (Inactive) made changes -
        Remaining Estimate 3 hours, 24 minutes [ 12240 ] 0 minutes [ 0 ]
        Time Spent 1 day, 36 minutes [ 30960 ] 1 day, 6 hours, 30 minutes [ 52200 ]
        Worklog Id 28716 [ 28716 ]
        Jérôme Vieilledent (Inactive) made changes -
        Status Devlopment done [ 5 ] Development review [ 10006 ]
        Patrick Allaert (Inactive) made changes -
        Time Spent 1 day, 6 hours, 30 minutes [ 52200 ] 1 day, 6 hours, 50 minutes [ 53400 ]
        Worklog Id 28805 [ 28805 ]
        Show
        Jérôme Vieilledent (Inactive) added a comment - Implemented in master : https://github.com/ezsystems/ezp-next/commit/82a59b97ba967088d673b0ed731977ea6e2dba23
        Jérôme Vieilledent (Inactive) made changes -
        Status Development review [ 10006 ] Development Review done [ 10028 ]
        Jérôme Vieilledent (Inactive) made changes -
        Status Development Review done [ 10028 ] Development Acceptance Done [ 10030 ]
        Patrick Allaert (Inactive) logged work - 11/Feb/13 12:05 PM
        • Time Spent:
          20 minutes
           

          Reviewing PR

        Ricardo Correia (Inactive) made changes -
        Status Development Acceptance Done [ 10030 ] Documentation [ 10010 ]
        Assignee Jerome Vieilledent [ jerome.vieilledent@ez.no ] Ricardo Correia [ ricardo.correia@ez.no ]
        Ricardo Correia (Inactive) made changes -
        Time Spent 1 day, 6 hours, 50 minutes [ 53400 ] 1 day, 6 hours, 50 minutes [ 53406 ]
        Worklog Id 29453 [ 29453 ]
        Ricardo Correia (Inactive) made changes -
        Status Documentation [ 10010 ] Documentation done [ 10011 ]
        André Rømcke made changes -
        Summary Implement compound siteaccess matcher Implement host+uri using compound siteaccess matcher
        André Rømcke made changes -
        Affects Version/s 5.0 [ 10300 ]
        Affects Version/s Known Issues 5.x Stack [ 11285 ]
        Joao Pingo (Inactive) logged work - 21/Feb/13 9:49 AM - edited
        • Time Spent:
          1 hour
           

          testing

        Joao Pingo (Inactive) made changes -
        Status Documentation done [ 10011 ] QA [ 10008 ]
        Assignee Ricardo Correia [ ricardo.correia@ez.no ] Joao Pingo [ joao.pingo@ez.no ]
        Hide
        Joao Pingo (Inactive) added a comment - - edited

        This needs documentation since this is a new feature for ezp5, and configuration is quite different from ezp4.x

        Show
        Joao Pingo (Inactive) added a comment - - edited This needs documentation since this is a new feature for ezp5, and configuration is quite different from ezp4.x
        Joao Pingo (Inactive) made changes -
        Status QA [ 10008 ] Development Acceptance Done [ 10030 ]
        Ricardo Correia (Inactive) made changes -
        Status Development Acceptance Done [ 10030 ] Documentation [ 10010 ]
        Assignee Joao Pingo [ joao.pingo@ez.no ] Ricardo Correia [ ricardo.correia@ez.no ]
        Ricardo Correia (Inactive) made changes -
        Time Spent 1 day, 6 hours, 50 minutes [ 53406 ] 2 days, 50 minutes [ 60606 ]
        Worklog Id 29627 [ 29627 ]
        Ricardo Correia (Inactive) made changes -
        Status Documentation [ 10010 ] Documentation done [ 10011 ]
        Hide
        Ricardo Correia (Inactive) added a comment -

        The following document has been updated:
        https://confluence.ez.no/display/EZP/Siteaccess+Matching

        Show
        Ricardo Correia (Inactive) added a comment - The following document has been updated: https://confluence.ez.no/display/EZP/Siteaccess+Matching
        Ricardo Correia (Inactive) made changes -
        Component/s Documentation [ 10793 ]
        Ricardo Correia (Inactive) made changes -
        Component/s Documentation [ 10793 ]
        Ricardo Correia (Inactive) made changes -
        Labels siteaccess documentation siteaccess
        Ricardo Correia (Inactive) made changes -
        Labels documentation siteaccess siteaccess
        Ricardo Correia (Inactive) made changes -
        Component/s Documentation [ 10793 ]
        Joao Pingo (Inactive) logged work - 22/Feb/13 1:00 AM - edited
        • Time Spent:
          3 hours
           

          Testing

        Joao Pingo (Inactive) made changes -
        Status Documentation done [ 10011 ] QA [ 10008 ]
        Assignee Ricardo Correia [ ricardo.correia@ez.no ] Joao Pingo [ joao.pingo@ez.no ]
        Paulo Nunes (Inactive) made changes -
        Rank Ranked lower
        Hide
        Joao Pingo (Inactive) added a comment - - edited

        @Jerome
        I'm having a doubt in the configuration for this settings... following your example all works fine ... but if try to do 2 or more match's i only get the last one

        match:
            Map\URI:
                ezflow_site: ezflow_site
                ezflow_site_admin: ezflow_site_admin
                eng: eng
            #  Map\Host:
            #      admin.ezp5.jp.cleverti.qa.ezpublish.no: ezflow_site_admin
            Compound\LogicalAnd:
                matchers:
                    Map\URI:
                       front: true
                    Map\Host:
                       admin.ezp5.jp.cleverti.qa.ezpublish.no: true
                match: ezflow_site
                matchers:
                    Map\URI:
                       admin: true
                    Map\Host:
                       admin.ezp5.jp.cleverti.qa.ezpublish.no: true
                match: ezflow_site_admin
        
        

        If i try in browser admin.ezp5.jp.cleverti.qa.ezpublish.no/front i'll get module not found
        admin.ezp5.jp.cleverti.qa.ezpublish.no/admin open admin interface correctly

        If i change the order i'll get /front working and /admin will give module not found

        Show
        Joao Pingo (Inactive) added a comment - - edited @Jerome I'm having a doubt in the configuration for this settings... following your example all works fine ... but if try to do 2 or more match's i only get the last one match: Map\URI: ezflow_site: ezflow_site ezflow_site_admin: ezflow_site_admin eng: eng # Map\Host: # admin.ezp5.jp.cleverti.qa.ezpublish.no: ezflow_site_admin Compound\LogicalAnd: matchers: Map\URI: front: true Map\Host: admin.ezp5.jp.cleverti.qa.ezpublish.no: true match: ezflow_site matchers: Map\URI: admin: true Map\Host: admin.ezp5.jp.cleverti.qa.ezpublish.no: true match: ezflow_site_admin If i try in browser admin.ezp5.jp.cleverti.qa.ezpublish.no/front i'll get module not found admin.ezp5.jp.cleverti.qa.ezpublish.no/admin open admin interface correctly If i change the order i'll get /front working and /admin will give module not found
        Hide
        Joao Pingo (Inactive) added a comment - - edited

        Added Complete ezpublish.yml file for my configuration

        Show
        Joao Pingo (Inactive) added a comment - - edited Added Complete ezpublish.yml file for my configuration
        Joao Pingo (Inactive) made changes -
        Attachment ezpublish.yml [ 15012 ]
        Joao Pingo (Inactive) made changes -
        Time Spent 2 days, 50 minutes [ 60606 ] 2 days, 1 hour, 50 minutes [ 64206 ]
        Worklog Id 29708 [ 29708 ]
        Joao Pingo (Inactive) made changes -
        Worklog Id 29708 [ 29708 ]
        Joao Pingo (Inactive) made changes -
        Time Spent 2 days, 1 hour, 50 minutes [ 64206 ] 2 days, 5 hours, 50 minutes [ 78606 ]
        Worklog Id 29713 [ 29713 ]
        Joao Pingo (Inactive) made changes -
        Remaining Estimate 0 minutes [ 0 ] 1 hour [ 3600 ]
        Time Spent 2 days, 5 hours, 50 minutes [ 78606 ] 2 days, 4 hours, 50 minutes [ 75006 ]
        Worklog Id 29713 [ 29713 ]
        Joao Pingo (Inactive) logged work - 28/Feb/13 1:00 AM
        • Time Spent:
          2 hours
           

          Testing

        Hide
        Jérôme Vieilledent (Inactive) added a comment - - edited

        Joao Pingo: Your configuration is wrong. You have 2 matchers and match entries in Compound\LogicalAnd. If you want to set up multiple combination, then add several Compound\LogicalAnd sections.

        Show
        Jérôme Vieilledent (Inactive) added a comment - - edited Joao Pingo : Your configuration is wrong. You have 2 matchers and match entries in Compound\LogicalAnd . If you want to set up multiple combination, then add several Compound\LogicalAnd sections.
        Jérôme Vieilledent (Inactive) made changes -
        Remaining Estimate 1 hour [ 3600 ] 30 minutes [ 1800 ]
        Time Spent 2 days, 4 hours, 50 minutes [ 75006 ] 2 days, 5 hours, 20 minutes [ 76806 ]
        Worklog Id 29952 [ 29952 ]
        Jérôme Vieilledent (Inactive) logged work - 28/Feb/13 7:16 PM
        • Time Spent:
          30 minutes
           

          Help QA

        Joao Pingo (Inactive) made changes -
        Remaining Estimate 30 minutes [ 1800 ] 0 minutes [ 0 ]
        Time Spent 2 days, 5 hours, 20 minutes [ 76806 ] 2 days, 7 hours, 20 minutes [ 84006 ]
        Worklog Id 29962 [ 29962 ]
        Hide
        Joao Pingo (Inactive) added a comment -

        @Jerome
        I've tried with new settings and the same issue is present (only last matcher works)
        Tried this in ezflow and ezdemo
        ezflow yml file -> https://gist.github.com/jpingo/ea130efca925c7c1700a
        ezdemo yml file -> https://gist.github.com/jpingo/f748617f98f241c6ed77

        Show
        Joao Pingo (Inactive) added a comment - @Jerome I've tried with new settings and the same issue is present (only last matcher works) Tried this in ezflow and ezdemo ezflow yml file -> https://gist.github.com/jpingo/ea130efca925c7c1700a ezdemo yml file -> https://gist.github.com/jpingo/f748617f98f241c6ed77
        Joao Pingo (Inactive) made changes -
        Status QA [ 10008 ] Specification done [ 10003 ]
        Assignee Joao Pingo [ joao.pingo@ez.no ]
        Joao Pingo (Inactive) logged work - 01/Mar/13 6:02 PM
        • Time Spent:
          2 hours
           

          testing

        Joao Pingo (Inactive) made changes -
        Time Spent 2 days, 7 hours, 20 minutes [ 84006 ] 3 days, 1 hour, 20 minutes [ 91206 ]
        Worklog Id 29985 [ 29985 ]
        André Rømcke made changes -
        Status Specification done [ 10003 ] Development [ 3 ]
        Assignee André Rømcke [ andre.romcke@ez.no ]
        André Rømcke made changes -
        Status Development [ 3 ] InputQ [ 10001 ]
        Assignee André Rømcke [ andre.romcke@ez.no ]
        Jérôme Vieilledent (Inactive) made changes -
        Fix Version/s QA tracked issues [ 11072 ]
        Hide
        Jérôme Vieilledent (Inactive) added a comment -

        Joao Pingo: OK got it. It's just that you set Compound\LogicalAnd twice, hence the key is overridden and only the last one is kept.
        I'll have to change the behavior a bit to make this work correctly.

        Show
        Jérôme Vieilledent (Inactive) added a comment - Joao Pingo : OK got it. It's just that you set Compound\LogicalAnd twice, hence the key is overridden and only the last one is kept. I'll have to change the behavior a bit to make this work correctly.
        Jérôme Vieilledent (Inactive) made changes -
        Status InputQ [ 10001 ] Development [ 3 ]
        Assignee Jerome Vieilledent [ jerome.vieilledent@ez.no ]
        Hide
        Jérôme Vieilledent (Inactive) added a comment -
        Show
        Jérôme Vieilledent (Inactive) added a comment - Pull request to fix the issue : https://github.com/ezsystems/ezpublish-kernel/pull/281
        Jérôme Vieilledent (Inactive) logged work - 29/Mar/13 10:30 PM
        • Time Spent:
          6 hours
           
          <No comment>
        Jérôme Vieilledent (Inactive) made changes -
        Time Spent 3 days, 1 hour, 20 minutes [ 91206 ] 3 days, 7 hours, 20 minutes [ 112806 ]
        Worklog Id 31504 [ 31504 ]
        Jérôme Vieilledent (Inactive) made changes -
        Status Development [ 3 ] Devlopment done [ 5 ]
        Hide
        Eduardo Fernandes (Inactive) added a comment - - edited

        It's necessary to update the Siteaccess Matching documentation page to reflect the correct Map\Host way

                match:
                    Map\Host:
                      500.site.com: site
                      alias.site.com: alias
        

        Show
        Eduardo Fernandes (Inactive) added a comment - - edited It's necessary to update the Siteaccess Matching documentation page to reflect the correct Map\Host way match: Map\Host: 500.site.com: site alias.site.com: alias
        Hide
        Jérôme Vieilledent (Inactive) added a comment -

        Of course it is ! It will be done only once the PR is merged.

        Show
        Jérôme Vieilledent (Inactive) added a comment - Of course it is ! It will be done only once the PR is merged.
        Show
        Jérôme Vieilledent (Inactive) added a comment - Fixed in master : https://github.com/ezsystems/ezpublish-kernel/commit/ecc650ca3086f68f0432c2ee6b239d6cb9058c6e
        Jérôme Vieilledent (Inactive) made changes -
        Status Devlopment done [ 5 ] Development Acceptance Done [ 10030 ]
        Jérôme Vieilledent (Inactive) logged work - 02/Apr/13 5:22 PM - edited
        • Time Spent:
          7 hours
           

          .

        Hide
        Jérôme Vieilledent (Inactive) added a comment -

        .

        Show
        Jérôme Vieilledent (Inactive) added a comment - .
        Jérôme Vieilledent (Inactive) made changes -
        Time Spent 3 days, 7 hours, 20 minutes [ 112806 ] 3 days, 7 hours, 28 minutes [ 113286 ]
        Worklog Id 31648 [ 31648 ]
        Jérôme Vieilledent (Inactive) made changes -
        Status Development Acceptance Done [ 10030 ] Documentation done [ 10011 ]
        Jérôme Vieilledent (Inactive) made changes -
        Time Spent 3 days, 7 hours, 28 minutes [ 113286 ] 4 days, 6 hours, 20 minutes [ 138006 ]
        Worklog Id 31648 [ 31648 ]
        Joao Pingo (Inactive) made changes -
        Status Documentation done [ 10011 ] QA [ 10008 ]
        Assignee Jerome Vieilledent [ jerome.vieilledent@ez.no ] Joao Pingo [ joao.pingo@ez.no ]
        Hide
        Joao Pingo (Inactive) added a comment -

        Map\Host settings are not documented yet (on the doc we only have MAP/Uri and the compound matcher examples )

        Show
        Joao Pingo (Inactive) added a comment - Map\Host settings are not documented yet (on the doc we only have MAP/Uri and the compound matcher examples )
        Joao Pingo (Inactive) made changes -
        Status QA [ 10008 ] Development Acceptance Done [ 10030 ]
        Ricardo Correia (Inactive) logged work - 03/Apr/13 12:37 PM
        • Time Spent:
          1 hour
           

          The Map\Host configuration has been updated.

        Ricardo Correia (Inactive) made changes -
        Status Development Acceptance Done [ 10030 ] Documentation [ 10010 ]
        Assignee Joao Pingo [ joao.pingo@ez.no ] Ricardo Correia [ ricardo.correia@ez.no ]
        Hide
        Ricardo Correia (Inactive) added a comment -

        The Map\Host configuration has been updated.

        Show
        Ricardo Correia (Inactive) added a comment - The Map\Host configuration has been updated.
        Ricardo Correia (Inactive) made changes -
        Time Spent 4 days, 6 hours, 20 minutes [ 138006 ] 4 days, 7 hours, 20 minutes [ 141606 ]
        Worklog Id 31667 [ 31667 ]
        Ricardo Correia (Inactive) made changes -
        Status Documentation [ 10010 ] Documentation done [ 10011 ]
        Joao Pingo (Inactive) made changes -
        Status Documentation done [ 10011 ] QA [ 10008 ]
        Assignee Ricardo Correia [ ricardo.correia@ez.no ] Joao Pingo [ joao.pingo@ez.no ]
        Hide
        Joao Pingo (Inactive) added a comment -

        Tested on master using tc-396
        Tests passed ... approved by QA

        Show
        Joao Pingo (Inactive) added a comment - Tested on master using tc-396 Tests passed ... approved by QA
        Joao Pingo (Inactive) made changes -
        Status QA [ 10008 ] QA done [ 10007 ]
        Joao Pingo (Inactive) made changes -
        Time Spent 4 days, 7 hours, 20 minutes [ 141606 ] 1 week, 1 hour, 20 minutes [ 148806 ]
        Worklog Id 31674 [ 31674 ]
        Joao Pingo (Inactive) logged work - 03/Apr/13 4:08 PM
        • Time Spent:
          2 hours
           

          Tested and closed

        Hide
        Jérôme Vieilledent (Inactive) added a comment -

        Documentation on siteaccess matching is now fully up-to-date

        Show
        Jérôme Vieilledent (Inactive) added a comment - Documentation on siteaccess matching is now fully up-to-date
        Jérôme Vieilledent (Inactive) made changes -
        Time Spent 1 week, 1 hour, 20 minutes [ 148806 ] 1 week, 1 day, 1 hour, 20 minutes [ 177606 ]
        Worklog Id 31683 [ 31683 ]
        Jérôme Vieilledent (Inactive) logged work - 03/Apr/13 7:25 PM
        • Time Spent:
          1 day
           

          .

        André Rømcke made changes -
        Assignee Joao Pingo [ joao.pingo@ez.no ]
        Status QA done [ 10007 ] Closed [ 6 ]
        Fix Version/s 5.1 [ 11280 ]
        Resolution Fixed [ 1 ]
        André Rømcke made changes -
        Workflow eZ Engineering Scrumban Workflow [ 51815 ] EZ* Development Workflow [ 83493 ]
        Alex Schuster made changes -
        Workflow EZ* Development Workflow [ 83493 ] EZEE Development Workflow [ 122094 ]
        Alex Schuster made changes -
        Workflow EZEE Development Workflow [ 122094 ] EZEE and EZP Story Workflow [ 127460 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Backlog Backlog
        53s 1 André Rømcke 31/Jan/13 10:37 AM
        Backlog Backlog Development Development
        6d 5h 23m 1 jerome.vieilledent@ez.no 06/Feb/13 4:00 PM
        Development Done Development Done Development Review Development Review
        39s 1 jerome.vieilledent@ez.no 08/Feb/13 4:56 PM
        Development Review Development Review Development Review done Development Review done
        2d 18h 20m 1 jerome.vieilledent@ez.no 11/Feb/13 11:17 AM
        Development Review done Development Review done Removed Status Removed Status
        6s 1 jerome.vieilledent@ez.no 11/Feb/13 11:17 AM
        QA QA Specification Done Specification Done
        7d 2h 2m 1 Joao Pingo (Inactive) 01/Mar/13 11:35 AM
        Specification Done Specification Done Development Development
        4d 5h 55m 1 André Rømcke 05/Mar/13 5:30 PM
        Development Development InputQ InputQ
        5s 1 André Rømcke 05/Mar/13 5:30 PM
        InputQ InputQ Development Development
        23d 23h 37m 1 jerome.vieilledent@ez.no 29/Mar/13 5:07 PM
        Development Development Development Done Development Done
        2d 6h 16m 2 jerome.vieilledent@ez.no 29/Mar/13 10:30 PM
        Development Done Development Done Removed Status Removed Status
        3d 17h 20m 1 jerome.vieilledent@ez.no 02/Apr/13 4:50 PM
        Removed Status Removed Status Documentation Review done Documentation Review done
        31m 42s 1 jerome.vieilledent@ez.no 02/Apr/13 5:22 PM
        QA QA Removed Status Removed Status
        1h 2 Joao Pingo (Inactive) 03/Apr/13 12:24 PM
        Removed Status Removed Status Documentation Documentation
        8d 23h 6m 3 ricardo.correia@ez.no 03/Apr/13 12:37 PM
        Documentation Documentation Documentation Review done Documentation Review done
        45m 46s 3 ricardo.correia@ez.no 03/Apr/13 12:38 PM
        Documentation Review done Documentation Review done QA QA
        2d 19h 7m 4 Joao Pingo (Inactive) 03/Apr/13 3:06 PM
        QA QA QA Done QA Done
        42s 1 Joao Pingo (Inactive) 03/Apr/13 3:07 PM
        QA Done QA Done Closed Closed
        1d 23h 53m 1 André Rømcke 05/Apr/13 3:00 PM

          People

          • Assignee:
            Unassigned
            Reporter:
            Jérôme Vieilledent (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 1 day, 4 hours Original Estimate - 1 day, 4 hours
              1d 4h
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 week, 1 day, 1 hour, 20 minutes
              1w 1d 1h 20m

                Agile