JanssenProject / jans

An open source enterprise digital identity platform for CIAM or workforce... Janssen is a distribution of standards-based, developer friendly, components that are engineered to work together in any cloud. #OAuth #OpenID #FIDO
https://docs.jans.io
Apache License 2.0
459 stars 73 forks source link

fix:(jans-cli)(openbanking)unable to fetch script by name #1920

Closed manojs1978 closed 2 years ago

manojs1978 commented 2 years ago

Describe the bug unable to fetch script by name

To Reproduce Steps to reproduce the behavior:

  1. install jans with openbanking profile
  2. access openbanking profile using jans-cli
  3. select 6 for custom scripts then select 1 for get list of custom scripts and copy any script name 4.select 4 to fetch customer scripts and add name of sript copied above.

Expected behavior should able to fetch script details using script name

Screenshots image

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context getting below error in log Traceback (most recent call last): File "/opt/jans/jans-cli/config-cli.py", line 2273, in main cli_object.runApp() File "/opt/jans/jans-cli/config-cli.py", line 2260, in runApp self.display_menu(self.menu) File "/opt/jans/jans-cli/config-cli.py", line 1854, in display_menu self.display_menu(menu.get_child(menu_numbering[int(selection)])) File "/opt/jans/jans-cli/config-cli.py", line 1857, in displaymenu getattr(self, 'process' + m.method)(m) File "/opt/jans/jans-cli/config-cli.py", line 1203, in process_get self.display_menu(endpoint.parent) File "/opt/jans/jans-cli/config-cli.py", line 1857, in displaymenu getattr(self, 'process' + m.method)(m) File "/opt/jans/jans-cli/config-cli.py", line 1134, in process_get api_caller = self.get_api_caller(endpoint) File "/opt/jans/jans-cli/config-cli.py", line 1430, in get_api_caller api_caller = getattr(apiinstance, endpoint.info['operationId'].replace('-', '')) AttributeError: 'CustomScriptsApi' object has no attribute 'get_custom_script_by_name'

devrimyatar commented 2 years ago

Can't replicate. Probably fixed by swagger update

image