# Other Knowlg Jobs

### :stars: dialcode-context-updater:&#x20;

Job is used to update context information for a linked/de-linked dial codes of a content/collection.

![](https://1767651289-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaanfWbeVT74C5lXDPde3%2Fuploads%2FvEUmiFsMPEUyjEatXgQX%2Fsunbird-knowlg-dialcode-context-updater.drawio.png?alt=media\&token=217b2a07-86fe-40ac-9ab6-cad439c9d42e)

{% embed url="<https://github.com/project-sunbird/knowledge-platform-jobs/tree/release-5.0.0/dialcode-context-updater>" %}

{% hint style="danger" %} <mark style="color:orange;">**Note:**</mark> Some of the jobs were part of [Samza jobs](https://github.com/project-sunbird/sunbird-learning-platform/tree/master/platform-jobs/samza) before release-4.8.0. Since release-4.8.0, all knowlg jobs are part of [Flink jobs](https://github.com/project-sunbird/knowledge-platform-jobs/tree/release-4.8.0).
{% endhint %}

### DATA MIGRATION JOBS (Available from release-5.2.0):

### :stars: cassandra-data-migration:&#x20;

Job is used to replace strings in the data of a column in the cassandra database. This can be used for partial String/Blob column data modification only. Configured key Strings will be replaced with the respective value strings where-ever found in the data of each row of the configured keyspace-table-column.

<figure><img src="https://1767651289-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaanfWbeVT74C5lXDPde3%2Fuploads%2FXM8HJy9rSETDkE9KIjtz%2Fsunbird-knowlg-cassandra-data-migration.drawio.png?alt=media&#x26;token=457bd4ab-e357-4e3e-98b8-9334c29a30ea" alt=""><figcaption></figcaption></figure>

{% embed url="<https://github.com/project-sunbird/knowledge-platform-jobs/tree/release-5.2.0/cassandra-data-migration>" %}

### :stars: csp-migrator:&#x20;

Job is used to replace cloud service provider references in the neo4j and cassandra data of assets/contents/collections to CNAME prefix variable value OR to the new cloud service provider path. Job is triggered for each asset/content/collection in Draft/Live/Image nodes from *<mark style="color:orange;">Sync tool available as part of Jenkins job</mark>*. Migrated contents are stamped with migrationVersion configured as part of the job.

<figure><img src="https://1767651289-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaanfWbeVT74C5lXDPde3%2Fuploads%2FfqtkcXcPFWu6sJ1JL5EY%2Fsunbird-knowlg-csp-migrator.drawio.png?alt=media&#x26;token=e17fef4c-38b2-4baa-89a8-bd74580b0873" alt=""><figcaption></figcaption></figure>

{% embed url="<https://github.com/project-sunbird/knowledge-platform-jobs/tree/release-5.2.0/csp-migrator>" %}

### :stars: live-node-publisher:&#x20;

Job is used to republish already live contents. This job will refer to the data of live node only and not to the data of image node if exists. Please note that image node if exists, will not be deleted from the neo4j. &#x20;

<figure><img src="https://1767651289-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaanfWbeVT74C5lXDPde3%2Fuploads%2FiOXalENJggD9zwygvlMw%2Fsunbird-knowlg-live-node-publisher.drawio.png?alt=media&#x26;token=0d84c86d-7b7c-4329-96e1-2eee0a191255" alt=""><figcaption></figcaption></figure>

{% embed url="<https://github.com/project-sunbird/knowledge-platform-jobs/tree/release-5.2.0/publish-pipeline/live-node-publisher>" %}

### :stars: live-video-stream-generator:&#x20;

This job is exact replica of the 'video-stream-generator' job. This was created to monitor/control the infra requirement needed for generation of new streaming URLs as part of new cloud service provider migration.&#x20;

<figure><img src="https://1767651289-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaanfWbeVT74C5lXDPde3%2Fuploads%2FE2eHeO66sPaDAM5U7N01%2Fsunbird-knowlg-live-video-stream-generator.drawio%20(1).png?alt=media&#x26;token=e761e9d8-0b71-4a0b-bcf8-6d8c53c7e9b2" alt=""><figcaption></figcaption></figure>

{% embed url="<https://github.com/project-sunbird/knowledge-platform-jobs/tree/release-5.2.0/live-video-stream-generator>" %}
