If you didn't apply to use Business Platform, go to "Step5: RSI Auth Step".
Step5: RSI Auth Step
In this Step, you can learn contract management using Business Platform.
Learning consists of the following Steps.
In particular, create a "Basic plan" and a "Premium plan".
Next, if you sign up for a premium plan, your application that allows you to "Super vote" on the "Sandbox" page.
Set up RSI Auth as a preparation.
Logout is not yet implemented.
Open app/controllers/sandbox/logout_controller.rb and copy the following contents.
require 'active_support/core_ext'
module Sandbox
class LogoutController < ApplicationController
def index
redirect_target = "#{request.base_url}/sandbox"
query = { url: redirect_target }.to_query
redirect_url = "https://devu.accounts.ricoh.com/portal/logout.html?#{query}"
redirect_to(redirect_url)
end
end
end
Deployment is required after changing the file.
Push the container image with the following command.
az acr login --name your-acr-name
docker build -t your-registry.azurecr.io/your-training-image:{YOUR_TAG} .
docker push your-registry.azurecr.io/your-training-image:{YOUR_TAG}
Go to RSI CaaS Operation Tool(Open in new window), and change the release tag to {YOUR_TAG}.
After changing, click the "Apply settings" button.
Go to RSI Operation Tool(Open in new window)
Use the User ID and Password given in advance.
After Login, you can go to My Page from the menu on the upper right.
Change your password on My Page if necessary.
Click "Create Package" and create a package with the following input.
Package Name should be like "training-{YOUR_FULL_NAME}"
Click "Client Application" tab, and select your Client Application given in advance from the "Add" button.
Use the Edit button to enable only "User License".
Click "Publish now".
Click "Edit/Delete/Publish a Package".
Click your Package name.
Make a note of the "Package ID".
This "Package ID" will be used later in Zoura when creating a "Product".
Go to Zuora(Open in new window).
Click "RJ" on SBX.
Click "Product Catalog" button.
Click "ADD NEW PRODUCT".
Create product with the following input.
You created a "Product". This corresponds to your application.
Click "ADD RATE PLAN" button, and create a Plan.
Create a Plan with the following input.
In particular, the Rate Plan Unique Code is used by the application to determine the plan.
You created a "Plan". After this, you will create a "Charge" in this "Plan".
It will be per Plan when you purchase a license.
Click "add new" button.
Create a Charge with the following input.
You created a "Charge".
Go to Contract Management Site(Open in new window), and login.
Login with the same User ID and Passwork as the RSI Operation Tool.
If this is your first time Login, you will be prompted to enter Sales code.
Click "New customer registration".
Open Customer Tenant with the following input.
Check Your Tenant ID.
And, click your Company name.
Click "Add a new contract".
Select the product created with Zuora.
Purchase Basic Plan with the following input.
Check your License ID.
You can check the billing status after purchase as follows when you open the widget.
Go to Common Setting Site(Open in new window), and login.
Input the Email Address and Password you set when you opened Customer Tenant.
Check Your Tenant ID.
And, switch to go to Admin Mode.
Click "App Usage Permission Management (users)"
Check the user is associated with the license ID you just created.
Add productRatePlanUniqueCode to Key Vault with the following command.
az keyvault secret set --vault-name {YOUR_KEY_VAULT} --name caas_training_productRatePlanUniqueCode_basic --value caas_basic_plan
Go to Sandbox(Open in new window), and click the login button.
Check your plan.
Go to Zuora(Open in new window) again, and click "Product Catalog" button.
Find and select your Product.
Click "ADD RATE PLAN" button, and create a Plan.
Create a Plan with the following input.
In particular, the Rate Plan Unique Code is used by the application to determine the plan.
Note that the values are different from those in the Basic Plan.
Click "add new" button.
Create a Charge with the following input.
Go to Contract Management Site(Open in new window) again, and click your Company name.
Click "Add a new contract".
Select the product created with Zuora.
Purchase Premium Plan with the following input.
Check your License ID.
Go to Common Setting Site(Open in new window) again, switch to go to Admin Mode.
Click "App Usage Permission Management (users)"
Click edit button to inactivate the "Basic" license and activate the "Premium" license.
Add productRatePlanUniqueCode to Key Vault with the following command.
az keyvault secret set --vault-name {YOUR_KEY_VAULT} --name caas_training_productRatePlanUniqueCode_premium --value caas_premium_plan
Go to Sandbox(Open in new window), and click the login button, and check your plan.
Check your plan.
You can see that there is a Premium mode.
You can vote 10 times with one click!
You don't proceed to "Step5".
Let's go to Operation