Skip to content

Latest commit

 

History

History
87 lines (65 loc) · 2.32 KB

OpenIssues.md

File metadata and controls

87 lines (65 loc) · 2.32 KB

Open Issues

Create Tests

Framework Enhancements

API Versions for Different Brokers

  • Ability to gather broker facts: broker version & supported API version.
  • Switch based on API version where required
  • Sempv2: about resource

Example: POST /msgVpns/{msgVpnName}/aclProfiles/{aclProfileName}/subscribeTopicExceptions

  • API Version: ?

    • parameter: topicSyntax works
    • module: solace_acl_publish_exception.py
  • API Version: 2.14

    • parameter: subscribeTopicExceptionSyntax works
    • module: solace_acl_publish.py

Http Session

  • every request opens a new connection
  • change to use Session with a keep alive connection

Logging, flag -vvv

Not using -vvv should suppress it.

Standardize Common Args

  • have a standard, common args dict in solace_utils.py
  • add here module specific args
module_args = dict(
    # module specific
    name=dict(type='str', required=True),
    cert_content=dict(type='str', default=''),
    # standard args
    host=dict(type='str', default='localhost'),
    port=dict(type='int', default=8080),
    secure_connection=dict(type='bool', default=False),
    username=dict(type='str', default='admin'),
    password=dict(type='str', default='admin', no_log=True),
    settings=dict(type='dict', require=False),
    state=dict(default='present', choices=['absent', 'present']),
    timeout=dict(default='1', require=False),
    x_broker=dict(type='str', default='')
)

Define a Group: ansible_solace?

- hosts: all
  module_defaults:
    # example of aws group
    group/aws:
      region: us-west-2
    # can we do this?
    group/ansible_solace:
      password: "{{ password }}"
      host: "{{ host }}"
      port: "{{ port }}"
      username: "{{ username }}"
      secure_connection: "{{ secure_connection }}"
      timeout: 25
      x_broker: "{{ x_broker | default() }}"

The End.