Manage Glassfish/Payara server .. versionadded:: 2016.11.0
Management of glassfish using its RESTful API You can setup connection parameters like this
- server:
- ssl: true
- url: localhost
- port: 4848
- user: admin
- password: changeit
salt.states.glassfish.connection_factory_absent(name, both=True, server=None)¶Ensures the transaction factory is absent.
truesalt.states.glassfish.connection_factory_present(name, restype='connection_factory', description='', enabled=True, min_size=1, max_size=250, resize_quantity=2, idle_timeout=300, wait_timeout=60, reconnect_on_failure=False, transaction_support='', connection_validation=False, server=None)¶Ensures that the Connection Factory is present
connection_factory,
queue_connection_factory` or ``topic_connection_factory,
defaults to connection_factorytrue1250230060falseXATransaction, LocalTransaction or NoTransactionfalsesalt.states.glassfish.destination_absent(name, server=None)¶Ensures that the JMS Destination doesn't exists
salt.states.glassfish.destination_present(name, physical, restype='queue', description='', enabled=True, server=None)¶Ensures that the JMS Destination Resource (queue or topic) is present
queue or topic, defaults is queueTruesalt.states.glassfish.jdbc_datasource_absent(name, both=True, server=None)¶Ensures the JDBC Datasource doesn't exists
truesalt.states.glassfish.jdbc_datasource_present(name, description='', enabled=True, restype='datasource', vendor='mysql', sql_url='', sql_user='', sql_password='', min_size=8, max_size=32, resize_quantity=2, idle_timeout=300, wait_timeout=60, non_transactional=False, transaction_isolation='', isolation_guaranteed=True, server=None)¶Ensures that the JDBC Datasource exists
truedatasource, xa_datasource,
connection_pool_datasource or driver, defaults to datasourcemysql,
postgresql and mssql, defaults to mysql832230060salt.states.glassfish.system_properties_absent(name, server=None)¶Ensures that the system property doesn't exists
salt.states.glassfish.system_properties_present(server=None, **kwargs)¶Ensures that the system properties are present
Docs for previous releases are available on readthedocs.org.
Latest Salt release: 3004.1