Layer7 API Management

 View Only
  • 1.  graphman delete folders

    Posted Aug 13, 2024 06:01 AM

    Dear Team, 
    my customer is looking for a capability to delete a complete folder with all its content, including the folder structure.
    As well, as he would like to be able to restore everything if necessary.

    I am aware that we could delete the content by a folder export/import.
    But this would not delete the folder tree itself, just the content
    I am aware that we can delete a single empty folder by a folderByPath export/import

    foldersByPath would export the complete tree of folder entities, but importing it for deletion will fail due to the order of entities
    Is there a convinient way to achieve the above requirement ?

    I am also wondering that the folder entity itself is not part of an "all" export. 
    What is the reason for this? If I would add this to the "all" query, what side effects do I have to be aware of?

    Thanks in advance
    ...Michael



  • 2.  RE: graphman delete folders

    Broadcom Employee
    Posted Aug 14, 2024 03:12 PM

    Hello Michael,

    I've added a Graphman enhancement(s) to the gateway backlog to support deleting folders and all of their contents. I've included support for optionally removing parent folders that would be empty after deleting a service or policy.

    We've otherwise avoided treating folders as entities onto themselves. Rather, we treated them as metadata of services and policies, and folders are created when services or policies are created or updated with them as their location. Other than their name, folders do not have properties of their own.

    Regards,



    ------------------------------
    Ben Urbanski
    Product Manager, API Gateway
    Layer7 API Management
    ------------------------------



  • 3.  RE: graphman delete folders

    Posted Aug 15, 2024 02:44 AM

    Hi Ben.

    Thanks a lot for this activity. Very much appreciated !

    I was somehow thinking the same in regard to folder entities.

    Regards

    ...Michael