...
1. Update inventory of Core hosts, groupvars and secrets
2. create a container in azure blob and make it public for content publish
3. Provide the tag as release-1.14.0 in the build job parameter github_release_tag
Run the Below Jobs
Below steps needs to be followed as per the order.
...
1. Adminutil # Deploy Adminutil Container
2. API Manager # deploys API Manger Kong and API manager echo
4. OnboardAPIS # Onboards All API's to sunbird
5. OnboardConsumers (Take the jwt token from Jenkins Output and update of api-management-test-user and update core_vault_ekstep_api_key, core_vault_sunbird_api_auth_token if using KP and DP along with core) # Onboards New consumer to sunbird and generates API key specific to Consumer, Update this value with correponding api key of ekstep 'core_vault_ekstep_api_key'
7. (Provision) Cassandra # Provisions Cassandra and create Keyspaces required for Sunbird Core
8. Cassandra # Does Migration if required
6. (Provision) Keycloak # Provisions Keycloak by installing prerequisites like java and env vars of learner
9. keycloak # Deploys keycloak service to VM
10. Proxy # Deploys Proxy, Handles all routing within the swarm
11. KeycloakRealm # Creates Sunbird Realm, (After Creation of Realm configure keycloak by using Below Steps.)
...
a. Login to keycloak using username admin and password as given in private "secrets.yml" file. # Login to keycloak by using <domainname>/auth
b. Take the sso_public_key by navigating to: sunbird Realm > Realm Settings > keys > click Public Key(copy the key and update core_vault_sso_public_key)
c. create Create Admin Role in Sunbird realm: Roles > Add Role > add details in the form(Role Name: admin) > save > Enable Composite Roles > Under Composite Roles > Select (offline_access, uma_administration) and click add selected, Permissions(enable Permissions).
d. assign Assign permissions to admin-cli client in Sunbird realm: clients > admin-cli > Settings > Implicit Flow Enabled (ON) > Root URL: https://dev.sunbird.cf (your Domain) > Valid Redirect URIs: https://dev.sunbird.cf/* (Add another Link by clicking on "+") > Valid Redirect URIs: https://dev.sunbird.cf/ > Base URL: / > Admin URL: https://dev.sunbird.cf/* > Save
e. clients In the Sunbird realm, Clients > admin-cli > Roles > Add Role: Role Name: admin (Save)> composite Roles (ON) > Composite Roles > Realm Roles > add admin,offline_access,uma_authorization > Permissions > Permissions Enabled (ON)
12. Player # Deploys Player service, used to display Frontend of App
13. Learner # Deploys Learner Service, handles user management, helps in searching content
14. Content # Deploys Content service, Helps in creation of content
15. Telemetry # Deploys Telemetry Service, Helps in sending telemetry to kafka
16. Telemetrydatapipeline TelemetryLogstashDataPipeline # Deploys logstash container, which sends telemetry to kafka
17. TelemetryLogstash # Deploys logstash container for sending telemetry to ekstep [Trigger only when you want to send telemetry to ekstep]
Create a mapping for cbatch elasticsearch searchindex index
- Follow this documentation and create mappings for cbatch searchindex index. [http://402.qa.docs.sunbird.org/master/developer-docs/configuring_sunbird/elasticsearch_static_mapping_course_batch/]