-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CKAN_dataset plugin problem in "on_post_product_spec_validation" method #40
Comments
Hi, What kind of digital asset do you want to create?What proxy are you using for securing the services? The CKAN-API-Dataset, is intended to monetize a CKAN dataset which includes at least one NGSI query secured with API Umbrella. In this regard, the plugin is accessing to API Umbrella to check if the NGSI queries exist and are valid. Then it gets the client ID in know what is the IDM application which define the access role (and validate that the role actually exists). |
Hi, |
Hi, If you are not going to use security the easiest way is to just remove the validation for the plugin. For creating an offering you have two options, you can use the bae publisher extension, which creates the product and the offering from the dataset management section in CKAN. If you remove the security you can include whatever you want as acquitision role. |
Hi again,
Thanks!! |
I comment this method and It works. |
Hi again, When I make a get using PostMan to
After in the validate_service method ask for:
But in my response I have not idp_app_id. Thanks a lot. |
Hi, again I have read about disabling some values in api-umbrella-yml file but I ca't start api-umbrella. please someone can help me with this issue? Thanks |
Hi, First of all, external IDP validation is not included in default API Umbrella version, we are using the one located in: https://github.com/apinf/api-umbrella This version allow to configure the external IDP url within api-umbrella.yml and then you will be able to include the app_id of the API settings using the Umbrella GUI |
Good morning,
I am trying to do a Product Specification using as Digital Asset, CKAN Dataset.
For that I have to load CKAN-Dataset plugin. I install the latest one because it has support with IDM 7.
This plugin support Umbrella too but for me it is not necessary.
When I was creating a Product Specification I found an error or an understanding for me ;-) in ckan_dataset.py file in "on_post_product_spec_validation" method.
In this pluging there is a setting.py file where you can put variables like:
AUTH_METHOD = 'idm'
Looking into ckan_dataset.py nobody call to this method,
After in on_post_product_spec_validation method it puts:
And in check_dataset_api(resource['url'], provider.name) method in third line appear reference to umbrella client to get an app_id and the funcion return app_id
If I have not got Umbrella the code returns error.
:
If I haven't got Umbrella where I get the app id?
I thinks so that in def_check_dataset_api should be a call to def _get_api_client(self, url): and depending on that follow.
Please, I have amn European Project review in 22th October and I would like to show all of this working properly.
I have IDM KeyRock v7.01 and Biz 6.4.1 versions.
Someone can help me with this.?
Thanks
Urtza
The text was updated successfully, but these errors were encountered: