Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8330 from kaltura/revert-8326-revert-8325-Naos-14…
….18.0-WEBC-1364 Naos 14.18.0 webc 1364 already reviewed by Yossi on Naos-14.18.0
- Loading branch information
Showing
4 changed files
with
71 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
deployment/updates/scripts/2019_04_11_update_qna_metadata_profile_add_deleted.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
/** | ||
* @package deployment | ||
*/ | ||
require_once (__DIR__ . '/../../bootstrap.php'); | ||
|
||
$script = realpath(dirname(__FILE__) . "/../../../tests/standAloneClient/exec.php"); | ||
|
||
$newTemplateUpdate = realpath(dirname(__FILE__) . "/../../updates/scripts/xml/2019_04_11_updateQNAResponseProfile_addDeleted.xml"); | ||
|
||
if(!file_exists($newTemplateUpdate) || !file_exists($script)) | ||
{ | ||
KalturaLog::err("Missing update script file"); | ||
return; | ||
} | ||
|
||
passthru("php $script $newTemplateUpdate"); |
32 changes: 32 additions & 0 deletions
32
deployment/updates/scripts/xml/2019_04_11_updateQNAResponseProfile_addDeleted.template.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xml> | ||
<config> | ||
<serviceUrl>@SERVICE_URL@</serviceUrl> | ||
<partnerId>-2</partnerId> | ||
<clientTag>Stand alone php 1.0.0</clientTag> | ||
<curlTimeout>30</curlTimeout> | ||
<userAgent>Stand alone php 1.0.0</userAgent> | ||
</config> | ||
<session> | ||
<partnerId>-2</partnerId> | ||
<secret>@ADMIN_CONSOLE_PARTNER_ADMIN_SECRET@</secret> | ||
<sessionType>2</sessionType> | ||
</session> | ||
<multirequest> | ||
<request service="metadataProfile" action="listAction" plugin="metadata" partnerId="-2"> | ||
<filter objectType="KalturaMetadataProfileFilter"> | ||
<partnerIdEqual>0</partnerIdEqual> | ||
<systemNameEqual>Kaltura-QnA</systemNameEqual> | ||
</filter> | ||
<pager objectType="KalturaFilterPager"> | ||
<pageSize>1</pageSize> | ||
</pager> | ||
</request> | ||
<request service="metadataProfile" action="update" plugin="metadata" partnerId="-2"> | ||
<id>{1:result:objects:0:id}</id> | ||
<metadataProfile objectType="KalturaMetadataProfile"></metadataProfile> | ||
<xsdData path="../../../base/scripts/init_data/metadata_profile_schemas/QandA_default_schema.xml"> | ||
</xsdData> | ||
</request> | ||
</multirequest> | ||
</xml> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters