<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 2011/10/7 9:54, Demian Calcaprina wrote:
    <blockquote
cite="mid:CAGWYzv15sBioJS7+OPtt0i_eUNWkX-kXy1ekL1f+i61-iN-NyQ@mail.gmail.com"
      type="cite">Hi again.&nbsp;
      <div><br>
      </div>
      <div>I have been able to use guvnor package versions with some
        success..</div>
      <div><br>
      </div>
      <div>Is there any service I can call to create a new version? I
        have checked that it seems to change the package version when
        you click on "save package". Can I have some URL to achieve it
        automatically?</div>
      <div><br>
      </div>
    </blockquote>
    Hi,<br>
    <br>
    Sorry for the late response, I was in holiday. There is no REST
    service to create a package version as this is not needed. A package
    version is created automatically when your package gets updated
    (through Guvnor UI or through REST).<br>
    <br>
    Cheers,<br>
    Jervis <br>
    <br>
    <blockquote
cite="mid:CAGWYzv15sBioJS7+OPtt0i_eUNWkX-kXy1ekL1f+i61-iN-NyQ@mail.gmail.com"
      type="cite">
      <div>Thanks</div>
      <div><br>
      </div>
      <div>Demian<br>
        <br>
        <div class="gmail_quote">On Tue, Oct 4, 2011 at 9:57 AM, Demian
          Calcaprina <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:calcacuervo@gmail.com">calcacuervo@gmail.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex;">Thanks
            Jervis.
            <div><br>
            </div>
            <div>I currently use Guvnor 5.2, and saw that I can use
              version so I will try to use them.</div>
            <div><br>
            </div>
            <div>- Is there something I will be missing about versions,
              by using 5.2?</div>
            <div>
              - Do you know when a new version is created? With
              Snapshots, I could choose when to create a new one. How
              about versions?</div>
            <div><br>
            </div>
            <div>Thanks!</div>
            <div><br>
            </div>
            <font color="#888888">
              <div>Demian</div>
            </font>
            <div>
              <div class="h5">
                <div><br>
                </div>
                <div>
                  <div class="gmail_quote">
                    2011/10/3 jliu <span dir="ltr">&lt;<a
                        moz-do-not-send="true"
                        href="mailto:jliu@redhat.com" target="_blank">jliu@redhat.com</a>&gt;</span><br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div bgcolor="#FFFFFF" text="#000000">
                        <div>
                          <div> On 2011/10/4 1:54, Demian Calcaprina
                            wrote:
                            <blockquote type="cite">Hi everyone. I am
                              using Guvnor 5.2, and I need to make some
                              operations from my application.
                              <div><br>
                              </div>
                              <div>Specifically, I need to make two
                                operations&nbsp;remotely:</div>
                              <div>- List Snapshots, as it is possible
                                to list packages.</div>
                              <div>- Create a new snapshot from a
                                package.</div>
                              <div><br>
                              </div>
                              <div>Is this possible to make these
                                operation through rest API?</div>
                              <div><br>
                              </div>
                            </blockquote>
                          </div>
                        </div>
                        Hi,<br>
                        <br>
                        Start from 5.3, Guvnor Packages are fully
                        versioned. I would recommend you to use a
                        vesioned package instead of package snapshot.
                        Package snapshot will be deprecated in the
                        future. <br>
                        <br>
                        Cheers,<br>
                        Jervis<br>
                        <blockquote type="cite">
                          <div>Thanks,</div>
                          <div><br>
                          </div>
                          <div>Demian</div>
                          <div><br>
                          </div>
                          <div><br>
                          </div>
                          <br>
                          <fieldset></fieldset>
                          <br>
                          <pre>_______________________________________________
rules-users mailing list
<a moz-do-not-send="true" href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>
<a moz-do-not-send="true" href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
                        </blockquote>
                        <br>
                      </div>
                      <br>
                      _______________________________________________<br>
                      rules-users mailing list<br>
                      <a moz-do-not-send="true"
                        href="mailto:rules-users@lists.jboss.org"
                        target="_blank">rules-users@lists.jboss.org</a><br>
                      <a moz-do-not-send="true"
                        href="https://lists.jboss.org/mailman/listinfo/rules-users"
                        target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
                      <br>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>