Datameer Git Integration

3 followers
0
Avatar

Hi there,

 

I am working with datameer - git plugin.

I can see a list of logs for a particular workbook.

git log --oneline --follow Users/jkris03/BPM/BPM_Workbook.wbk
c6b55c5 restoring previous version
2e3ac59 Updated File "4590b7f2-f481-4ae0-afb1-2c7171bfbf57"
ce21c61 Updated File "4590b7f2-f481-4ae0-afb1-2c7171bfbf57"
80a1105 Deleted Column on Workbook "4590b7f2-f481-4ae0-afb1-2c7171bfbf57"
535216a Snaphot of Workbook "4590b7f2-f481-4ae0-afb1-2c7171bfbf57"

I wanted to restore the previous version '535216a' by giving

git checkout 535216a Users/jkris03/BPM/BPM_Workbook.wbk

git commit -m 'restoring previous version'

 

cat \!files-by-uuid/4590b7f2-f481-4ae0-afb1-2c7171bfbf57.json

This is the current structure of the json file(the previous version) and i wanted this to reflect in the workbook in datameer webUI, So I ran the below Curl(Rollback) command.

curl -k -u 'jjjj:xxx' -X PUT -H "Content-Type:application/json" -d @\!files-by-uuid/4590b7f2-f481-4ae0-afb1-2c7171bfbf57.json 'http://aaa.com:8443/api/filesystem/workbook-rollback'

 

It returns "curl: (52) Empty reply from server".

 

But, there is no change has been made in the woorkbook in datameer webUI.

 

So, how to get the previous version of the workbook?

 

Regards,

JJ

 

 

Jee

2 comments

  • Avatar
    Alan Mark

    Hi Jeeva,

    Thanks for letting us know you figured it out.  Is there a gap in the documentation that we should address?  What was the hangup?

     

    Thanks!

    0
Please sign in to leave a comment.