Skip to Main Content
Integration


This is an IBM Automation portal for Integration products. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.


Status Delivered
Workspace API Connect
Created by Guest
Created on Jun 6, 2022

make apic.exe portaladmin work better

The drupal-config:get and drupal-config:set commands are half baked as some work, and some don't.


Apparently apic.exe "drupal-config" is just a wrapper for drush.


If you check https://www.drush.org/latest/commands/config_set/, you can see an example on how to set user.role permissions.


But, probably due to escaping, or some other ingestion of yaml into apic.exe, this particular use case does not work right now.


This works: Get all the permissions:

./apic drupal-config:get --mode portaladmin --server https://api.exxx-ffxxxxxx.ca-tor.apiconnect.cloud.ibm.com --catalog sandbox --org dev --config_name "user.role.anonymous"


This works: Remove all the permissions (through set):

./apic drupal-config:get --mode portaladmin --server https://api.exxx-ffxxxxxx.ca-tor.apiconnect.cloud.ibm.com --catalog sandbox --org dev --config_name user.role.anonymous --config_key permissions --config_value []



This DOES NOT work: Set the individual permissions

(seems YAML is properly escaped/accepted) (ie, I can set a blank value above, but can 't set individually named permissions):

./apic drupal-config:get --mode portaladmin --server https://api.exxx-ffxxxxxx.ca-tor.apiconnect.cloud.ibm.com --catalog sandbox --org dev --config_name user.role.anonymous --input-format=yaml --config_key permissions [foo,bar]



Ask is to check and make drupal-config behave such that it works for setting user.role.anonymous and other items that require a yaml (or json) input.

Idea priority Urgent
  • Admin
    Dan Temkin
    Reply
    |
    Aug 9, 2024

    API Connect has added a wide range of CLI/Platform APIs for administration of the Developer Portal as part of enhancements for v10.0.6, v10.0.7, and rolled up into our latest long term support version v10.0.8.

    https://www.ibm.com/docs/en/api-connect/10.0.8?topic=apis-managing-developer-portal-by-using-toolkit-cli

    If there are still additional enhancement please open up a new request(s) with specific use cases at https://ideas.ibm.com

  • Guest
    Reply
    |
    Jun 6, 2022

    sorry, second 2 examples should be "drupal-config:set" (not get).

    Either way, copy/paste error. The drupal-config:set doesn't work fully.