コード例 #1
0
ファイル: secrets.py プロジェクト: bopopescu/OpenStack-Ocata
 def payload_content_encoding(self, value):
     LOG.warning(
         _LW('DEPRECATION WARNING: Manually setting the '
             'payload_content_encoding can lead to unexpected '
             'results.  It will be removed in a future release. '
             'See Launchpad Bug #1419166.'))
     self._payload_content_encoding = value
コード例 #2
0
def main(argv=sys.argv[1:]):
    logging.basicConfig()
    LOG.warning(_LW("This Barbican CLI interface has been deprecated and "
                    "will be removed in the O release. Please use the "
                    "openstack unified client instead."))
    barbican_app = Barbican()
    return barbican_app.run(argv)
コード例 #3
0
def main(argv=sys.argv[1:]):
    logging.basicConfig()
    LOG.warning(
        _LW("This Barbican CLI interface has been deprecated and "
            "will be removed in the O release. Please use the "
            "openstack unified client instead."))
    barbican_app = Barbican()
    return barbican_app.run(argv)
コード例 #4
0
 def payload(self):
     """Lazy-loaded property that holds the unencrypted data"""
     if self._payload is None and self.secret_ref is not None:
         try:
             self._fetch_payload()
         except ValueError:
             LOG.warning(_LW("Secret does not contain a payload"))
             return None
     return self._payload