You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2012/06/15 23:34:42 UTC

[jira] [Created] (FELIX-3557) Tests for DS circular dependency behavior

David Jencks created FELIX-3557:
-----------------------------------

             Summary: Tests for DS circular dependency behavior
                 Key: FELIX-3557
                 URL: https://issues.apache.org/jira/browse/FELIX-3557
             Project: Felix
          Issue Type: Bug
          Components: Declarative Services (SCR)
    Affects Versions:  scr-1.6.0
            Reporter: David Jencks
             Fix For: scr-1.8.0


The DS spec is pretty confused about circular dependencies between DS services.  I wrote some tests to try to make better sense of the situation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (FELIX-3557) Tests for DS circular dependency behavior

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-3557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger closed FELIX-3557.
------------------------------------


Close after release
                
> Tests for DS circular dependency behavior
> -----------------------------------------
>
>                 Key: FELIX-3557
>                 URL: https://issues.apache.org/jira/browse/FELIX-3557
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions:  scr-1.6.0
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: scr-1.6.2
>
>         Attachments: FELIX-3557-add-missing-refs-later.diff, FELIX-3557-circ-dep-later-2.diff
>
>
> The DS spec is pretty confused about circular dependencies between DS services.  I wrote some tests to try to make better sense of the situation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (FELIX-3557) Tests for DS circular dependency behavior

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-3557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Jencks updated FELIX-3557:
--------------------------------

    Attachment: FELIX-3557-add-missing-refs-later.diff

It's not too hard to track missing services and try again when they become available.  Unfortunately you have to try again in a different thread due to anti-circular-service-lookup code in felix core framework.
                
> Tests for DS circular dependency behavior
> -----------------------------------------
>
>                 Key: FELIX-3557
>                 URL: https://issues.apache.org/jira/browse/FELIX-3557
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions:  scr-1.6.0
>            Reporter: David Jencks
>             Fix For: scr-1.8.0
>
>         Attachments: FELIX-3557-add-missing-refs-later.diff
>
>
> The DS spec is pretty confused about circular dependencies between DS services.  I wrote some tests to try to make better sense of the situation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (FELIX-3557) Tests for DS circular dependency behavior

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-3557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger updated FELIX-3557:
-------------------------------------

    Fix Version/s:     (was: scr-1.8.0)
                   scr-1.6.2
    
> Tests for DS circular dependency behavior
> -----------------------------------------
>
>                 Key: FELIX-3557
>                 URL: https://issues.apache.org/jira/browse/FELIX-3557
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions:  scr-1.6.0
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: scr-1.6.2
>
>         Attachments: FELIX-3557-add-missing-refs-later.diff, FELIX-3557-circ-dep-later-2.diff
>
>
> The DS spec is pretty confused about circular dependencies between DS services.  I wrote some tests to try to make better sense of the situation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (FELIX-3557) Tests for DS circular dependency behavior

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-3557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Jencks updated FELIX-3557:
--------------------------------

    Assignee: David Jencks
    
> Tests for DS circular dependency behavior
> -----------------------------------------
>
>                 Key: FELIX-3557
>                 URL: https://issues.apache.org/jira/browse/FELIX-3557
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions:  scr-1.6.0
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: scr-1.8.0
>
>         Attachments: FELIX-3557-add-missing-refs-later.diff
>
>
> The DS spec is pretty confused about circular dependencies between DS services.  I wrote some tests to try to make better sense of the situation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (FELIX-3557) Tests for DS circular dependency behavior

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-3557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Jencks resolved FELIX-3557.
---------------------------------

    Resolution: Fixed

r1398942
compared with patch, added check that the service we are waiting for is actually from scr.
                
> Tests for DS circular dependency behavior
> -----------------------------------------
>
>                 Key: FELIX-3557
>                 URL: https://issues.apache.org/jira/browse/FELIX-3557
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions:  scr-1.6.0
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: scr-1.8.0
>
>         Attachments: FELIX-3557-add-missing-refs-later.diff, FELIX-3557-circ-dep-later-2.diff
>
>
> The DS spec is pretty confused about circular dependencies between DS services.  I wrote some tests to try to make better sense of the situation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (FELIX-3557) Tests for DS circular dependency behavior

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-3557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Jencks updated FELIX-3557:
--------------------------------

    Attachment: FELIX-3557-circ-dep-later-2.diff

Attempt to retry dependencies that could not be obtained originally when they do show up.  This is a proof of concept at this point, we need to at least only track dependencies that are DS components so we will be able to detect when they are available.
                
> Tests for DS circular dependency behavior
> -----------------------------------------
>
>                 Key: FELIX-3557
>                 URL: https://issues.apache.org/jira/browse/FELIX-3557
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions:  scr-1.6.0
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: scr-1.8.0
>
>         Attachments: FELIX-3557-add-missing-refs-later.diff, FELIX-3557-circ-dep-later-2.diff
>
>
> The DS spec is pretty confused about circular dependencies between DS services.  I wrote some tests to try to make better sense of the situation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira