...
Ui expand |
---|
title | Provisioning providers metadata file |
---|
|
Code Block |
---|
language | xml |
---|
title | provisioningproviders.xml |
---|
collapse | true |
---|
| <provisioningprovidersconfig>
<provisioningproviders>
<provisioningprovider>
<provproviderprotocol>EXAMPLE</provproviderprotocol>
<provprovidername>Example Provider</provprovidername>
<provproviderprocessejbname>ejb/CRMProcessExampleProvider</provproviderprocessejbname>
<generalparameters>
<generalparameter>
<generalparameterid>...</generalparameterid>
<generalparametername>...</generalparametername>
<generalparametertype>...</generalparametertype>
<generalparameter>
...
</generalparameters>
<hardwaretypes>
<hardwaretype>
<hardwaretypeid>...</hardwaretypeid>
<hardwaretypename>...</hardwaretypename>
</hardwaretype>
...
</hardwaretypes>
<relatedpages>
<relatedpage>
<label>...</label>
<url>...</url>
</relatedpage>
...
</relatedpages>
<regionmapping>true</regionmapping>
<usedbyusageservicecatalog>true</usedbyusageservicecatalog>
<testconnectionavailable>true</testconnectionavailable>
</provisioningprovider>
...
</provisioningproviders>
</provisioningprovidersconfig> |
|
Once the provider is defined in the provisioning providers metadata file, it can be added as a plugin through the provisioning providers data entry view page, which can be found under Settings & Admin > Billing Application > Subscription & Billing Settings > Set up Provisioning Providers. By selecting "Set Up New Plug In Provider", you can add the custom provider to the list of provisioning providers and set it up, manage the provider's provisioning requests, perform reset subscription runs, reset a single subscription of the provider or execute the processes defined in the related pages of the provisioning provider's definition (in the provisioningproviders.xml file).
...
title | Provisioning Providers |
---|
Image Removed
2. Provisioning Provider Process Class
a. Create Process Class and Implement a Method for Each Action
Use @Stateless(mappedName = "ejb/CRMProcessExampleProvider") to define the mapped name of the provisioning provider EJB. The mapped name should match the one defined in provisioningproviders.xml metadata file and the new process class must extend com.crm.process.provisioning.CRMProcessProvisioningProviderBean.
...
language | java |
---|
title | CRMProcessExampleProviderBean.java |
---|
linenumbers | true |
---|
collapse | true |
---|
...
2. Provisioning Provider Process Class
a. Create Process Class and Implement a Method for Each Action
Use @Stateless(mappedName = "ejb/CRMProcessExampleProvider") to define the mapped name of the provisioning provider EJB. The mapped name should match the one defined in provisioningproviders.xml metadata file and the new process class must extend com.crm.process.provisioning.CRMProcessProvisioningProviderBean.
Code Block |
---|
language | java |
---|
title | CRMProcessExampleProviderBean.java |
---|
linenumbers | true |
---|
collapse | true |
---|
|
@Stateless(mappedName = "ejb/CRMProcessExampleProvider")
@LocalBean
public class CrmProcessExampleProviderBean extends CRMProcessProvisioningProviderBean {
/**
* Default constructor.
*/
public CrmProcessExampleProviderBean() {
super();
}
...
} |
...
Code Block |
---|
language | java |
---|
title | SetPinCodeView.java |
---|
linenumbers | true |
---|
collapse | true |
---|
|
@ManagedBean(name = "setPinCodeView", eager = true)
@ViewScoped
public class SetPinCodeView extends DataEntryView {
@EJB private CRMProcessExampleProviderBean
@EJB private CRMProcessExampleProviderBean processExampleProvider;
...
public void submitButton() throws Exception {
...
SetPinCodeAction setPinCodeAction = new SetPinCodeAction();
setPinCodeAction.setProvProvider(provider);
setPinCodeAction.setPINCode(getPINCode());
processExampleProvider.sendCustomProvisioningCommandsToHandler(setPinCodeAction, provider.getProtocol());
...
} |
On clicking the submit button, the submitButton() method of the SetPinCodeView class will be called and the custom provisioning request will be sent to the provisioning provider handler.
...
title | Set Pin Code Action Page |
---|
Image Removed
4. Set up the plugin provider through CRM.COM
...
processExampleProvider;
...
public void submitButton() throws Exception {
...
SetPinCodeAction setPinCodeAction = new SetPinCodeAction();
setPinCodeAction.setProvProvider(provider);
setPinCodeAction.setPINCode(getPINCode());
processExampleProvider.sendCustomProvisioningCommandsToHandler(setPinCodeAction, provider.getProtocol());
...
} |
On clicking the submit button, the submitButton() method of the SetPinCodeView class will be called and the custom provisioning request will be sent to the provisioning provider handler.
Ui expand |
---|
title | Set Pin Code Action Page |
---|
|
Image Added
|
4. Set up the plugin provider through CRM.COM
The plugin provider can be set up through CRM.COM from the Provisioning Providers page, which can be found under Settings & Admin > Billing Application > Subscription & Billing Settings > Set up Provisioning Providers.
Once the provider is defined in the provisioning providers metadata file, it can be added as a plugin through the provisioning providers data entry view page, which can be found under Settings & Admin > Billing Application > Subscription & Billing Settings > Set up Provisioning Providers. By selecting "Set Up New Plug In Provider", you can add the custom provider to the list of provisioning providers and set it up, manage the provider's provisioning requests, perform reset subscription runs, reset a single subscription of the provider or execute the processes defined in the related pages of the provisioning provider's definition (in the provisioningproviders.xml file).
Ui expand |
---|
title | Provisioning Providers |
---|
|
Image Added
|