0

We are looking to centralise deployment of WAR files into Glassfish via the asadmin deploy route.

I am aware that Glassfish supports autodeploy via folder, but want to manage the context and other parameters outside of war file.

At the moment we use deploy like this

asadmin --port 8048 deploy --name app-test --force --contextroot "/app/test" /usr/local/gfdeploy/app-1.2.war

However we want to manage this in a centralised script (DevOps style) and I also realise we can use "admin" user to perform this, but would like to create a user with ability to deploy, but not create/change other resources (JDBC Pools etc).

Is there any finer granulatity of permissions out of the box in Glassfish other than asadmin group that would allow deploy? or is there any way to setup a new group with required permissions?

Dazed
  • 256
  • 2
  • 10

1 Answers1

0

The answer from Payara forum is that this is not currently supported, but there is an open enhancement request related to this.

Dazed
  • 256
  • 2
  • 10