Menu

#85 zOGI API has no put_route

0.49
closed
Protocol
Enhancement
2016-07-14
2012-11-21
No

The zOGI API, at least in the default branch, has not put_route method. So routes cannot be created or updated via zOGI.
Not that things like object properties and security descriptors on routes can be updated since objectProperty and acl entities can be putObject'd independently. Snurtle manipulates existing routes in this way.

Related

Tickets: #76

Discussion

  • Adam Tauno Williams

    • status: open --> accepted
    • assigned_to: Adam Tauno Williams
     
  • Adam Tauno Williams

    Routes can be created, but at least _ACCESS is not saved.
    r4339 (1ce698b0464d)

    from coils.core import *
    from coils.net.zogi import ZOGIAPI
    initialize_COILS()
    ctx = AdministrativeContext()
    api = ZOGIAPI(ctx)
    payload = { 'entityName': 
                'Route', 'name': 'myZOGIRoute3',
                '_ACCESS': [ { 'targetObjectId': 1149760, 'operations': 'rwa' } ]}
    e = api.put_route(payload, [])
    
     
  • Adam Tauno Williams

    • status: accepted --> closed
     
  • Adam Tauno Williams

    implemented in r4342 (72d4f798a75f)

     
  • Adam Tauno Williams

    • Layer: --> Protocol
    • Type: --> Enhancement
     

Log in to post a comment.

MongoDB Logo MongoDB