Skip to content

SimplyGeek

  • VMware Cloud Foundation
    • VCF Automation
    • VCF Operations Orchestrator
      • VCF Operations Orchestrator: Why I Write Actions and Not Workflows (Mostly)
      • VCF Operations Orchestrator: Auto-Document Your Actions with Ease
      • How I Write Beautiful Code in VCF Operations Orchestrator using ESLint and Prettier
      • Logger for better Logs in VCF Operations Orchestrator
      • Empower VCF Operations Orchestrator API integration with HttpRestClient
      • Process locking made easy in VCF Operations Orchestrator, featuring automatic unlock
    • Build Tools for VMware Aria
      • VCF Automation – Build Tools for VMware Aria – Up and Running
      • VCF Automation – Build Tools for VMware Aria – Overview of VCF Automation Projects
      • VCF Automation – Build Tools for VMware Aria – Visual Studio Code Integration
      • VCF Automation – Build Tools for VMware Aria – Useful Maven Command Reference
    • VMware NSX
  • Ansible
  • About
  • VMware Cloud Foundation
    • VCF Automation
    • VCF Operations Orchestrator
      • VCF Operations Orchestrator: Why I Write Actions and Not Workflows (Mostly)
      • VCF Operations Orchestrator: Auto-Document Your Actions with Ease
      • How I Write Beautiful Code in VCF Operations Orchestrator using ESLint and Prettier
      • Logger for better Logs in VCF Operations Orchestrator
      • Empower VCF Operations Orchestrator API integration with HttpRestClient
      • Process locking made easy in VCF Operations Orchestrator, featuring automatic unlock
    • Build Tools for VMware Aria
      • VCF Automation – Build Tools for VMware Aria – Up and Running
      • VCF Automation – Build Tools for VMware Aria – Overview of VCF Automation Projects
      • VCF Automation – Build Tools for VMware Aria – Visual Studio Code Integration
      • VCF Automation – Build Tools for VMware Aria – Useful Maven Command Reference
    • VMware NSX
  • Ansible
  • About
Share
7 November 2011

by Gavin Stephens

Share on Facebook
Share on X
  • Previous
Subscribe
Notify of
guest

guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

You may also like

How I Write Beautiful Code in VCF Operations Orchestrator using ESLint and Prettier

When developing code for VCF Operations Orchestrator, I follow a strict and consistent style methodology. This approach significantly simplifies navigating multiple files, identifying patterns, and maintaining readability across the codebase. Adhering to both industry-standard and custom styling conventions can be tedious, but fortunately, some tools make this process much simpler once properly configured. These tools help automate formatting and ensure consistency across the codebase with minimal manual effort. I use two different tools to achieve this: Here are just a few examples of the types of issues these tools can detect: While some of these rules may seem opinionated, the...

17 July 2025
Broadcom (VMware) / ESLint / JavaScript / Prettier / VCF Automation / VCF Operations Orchestrator / VMware Cloud Foundation

Logger for better Logs in VCF Operations Orchestrator

VCF Automation Orchestrator has a limitation with console logging because there is no way to dynamically output the name of an action or sub-workflow. The statement this.workflow.name can be used to get the name of a top-level workflow, but the same value would be used for all sub-workflows and Actions. Several years ago, I wrote a post on my Simplygeek blog, demonstrating my solution to this problem. I still believe this is the best option available and will work without limitations. My solution was to create a Logger class that can be imported into every Action and Workflow. This method...

24 June 2025
Broadcom (VMware) / VCF Operations Orchestrator / VMware Cloud Foundation

SimplyGeek © 2025. All Rights Reserved.

wpDiscuz