Skip to content

ATG Dynamo CLI to change component values easily in various servers

License

Notifications You must be signed in to change notification settings

caioleonhardt/dinamo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dinamo

Dynamo CLI to change component values easily in various servers

Change Value

dinamo <component> <property> <value> [-e enviroment]
dinamo orderManager loggingDebug true

Invoke Method

dinamo <component> <methodName> -i [-e enviroment]
dinamo orderRepository invalidateCaches -i

Aliases

The file aliases.yml is used to add all aliases for components. It has two defaults.

orderManager: /atg/commerce/order/OrderManager/
orderRepository: /atg/commerce/order/OrderRepository/

Enviroments and Servers

The structure to create enviroments is the following. Change it in servers.json file. The property default is used to call dinamo command without type the flag enviroment (-e)

{
  "default": "local",
  "enviroments" : 
  [
    {
      "name": "local",
      "user": "admin",
      "password": "admin",
      "servers": [
        {
          "name": "production",
          "host": "127.0.0.1",
          "port": "10181,10281,10381"
        },
        {
          "name": "bcc",
          "host": "127.0.0.1",
          "port": "20181"
        }
      ]
    }
  ]
}

Install and Use

  • Windows:
    Clone the repository and run the dynamo.exe
    Obs: you should have the files servers.json and aliases.json to Dinamo work

About

ATG Dynamo CLI to change component values easily in various servers

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages