Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-6274

Configure UPS server with mock URLs for APNs

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None

      What

      (Re)start the UPS server with APNs endpoints for push/feedback servers and point to mockbackend (See AGPUSH-1994)

      Why

      For stress-testing we should not talk directly to APNs, but against some other mock tool...

      How

      The UPS has support for APNs fake backend host/port. Please take a look here:
      https://aerogear.org/docs/unifiedpush/ups_userguide/index/#sysprops

      There are two ways of configuring this:

      • In the $JBOSS/standalone/config/standalone-full.xml file, provide a System property, with the right URL to the mock system:
        ...
        </extensions>
        
        <system-properties>
            <property name="The system properties to use" value="SomeValue"/>
        </system-properties>
        
      • provide system property on the command line, when starting the server:
        /JBOSS_HOME/bin/standalone.sh -b 0.0.0.0 --server-config=standalone-full.xml -DsomeProperty=SomeValue
        

      Result/Verification

      Calls are not going to APNs, but to our mockbackend

            Unassigned Unassigned
            mwessend@redhat.com Matthias Wessendorf
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: