Linq2 is integrated with Push Providers (PushWoosh/OneSignal/Google FCM) by using following approach.
1.1.1 For PushWoosh
1.1.2 For OnSignal:
1.1.3 For Google FCM:
Authorized user can configure service parameter setting from configuration >LinQ2 resources > File - Show List > LinQ2 page. Form this page authorized user can define source, destination and error folder path.
Ref- Screen 1 – LinQ2 P-Series PushNotification backend management_1
Ref- Screen 2 – LinQ2 P-Series PushNotification backend management_2
Ref- Screen 3 – LinQ2 Define PushNotification backend parameters
Ref- Screen 4 - LinQ2 resource (PushWoosh enumeration) configuration_1
Ref- Screen 5- LinQ2 resource (OneSignal enumeration) configuration_2
Ref- Screen 6- LinQ2 resource (Google FCM enumeration) configuration_3
Screen 1 – LinQ2 P-Series PushNotification backend management_1
Screen 2 – LinQ2 P-Series PushNotification backend management_2
Screen 3 – LinQ2 Define PushNotification backend parameters
Ref: - Screen 4 – LinQ2 Resources Configuration.
Ref: - Screen 5 – LinQ2 Resources Configuratio
Ref: - Screen 6 – LinQ2 Resources Configuration
Push notifications can be sent to multiple different PushWoosh, OneSignal and Google FCM applications. Each application has unique APP ID and Authorization Key define on the provider portals. Each app configuration can be defined in the P-Series enumerations. Once configured, these configurations can be selected by either the backends or through the portal. PUSH_TEMPLATE_CODE is the enumeration type used for these configurations. Following are the details of the enumeration structure
Each value should be coma separated from the other values, each value is a key/value pair and the whole string is parsed and converted to JSON.
Sr. | Key | Description | Sample value(s) |
1. | name | Name of the push template for display | T01 |
2. | app_code | APP Code from PushWoosh or OneSignal | Pushwoosh:901FC-6CB92 |
3. | auth_token | The API access toke from the provider | Check with provider |
4. | userTag | Pushwoosh only, the name of the tag defined in their portal | Tag01 |
5. | tagType | Pushwoosh only, the type of user tag. Integer and String types are supported by P-Series | Str or String Int or Integer |
6. | tagScope | Pushwoosh only, the scope of the tag. Is it defined at Application scope or General scope. | App or Application Gen or General |
7. | pushSvc | The target service of this enumeration configuration | pw (for Pushwoosh) os (for OneSignal) fc (for Google FCM) |
Push Notification handler service is available in services list. Authorized user can login in to LinQ2 system and can monitor the status of Push Notification handler service and recent errors and warning from status monitor section. User can also start and stop the Push Notification handler service from this section.
Ref: - Screen 4 – LinQ2 Push Notification handler Service Status Monitoring and Control
Screen 5 – LinQ2 PushNotification handler Service Error Monitoring
1.5.1 Test 1 - Duplicate Event Id test
Test | Duplicate Event Id |
Interface | Queue |
Pre-conditions |
|
Request | Check doc LinQ2 XML Structure Description for samples.
|
Expected Result |
|
Actual Result |
|
Test | Invalid XML |
Interface | Queue |
Pre-conditions | XML is not correct according to specify format |
Request | Check doc LinQ2 XML Structure Description for samples.
|
Expected Result |
Event has not been logged because parsing error. |
Actual Result |
|
|
|
Test | Send push notification to direct recipients |
Interface | Queue |
Pre-conditions |
|
Request | Check doc LinQ2 XML Structure Description for samples.
|
Expected Result |
|
Actual Result |
|
Test | Extract message and his parameter from xml content |
Interface | Queue |
Pre-conditions |
|
Request | Check doc LinQ2 XML Structure Description for samples.
|
Expected Result | Message will be sent and will be showing in message report. |
Actual Result |
|
Test | Extract message and his parameter from xml content |
Interface | Queue |
Pre-conditions |
|
Request | Check doc LinQ2 XML Structure Description for samples.
|
Expected Result |
Record will be updated in PUSH_OUT in column SMS_STATUS (702). |
Actual Result |
|
Test | Extract message and his parameter from xml content |
Interface | Queue |
Pre-conditions |
|
Request | Check doc LinQ2 XML Structure Description for samples.
|
Expected Result |
Record will be updated in PUSH_OUT in column SMS_STATUS (703). |
Actual Result |
|
Test | Extract message and his parameter from xml content |
Interface | Queue |
Pre-conditions |
|
Request | Check doc LinQ2 XML Structure Description for samples.
|
Expected Result |
Record will be updated in PUSH_OUT in column SMS_STATUS (703). |
Actual Result |
|
Test | Internal Error occurred while processing your request due to any reason |
Interface | Queue |
Pre-conditions |
|
Request | Check doc LinQ2 XML Structure Description for samples. |
Expected Result |
|
Actual Result | |