fabric-testbed / fabric_credmgr_client Goto Github PK
View Code? Open in Web Editor NEWFabric Credential Manager Client
License: MIT License
Fabric Credential Manager Client
License: MIT License
setup.py
has been deprecated.
https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
Update the packaging to use pyproject.toml
instead using flit
Refresh API - download tokens to a file
Atomic writes when saving tokens to a file
Trying fabric-cli tokens clear-cache
command resulted in the error message below:
Traceback (most recent call last):
File "/home/sajith/projects/fabric-testbed/fabric-cli/venv/bin/fabric-cli", line 33, in <module>
sys.exit(load_entry_point('fabrictestbed', 'console_scripts', 'fabric-cli')())
File "/home/sajith/projects/fabric-testbed/fabric-cli/venv/lib64/python3.9/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "/home/sajith/projects/fabric-testbed/fabric-cli/venv/lib64/python3.9/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/home/sajith/projects/fabric-testbed/fabric-cli/venv/lib64/python3.9/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/sajith/projects/fabric-testbed/fabric-cli/venv/lib64/python3.9/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/sajith/projects/fabric-testbed/fabric-cli/venv/lib64/python3.9/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/sajith/projects/fabric-testbed/fabric-cli/venv/lib64/python3.9/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/home/sajith/projects/fabric-testbed/fabric-cli/venv/lib64/python3.9/site-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/sajith/projects/fabric-testbed/fabric-cli/fabrictestbed/cli/cli.py", line 110, in clear_cache
status, error_str = slice_manager.clear_token_cache(file_name=tokenlocation)
File "/home/sajith/projects/fabric-testbed/fabric-cli/fabrictestbed/slice_manager/slice_manager.py", line 190, in clear_token_cache
raise SliceManagerException(f"Failed to clear token cache: {exception}")
fabrictestbed.slice_manager.slice_manager.SliceManagerException: Failed to clear token cache: 'CredmgrProxy' object has no attribute 'file_name'
Api Client throws exception when cleaning connection pools. This is swagger generated code.
For now adding a hack to ignore this exception. Will pick up a fix from swagger once available.
Exception ignored in: <function ApiClient.__del__ at 0x7f03d0c1dee0>
Traceback (most recent call last):
File "./venv/lib/python3.11/site-packages/fabric_cf/orchestrator/swagger_client/api_client.py", line 78, in __del__
self.pool.close()
File "/usr/lib/python3.11/multiprocessing/pool.py", line 652, in close
self._change_notifier.put(None)
File "/usr/lib/python3.11/multiprocessing/queues.py", line 377, in put
self._writer.send_bytes(obj)
File "/usr/lib/python3.11/multiprocessing/connection.py", line 199, in send_bytes
self._send_bytes(m[offset:offset + size])
File "/usr/lib/python3.11/multiprocessing/connection.py", line 410, in _send_bytes
self._send(header + buf)
File "/usr/lib/python3.11/multiprocessing/connection.py", line 367, in _send
n = write(self._handle, buf)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.