The MSPro Boomi Collection
About
Boomi Console
Boomi Console
  • Boomi Console
    • What is ...
  • Installation & Setup
    • Download & Install
    • Setup a Workspace
    • Connect your Workspace
    • Test your Workspace
  • Commands
    • COMP - Components
      • GET
      • DOC
    • PACK - Packaged Components
      • PACK GET
      • PACK DOC
    • DEPLOY - Deployments
      • GET - Deployments and Packages
      • EXEC - Deploy components
        • Deployment from Repos
        • Promotion to Env
      • DELETE - Undeploy Components
    • WORKSPACE CONNECT
    • ACCOUNT INFO
    • Arguments
      • Common Arguments
        • The Set Argument in Detail
        • Query Filter
          • Start date or time span
        • Arguments in a file
        • Allow Multi
        • Component Resolution
      • COMP Arguments
        • COMP GET Arguments
        • COMP DOC Arguments
      • PACK Arguments
      • DEPLOY Arguments
        • DEPLOY GET Arguments
        • DEPLOY EXEC Arguments
        • DEPLOY DELETE Arguments
  • Use-Cases
    • Analyze deployed components
    • Components in a Folder
    • Deploy Components
    • Reveal a Process
    • Reveal an API Component
    • Deployed Components Overview
    • Deployment Task Document
    • Create a cSet.jsonc file
  • Library
    • Component Set
      • The Components Set JsonC file
        • Create a package file
      • Set File resolution
    • The Report Engine
      • Render DataSets
        • DataSet Base
        • Component Metadata DataSet
          • Component Metadata Header
          • Component Metadata
          • CompDataSet With Counts
        • Deployed Packages DataSet
        • Package Content DataSet
        • Map Markdown Dataset
      • Components
        • Deployable Components
        • Orphaned Components
    • The Workspace
      • Manage your workspace
      • Components Set Workspace
      • Workspace folders
      • The project database
    • Configuration files
      • Application Settings
      • Workspace configuration file
      • boomiConsole.user.json
    • How to...
      • Use Excel to view CSV files
      • Local metadata and caching
      • Getting help
      • Environments
      • How to get a Component's Id
    • Referenced Pages
      • Lists
      • Documentation Snapshots
  • Download and Release History
  • Help Text
    • Documentation Links
    • Target Path Resolution
    • GitHub Emojis
    • Packaged Component and Versions
    • Components and Versions
    • Component Hierarchy
    • Referenced Components
Powered by GitBook
  1. Use-Cases

Components in a Folder

Work with components in a given folder

Last updated 7 months ago

It can be very useful to work with components which are located in a specific folder, only. For example an API, where an API component (web-service) and two processes implementing the API end-points are located in the same folder.

/#Examples/95 - Documentation Examples/#APIServices/GPR - GoodPractices

Create documentation

Create documentation for all deployable components in the specified folder, and write the output to GoodPractices.

.\bc comp doc /deployableOnly /f "*GPR - GoodPractices*" /o GoodPractices 

You will find the rendered documentation in the specified output folder GoodPractices/Doc:

The documentation is interactive (see Documentation Links).

Get deployment overview

Get all deployed components which are located in the specified folder and render the deployedPackage.csv to see which version was deployed to which environment.

Write the output to GoodPractices.

.\bc deploy get /f "*GPR - GoodPractices*" /t deployedPackages.csv /o GoodPractices

Depending on the CSV Viewer you chose (VS Code Extension: Excel Viewer or Rainbow CSV), you will probably get something like this:

Arguments explained

  • /f *{folderName}* The folder-name with wild-cards as the component source. The wildcarded name is used to lookup the folder full path.

  • /o The directory where all outputs will be written to, relative to the workspace directory! It is recommended to use out\{folderName}

  • /t compList.CSV A predefined template to render the component output.

Observations

Unspecified fault message

On one Boomi Account I got Unspecified fault message when querying folders from API and so far there is no explanation for that.

A Web-Service and its implementation in a single folder.
A nice documentation for all processes found in GPR - GoodPractices folder.
From documentation to AtomSphere using interactive links
The deployedPackages.csv shows components deployed to any environment incl. their deployment details.
compList.csv