)]}'
{"barbicanclient/v1/containers.py":[{"author":{"_account_id":9914,"name":"Ade Lee","email":"alee@redhat.com","username":"alee"},"change_message_id":"5b2e26abe4a72ebe30e02add49d43c499fd936f5","unresolved":false,"context_lines":[{"line_number":211,"context_line":"    def delete(self):"},{"line_number":212,"context_line":"        \"\"\"Delete container from Barbican\"\"\""},{"line_number":213,"context_line":"        if self._container_ref:"},{"line_number":214,"context_line":"            container_uuid \u003d base.validate_ref_and_return_uuid("},{"line_number":215,"context_line":"                self._container_ref, \u0027Container\u0027)"},{"line_number":216,"context_line":"            container_ref \u003d \"{entity}/{uuid}\".format("},{"line_number":217,"context_line":"                entity\u003dself._entity, uuid\u003dcontainer_uuid)"},{"line_number":218,"context_line":"            LOG.info(\"Deleting container from calculated ref: %s\","},{"line_number":219,"context_line":"                     container_ref)"},{"line_number":220,"context_line":"            self._api.delete(container_ref)"}],"source_content_type":"text/x-python","patch_set":4,"id":"3f79a3b5_ae6316b1","line":217,"range":{"start_line":214,"start_character":12,"end_line":217,"end_character":57},"updated":"2018-08-08 21:45:51.000000000","message":"This whole construction of the ref is something that is repeated over and over again.  Its crying for a function in base.  (base.calculate_valid_ref ?)","commit_id":"82e4c54ee05c15bf34325faf654a8132aaa7a8ec"}],"barbicanclient/v1/secrets.py":[{"author":{"_account_id":11628,"name":"Michael Johnson","email":"johnsomor@gmail.com","username":"johnsom"},"change_message_id":"6d3fe8c63b3aad36de2b4596dc1cfda1936b24e9","unresolved":false,"context_lines":[{"line_number":89,"context_line":"                 payload_content_type\u003dNone, payload_content_encoding\u003dNone,"},{"line_number":90,"context_line":"                 secret_ref\u003dNone, created\u003dNone, updated\u003dNone,"},{"line_number":91,"context_line":"                 content_types\u003dNone, status\u003dNone, secret_type\u003dNone,"},{"line_number":92,"context_line":"                 creator_id\u003dNone, federation\u003dTrue):"},{"line_number":93,"context_line":"        \"\"\"Secret objects should not be instantiated directly."},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"        You should use the `create` or `get` methods of the"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_a965a5b2","line":92,"range":{"start_line":92,"start_character":45,"end_line":92,"end_character":49},"updated":"2018-08-02 15:47:50.000000000","message":"Given the number of projects that would have to change to fix this and that \"federation\" we never really implemented, should this default to False?","commit_id":"650654be87344b5de98bb30401e3139038486bde"},{"author":{"_account_id":10273,"name":"Adam Harwell","email":"flux.adam@gmail.com","username":"rm_you"},"change_message_id":"97a046d1845e432ac2fc365a45b4279c73961e15","unresolved":false,"context_lines":[{"line_number":89,"context_line":"                 payload_content_type\u003dNone, payload_content_encoding\u003dNone,"},{"line_number":90,"context_line":"                 secret_ref\u003dNone, created\u003dNone, updated\u003dNone,"},{"line_number":91,"context_line":"                 content_types\u003dNone, status\u003dNone, secret_type\u003dNone,"},{"line_number":92,"context_line":"                 creator_id\u003dNone, federation\u003dTrue):"},{"line_number":93,"context_line":"        \"\"\"Secret objects should not be instantiated directly."},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"        You should use the `create` or `get` methods of the"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_882f7a56","line":92,"range":{"start_line":92,"start_character":45,"end_line":92,"end_character":49},"in_reply_to":"5f7c97a3_a965a5b2","updated":"2018-08-02 21:32:56.000000000","message":"I\u0027m generally not a fan of changing existing behavior for any reason... At least we KNOW which projects need to change... But, if someone from the Barbican team agrees, then I guess we could make \"enabling federation\" require explicitly passing True.","commit_id":"650654be87344b5de98bb30401e3139038486bde"},{"author":{"_account_id":21740,"name":"Xin","email":"zxuuzx@gmail.com","username":"FrankZhang"},"change_message_id":"07994c1aa2306cfdc5cad6f226f83c58f2f5e4c9","unresolved":false,"context_lines":[{"line_number":413,"context_line":"    def _fill_lazy_properties(self):"},{"line_number":414,"context_line":"        if self._secret_ref and not self._name:"},{"line_number":415,"context_line":"            if not self._federation:"},{"line_number":416,"context_line":"                secret_uuid \u003d base.validate_ref(self._secret_ref, \u0027Secret\u0027)"},{"line_number":417,"context_line":"                secret_ref \u003d \"{entity}/{uuid}\".format("},{"line_number":418,"context_line":"                    entity\u003dSecret._entity, uuid\u003dsecret_uuid)"},{"line_number":419,"context_line":"            else:"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_69230d14","line":416,"updated":"2018-08-02 16:00:59.000000000","message":"base.validate_ref seems only give back \u0027True\u0027 or not boolean value rather than the actual UUID.","commit_id":"650654be87344b5de98bb30401e3139038486bde"},{"author":{"_account_id":10273,"name":"Adam Harwell","email":"flux.adam@gmail.com","username":"rm_you"},"change_message_id":"97a046d1845e432ac2fc365a45b4279c73961e15","unresolved":false,"context_lines":[{"line_number":413,"context_line":"    def _fill_lazy_properties(self):"},{"line_number":414,"context_line":"        if self._secret_ref and not self._name:"},{"line_number":415,"context_line":"            if not self._federation:"},{"line_number":416,"context_line":"                secret_uuid \u003d base.validate_ref(self._secret_ref, \u0027Secret\u0027)"},{"line_number":417,"context_line":"                secret_ref \u003d \"{entity}/{uuid}\".format("},{"line_number":418,"context_line":"                    entity\u003dSecret._entity, uuid\u003dsecret_uuid)"},{"line_number":419,"context_line":"            else:"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_68f0defd","line":416,"in_reply_to":"5f7c97a3_69230d14","updated":"2018-08-02 21:32:56.000000000","message":"It was changed in this patch to return the actual validated UUID.","commit_id":"650654be87344b5de98bb30401e3139038486bde"},{"author":{"_account_id":21740,"name":"Xin","email":"zxuuzx@gmail.com","username":"FrankZhang"},"change_message_id":"19e5689ea971fa58d362e40ca5d8aa23bee8e5c5","unresolved":false,"context_lines":[{"line_number":414,"context_line":"        if self._secret_ref and not self._name:"},{"line_number":415,"context_line":"            if not self._federation:"},{"line_number":416,"context_line":"                secret_uuid \u003d base.validate_ref(self._secret_ref, \u0027Secret\u0027)"},{"line_number":417,"context_line":"                secret_ref \u003d \"{entity}/{uuid}\".format("},{"line_number":418,"context_line":"                    entity\u003dSecret._entity, uuid\u003dsecret_uuid)"},{"line_number":419,"context_line":"            else:"},{"line_number":420,"context_line":"                secret_ref \u003d self._secret_ref"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_413945a0","line":417,"range":{"start_line":417,"start_character":16,"end_line":417,"end_character":26},"updated":"2018-08-02 18:29:20.000000000","message":"is secret_ref going to be something like \u0027secrets/UUID-123-456\u0027?","commit_id":"650654be87344b5de98bb30401e3139038486bde"},{"author":{"_account_id":10273,"name":"Adam Harwell","email":"flux.adam@gmail.com","username":"rm_you"},"change_message_id":"97a046d1845e432ac2fc365a45b4279c73961e15","unresolved":false,"context_lines":[{"line_number":414,"context_line":"        if self._secret_ref and not self._name:"},{"line_number":415,"context_line":"            if not self._federation:"},{"line_number":416,"context_line":"                secret_uuid \u003d base.validate_ref(self._secret_ref, \u0027Secret\u0027)"},{"line_number":417,"context_line":"                secret_ref \u003d \"{entity}/{uuid}\".format("},{"line_number":418,"context_line":"                    entity\u003dSecret._entity, uuid\u003dsecret_uuid)"},{"line_number":419,"context_line":"            else:"},{"line_number":420,"context_line":"                secret_ref \u003d self._secret_ref"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_28d2e660","line":417,"range":{"start_line":417,"start_character":16,"end_line":417,"end_character":26},"in_reply_to":"5f7c97a3_413945a0","updated":"2018-08-02 21:32:56.000000000","message":"It will be, yes.\nCurrently, it is a full href like \"https://path-to-barbican/v1/secrets/UUID-123-456\" but by stripping everything up to the secrets/UUID piece, it allows the keystone session to actually retrieve the barbican endpoint for the cloud and use that instead, essentially ignoring everything but the UUID.","commit_id":"650654be87344b5de98bb30401e3139038486bde"}]}
