Page "Proposals/BEP-0003" was changed by olemis
Diff URL: 
<https://issues.apache.org/bloodhound/wiki/Proposals/BEP-0003?action=diff&version=33>
Revision 33
Comment: bep:0003 neighborhoods: tracenv => global , get_supported_realms => 
get_supported_neighborhoods
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: Proposals/BEP-0003
=========================================================================
--- Proposals/BEP-0003 (version: 32)
+++ Proposals/BEP-0003 (version: 33)
@@ -211,7 +211,7 @@
 
 ''Apacheā„¢ Bloodhound'' will expand resources API by introducing the concept of 
''Neighborhoods''. In a few words they are the topmost level of the hierarchy 
representing resources managed by a component manager, thereby identifying the 
later. As such ''resource neighborhoods'' serve to the purpose of specifying 
absolute references to resources hosted beyond the boundaries of a given 
component manager (e.g. ''Trac'' environments , [#product-envs product 
environments], ...) . As a side effect they will be used to load manager 
objects on demand.
 
-'''Resource neighborhoods''' will always be at the top of the resources 
hierarchy . Instances will have a ''realm'' identifying the kind of manager 
(e.g. `tracenv` for ''Trac'' environments, `product` for product environments). 
For example the following resource identifiers will point to 
`attachment:file.txt:ticket:1` resource in local scope, product `P1`, product 
`P2` and global environment, in that order.
+'''Resource neighborhoods''' will always be at the top of the resources 
hierarchy . Instances will have a ''realm'' identifying the kind of manager 
(e.g. `global` for ''Trac'' environment, `product` for product environments). 
For example the following resource identifiers will point to 
`attachment:file.txt:ticket:1` resource in local scope, product `P1`, product 
`P2` and global environment, in that order.
 
 {{{
 
@@ -226,7 +226,7 @@
 +-- Resource('ticket', 1)
   +-- Resource('attachment', 'file.txt')
 
-Neighborhood('tracenv', None)
+Neighborhood('global', None)
 +-- Resource('ticket', 1)
   +-- Resource('attachment', 'file.txt')
 
@@ -243,8 +243,8 @@
 
 class IExternalResourceConnector(Interface):
 
-    def get_supported_realms()
-        """Return supported resource realms.
+    def get_supported_neighborhoods():
+        """Return supported manager neighborhoods.
 
         :rtype: `basestring` generator
         """
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://issues.apache.org/bloodhound/wiki/Proposals/BEP-0003>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker

This is an automated message. Someone added your email address to be
notified of changes on 'Proposals/BEP-0003' page.
If it was not you, please report to .

Reply via email to