Skip to content

Commit

Permalink
Merge pull request #8330 from kaltura/revert-8326-revert-8325-Naos-14…
Browse files Browse the repository at this point in the history
….18.0-WEBC-1364

Naos 14.18.0 webc 1364
already reviewed by Yossi on Naos-14.18.0
  • Loading branch information
noam-arad committed Apr 15, 2019
2 parents efad263 + 4e537bd commit 2d45449
Show file tree
Hide file tree
Showing 4 changed files with 71 additions and 1 deletion.
Expand Up @@ -33,6 +33,7 @@
<xsd:enumeration value="FollowUp"/>
<xsd:enumeration value="Done"/>
<xsd:enumeration value="Cleared"/>
<xsd:enumeration value="Deleted"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
Expand Down Expand Up @@ -106,4 +107,4 @@
<xsd:simpleType name="listType">
<xsd:restriction base="xsd:string"/>
</xsd:simpleType>
</xsd:schema>
</xsd:schema>
@@ -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");
@@ -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>
20 changes: 20 additions & 0 deletions release-notes.md
@@ -1,3 +1,23 @@
# Naos 14.19.0 #

# add deleted to qna metadataprofile on partner 0##
- Issue Type: Feature
- Issue IDs: WEBC-1364

### Configuration ###
None

### Deployment scripts ###

First replace all tokens in the XML file below and remove ".template" from the fle name:

/opt/kaltura/app/deployment/updates/scripts/xml/2019_04_11_updateQNAResponseProfile_addDeleted.template.xml

Run deployment script:

php /opt/kaltura/app/deployment/updates/scripts/2019_04_11_update_qna_metadata_profile_add_deleted.php


# Naos 14.18.0 #

## DB table index enhancements ##
Expand Down

0 comments on commit 2d45449

Please sign in to comment.