Skip to content

0.34 - starting to support resources (python objects for DN artifacts)

Latest
Compare
Choose a tag to compare
@barny barny released this 01 Aug 12:53
· 3 commits to master since this release
  • New - first attempt at support for resources - for DN only at the moment. The aim is to simplify accessing and modifying properties of an artifact: you can get a python object for an artifact and access its properties as attributes of the object, e.g. req.Identifier. See dn_resource_test.py. Print the resource to see the modifiable and unmodifiable attributes. If you modify an (modifiable) attribute you can put() the resource to update it in DOORS Next. Modules can be resources but no possibility to modify the structure. You can add (DN->DN) links. You can see and modify the folder a core artifact is in.
  • New query methods (see resource.py) to simplify querying and get resources back.
  • Also fixed smaller bugs like the one introduced by Python 13 accepting quotes inside f-strings, which only showed up if you used Python <13
  • An attribute name can now be used in the oslcquery -s option, like -s "'Child Of'" (Windows) which used to give an error