Skip to content

pieterjd/aemadmin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

106 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Table of contents generated with markdown-toc

AEMAdmin

AEMAdmin is tool built to automate boring JCR/CRX.DE operations, such as delete a node, updating a property of a node, ...

It also contains AEM specific commands such as queries and page creation.

The list below is a high-level overview, much more details can be found in the Javadocs of each class.

Node commands

These commands perform operations on node level, such as

  • Create node
  • Delete node
  • Copy node
  • Get a node

Properties commands

These commands perform operations on the properties of a node, such as

  • add/update a property
  • delete a property
  • get a property

CompositeCommand

Often you want to perform a sequence of tasks in a specific order. In this case, you can use the CompositeCommand to define this sequence and execute it in one go.

PostProcessCommand

In some cases you need to process the outcome of a command. That is exactly what the PostProcessCommand class tackles.

A specific PostProcessCommand is already implemented for handling query results, QueryPostProcessCommand.

Instance properties

When running your command, you sometimes need to provide information on the instance you want to run the command on. You can provide properties on the commandline.

  • userName: defaults to admin if missing
  • password: defaults to admin if missing
  • baseUrl: defaults to http://localhost if missing. This is the host running your AEM instance
  • port: defaults to 4502 if missing

Creating a standalone uberjar

If you want to run your command on a machine and do not want to download the whole codebase, you can create a standalone uberjar.

Just make sure to update the mainClass value in the maven assembly plugin section in the pom.xml file.

By default the name is just a concatenation of the artifactid, version and jar-with-dependencies. If you want to replace the first2 parts, update the uberjar.prefix property in the pom file.

Talks about AEMAdmin

AEM meetup hosted by Emakina Amsterdam

My collegue Joeri asked me to give a last-minute presentation on "that tool you're working on". More information on the meetup page itself.

Talk @ AEM meetup hosted by Emakina Amsterdam from Pieter-Jan Drouillon

Licensing & Attribution

This software is available for free and can be modified in any way. However, when you do so, please add the following small text to your webpage, blogpost, paper, ...

Original idea and implementation by Pieter-Jan Drouillon

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages