<!-- 
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Thu May 23 11:48:16 CDT 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://www.couchbase.com/issues/si/jira.issueviews:issue-xml/JCBC-63/JCBC-63.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Couchbase</title>
    <link>http://www.couchbase.com/issues</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>5.2.4</version>
        <build-number>845</build-number>
        <build-date>26-12-2012</build-date>
    </build-info>

<item>
            <title>[JCBC-63] add APIs for creating and deleting design documents for CBS 2.0</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-63</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>There are have been several requests from users to have APIs to create and delete views from the Java (and other) SDKs. &lt;br/&gt;
This is a MUST have for some customers and needs to be a part of the Client SDK we release prior to Beta. </description>
                <environment></environment>
            <key id="17640">JCBC-63</key>
            <summary>add APIs for creating and deleting design documents for CBS 2.0</summary>
                <type id="2" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/newfeature.png">New Feature</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="dipti">Dipti Borkar</reporter>
                        <labels>
                    </labels>
                <created>Fri, 8 Jun 2012 01:31:51 -0500</created>
                <updated>Thu, 29 Nov 2012 02:58:04 -0600</updated>
                    <resolved>Thu, 29 Nov 2012 02:58:04 -0600</resolved>
                            <version>1.1dp</version>
                                <fixVersion>1.1-beta</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="29256" author="ingenthr" created="Fri, 8 Jun 2012 01:42:17 -0500"  >I&amp;#39;m in agreement.  One question is do we also want this API to be involved in the view materialization process.  I think the answer is probably yes, but this can be complicated since it can potentially take a very long time with little feedback.</comment>
                    <comment id="29260" author="dipti" created="Fri, 8 Jun 2012 01:57:16 -0500"  >When you say View materialization process? what exactly do you mean? given that index building happens at query time, I don&amp;#39;t think so. &lt;br/&gt;
&lt;br/&gt;
However, there are other APIs that may be more interesting to have. explicitly triggering compaction, configuring min time duration / min # of mutations to trigger index building. </comment>
                    <comment id="33832" author="ingenthr" created="Tue, 24 Jul 2012 01:38:43 -0500"  >What I mean by the view materialization process is that we, in the web console, have this flow where we advise people to take their &amp;quot;dev_aview&amp;quot; and run a full cluster dataset query on it before publishing it to production.  This way, when it&amp;#39;s published as &amp;quot;aview&amp;quot;, the view will have been mostly materialized.  It&amp;#39;s a nice thing for updating a view.&lt;br/&gt;
&lt;br/&gt;
The reason this is complicated is that it&amp;#39;s an HTTP request that may go for a very long, long time.  I can think of a way around it (poll it with a timeout until it&amp;#39;s fast), but it&amp;#39;s suboptimal unless we start querying view materialization progress.</comment>
                    <comment id="36906" author="daschl" created="Sun, 26 Aug 2012 07:31:16 -0500"  >Matt, what if we wait for it in a separate thread and return with a future when it&amp;#39;s done? We just need to make the user aware that it can take a long time, and if they add a view for development that they&amp;#39;d have to publish it separately.&lt;br/&gt;
&lt;br/&gt;
Another idea would be to make the &amp;quot;let&amp;#39;s do a full dataset query&amp;quot; optional when the view gets published since someone may want to do that later or from the web-ui.</comment>
                    <comment id="36909" author="ingenthr" created="Sun, 26 Aug 2012 12:59:48 -0500"  >Michael: that&amp;#39;s effectively what we do right now since it&amp;#39;s the query against the view that takes a long time.  The design document management operations do not.  The view requests are not quite done asynchronously, that&amp;#39;s true.&lt;br/&gt;
&lt;br/&gt;
The main point I was raising was that the Web Console provides for functionality to execute a view before pushing it in production and workflow to take it from &amp;quot;dev_thing&amp;quot; to &amp;quot;thing&amp;quot; knowing that the view has been materialized.  In the SDK, I don&amp;#39;t think we&amp;#39;ll try to replicate that workflow, but the same functionality is definitely available.</comment>
                    <comment id="40491" author="daschl" created="Fri, 5 Oct 2012 08:41:43 -0500"  >Just to keep everyone updated, I started developing it here: &lt;a href=&quot;http://review.couchbase.org/#/c/21380/&quot;&gt;http://review.couchbase.org/#/c/21380/&lt;/a&gt;</comment>
                    <comment id="44987" author="daschl" created="Thu, 29 Nov 2012 02:58:04 -0600"  >this has finally been merged to master.</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Dependency</name>
                                <outwardlinks description="depends on">
                            <issuelink>
            <issuekey id="20735">JCBC-147</issuekey>
        </issuelink>
                    </outwardlinks>
                                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10123</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>
</channel>
</rss>