Jira (PUP-10146) Add File HTTP service

2020-01-17 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-10146  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Add File HTTP service   
 

  
 
 
 
 

 
 Passed master CI in 1f28c53d4765f87eda1045c4910cbd05de93c68f  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.335807.157412377.28880.1579290240352%40Atlassian.JIRA.


Jira (PUP-10146) Add File HTTP service

2020-01-15 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-10146  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Add File HTTP service   
 

  
 
 
 
 

 
 Merged to master in https://github.com/puppetlabs/puppet/commit/03ec3631fd88d0e23cc2a3d9b583520b6c6c2e98  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.335807.157412377.25354.1579116060975%40Atlassian.JIRA.


Jira (PUP-10146) Add File HTTP service

2020-01-15 Thread Melissa Stone (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Melissa Stone updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10146  
 
 
  Add File HTTP service   
 

  
 
 
 
 

 
Change By: 
 Melissa Stone  
 
 
Release Notes: 
 Not Needed  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.335807.157412377.25209.1579114560291%40Atlassian.JIRA.


Jira (PUP-10146) Add File HTTP service

2020-01-15 Thread Melissa Stone (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Melissa Stone updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10146  
 
 
  Add File HTTP service   
 

  
 
 
 
 

 
Change By: 
 Melissa Stone  
 
 
Fix Version/s: 
 PUP 6.13.0  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.335807.157412377.25202.1579114500316%40Atlassian.JIRA.


Jira (PUP-10146) Add File HTTP service

2020-01-08 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10146  
 
 
  Add File HTTP service   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 

  
 
 
 
 

 
 Implement a {{:file}} service with methods for:{noformat}get_file_metadataget_file_metadatasget_file_content{noformat}h4. get_file_metadata  (singular) Required arguments {{ : mount_point}}, {{ : path}}, {{environment}} , where {{mount_point}} can be {{modules}}, {{tasks}}, {{plugins}}, etc, and {{path}} is a file system path encoded in the URL. Optional arguments {{links}}, {{checksum_type}}, {{source_permissions}}, defaulting to whatever puppet 6 doesUse the {{Content-Type}} header in the response to lookup the network formatter.  If the {{Content-Type}} contains a {{charset}}, force encode the response body that that encoding.  Use the formatter to deserialize the {{Puppet::FileServing::Metadata}} instance.If the response code is 404, then I believe we want to treat that as not an error (due to a long standing puppet bug). For example, here is a file request, where the {{mount=modules}} and {{path=foo/file}}:{noformat}HTTP GET https://brown-flurry.delivery.puppetlabs.net:8140/puppet/v3/file_metadata/modules/foo/file?environment=production&links=manage&checksum_type=md5&source_permissions=ignore{noformat}And a directory request, where the {{mount=modules}} and {{path=foo/directory}}{noformat}HTTP GET https://brown-flurry.delivery.puppetlabs.net:8140/puppet/v3/file_metadata/modules/foo/directory?environment=production&links=manage&checksum_type=md5&source_permissions=ignore{noformat} h4. get_file_metadatas  (plural) Required arguments {{ : mount_point}}, {{ : environment}}Optional arguments {{ path}}, {{ environment recurse }} Optional arguments ,  {{ recurse recurselimit }}, {{ignore}}, {{links}}, {{checksum_type}}, {{source_permissions}} . Note {{ignore}} can have multiple values, so we should accept an array of values. Use the {{Content-Type}} header in the response to lookup the network formatter. Use the formatter to deserialize an array of {{Puppet::FileServing::Metadata}} instances. If the response code is 404 For example ,  then I believe we want to treat that as not an error (due to  here is  a  long standing  recursive directory request:{noformat}HTTP GET https://brown-flurry.delivery.puppetlabs.net:8140/  puppet  bug) /v3/file_metadatas/modules/foo/directory?environment=production&links=manage&recurse=true&source_permissions=ignore&checksum_type=md5 {noformat}The {{path}} can be omitted when recursing the top-level mount such as {{pluginsync}}:{noformat}HTTP GET https://brown-flurry . delivery.puppetlabs.net:8140/puppet/v3/file_metadatas/plugins?environment=production&links=follow&recurse=true&source_permissions=ignore&ignore=.svn&ignore=CVS&ignore=.git&ignore=.hg&checksum_type=md5  {noformat}   h4. get_file_contentRequired arguments {{:mount_point}}, {{:path}}Always set header {{Accept: application/octet-stream}}.Force encode the response body as {{Encoding::BINARY}}.Stream the response body to the caller.  
 
  

Jira (PUP-10146) Add File HTTP service

2020-01-02 Thread Melissa Stone (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Melissa Stone updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10146  
 
 
  Add File HTTP service   
 

  
 
 
 
 

 
Change By: 
 Melissa Stone  
 
 
Sprint: 
 Coremunity Hopper Platform Core KANBAN  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.335807.157412377.11023.1577989620567%40Atlassian.JIRA.


Jira (PUP-10146) Add File HTTP service

2020-01-02 Thread Melissa Stone (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Melissa Stone assigned an issue to Melissa Stone  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10146  
 
 
  Add File HTTP service   
 

  
 
 
 
 

 
Change By: 
 Melissa Stone  
 
 
Assignee: 
 Melissa Stone  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.335807.157412377.11020.1577989620436%40Atlassian.JIRA.


Jira (PUP-10146) Add File HTTP service

2019-12-30 Thread Melissa Stone (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Melissa Stone assigned an issue to Unassigned  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10146  
 
 
  Add File HTTP service   
 

  
 
 
 
 

 
Change By: 
 Melissa Stone  
 
 
Assignee: 
 Melissa Stone  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.335807.157412377.9922.1577731860311%40Atlassian.JIRA.


Jira (PUP-10146) Add File HTTP service

2019-12-30 Thread Melissa Stone (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Melissa Stone updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10146  
 
 
  Add File HTTP service   
 

  
 
 
 
 

 
Change By: 
 Melissa Stone  
 
 
Sprint: 
 Platform Core KANBAN Coremunity Hopper  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.335807.157412377.9925.1577731860444%40Atlassian.JIRA.


Jira (PUP-10146) Add File HTTP service

2019-12-20 Thread Melissa Stone (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Melissa Stone updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10146  
 
 
  Add File HTTP service   
 

  
 
 
 
 

 
Change By: 
 Melissa Stone  
 
 
Sprint: 
 Coremunity Hopper Platform Core KANBAN  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.335807.157412377.8492.1576874640212%40Atlassian.JIRA.


Jira (PUP-10146) Add File HTTP service

2019-12-20 Thread Melissa Stone (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Melissa Stone assigned an issue to Melissa Stone  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10146  
 
 
  Add File HTTP service   
 

  
 
 
 
 

 
Change By: 
 Melissa Stone  
 
 
Assignee: 
 Melissa Stone  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.335807.157412377.8490.1576874580090%40Atlassian.JIRA.


Jira (PUP-10146) Add File HTTP service

2019-12-18 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10146  
 
 
  Add File HTTP service   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 

  
 
 
 
 

 
 Implement a {{:file}} service with methods for:{noformat} GET /puppet/v3/file_metadata get_file_metadata  GET /puppet/v3/file_metadatas get_file_metadatas  GET /puppet/v3/file_content get_file_content {noformat} See Puppet::Indirector::Rest#headers for how to generate list of accepted headers h4.  file_metadata  get_file_metadata  Requires Required arguments  {{:mount_point}}, {{:path}}, {{environment}} , arguments  Optionally accepts Optional arguments  {{links}}, {{checksum_type}}, {{source_permissions}},  defaulting to whatever puppet 6 doesUse the  {{ ssl_context Content-Type }} Call  header in the response to lookup the network formatter. If the  {{ Puppet::FileServing::Metadata#render Content-Type }}  contains a {{charset}}, force encode the response body that that encoding. Use the formatter  to  serialize and  deserialize the  {{Puppet::FileServing::Metadata #mime }}  instance.If the response code is 404, then I believe we want  to  specify content-type  treat that as not an error (due to a long standing puppet bug). h4.  file_metadatas  get_file_metadatas  Requires Required arguments  {{:mount_point}}, {{:path}}, {{environment}}  arguments  Optionally accepts Optional arguments  {{recurse}}, {{ignore}}, {{links}}, {{checksum_type}}, {{source_permissions}} , {{ssl_context}}  Call Use the  {{ Puppet::FileServing::Metadata#render Content-Type }}  header in the response  to  serialize and  lookup the network formatter. Use the formatter to deserialize an array of  {{Puppet::FileServing::Metadata #mime }}  instances.If the response code is 404, then I believe we want  to  specify content-type  treat that as not an error (due to a long standing puppet bug). h4.  file_content  get_file_content  Require Required arguments  {{:mount_point}}, {{:path}} Optional accepts {{ssl_context}} Always  set header  {{Accept: application/octet-stream}}. Force encode the response body as {{Encoding::BINARY}}.Stream the response body to the caller.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  

Jira (PUP-10146) Add File HTTP service

2019-11-19 Thread Melissa Stone (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Melissa Stone updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10146  
 
 
  Add File HTTP service   
 

  
 
 
 
 

 
Change By: 
 Melissa Stone  
 
 
Sprint: 
 Coremunity Hopper  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.335807.157412377.39514.1574205600122%40Atlassian.JIRA.


Jira (PUP-10146) Add File HTTP service

2019-11-19 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10146  
 
 
  Add File HTTP service   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 

  
 
 
 
 

 
 Implement a {{:file}} service with methods for:{noformat}GET /puppet/v3/file_metadataGET /puppet/v3/file_metadatasGET /puppet/v3/file_content{noformat} See Puppet::Indirector::Rest#headers for how to generate list of accepted headers   h4. file_metadataRequires {{:mount_point}}, {{:path}}, {{environment}} ,  argumentsOptionally accepts {{links}}, {{checksum_type}}, {{source_permissions}} , {{ssl_context}}  Call {{Puppet::FileServing::Metadata#render}} to serialize and {{Puppet::FileServing::Metadata#mime}} to specify content-type   h4. file_metadatasRequires {{:mount_point}}, {{:path}}, {{environment}} argumentsOptionally accepts {{recurse}}, {{ignore}}, {{links}}, {{checksum_type}}, {{source_permissions}} , {{ssl_context}}  Call {{Puppet::FileServing::Metadata#render}} to serialize and {{Puppet::FileServing::Metadata#mime}} to specify content-type   h4. file_contentRequire {{:mount_point}}, {{:path}} Optional accepts {{ssl_context}}Always {{Accept: application/octet-stream}}.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

   

Jira (PUP-10146) Add File HTTP service

2019-11-18 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10146  
 
 
  Add File HTTP service   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 

  
 
 
 
 

 
 Implement a {{:file}} service with methods for:{noformat}GET /puppet/v3/file_metadataGET /puppet/v3/file_metadatasGET /puppet/v3/file_content{noformat}h4. file_metadataRequires {{:mount_point}}, {{:path}}, {{environment}} argumentsOptionally accepts {{links}}, {{checksum_type}}, {{source_permissions} } h4. file_metadatasRequires {{:mount_point}}, {{:path}}, {{environment}} argumentsOptionally accepts {{recurse}}, {{ignore}}, {{links}}, {{checksum_type}}, {{source_permissions} } h4. file_contentRequire {{:mount_point}}, {{:path}}  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/

Jira (PUP-10146) Add File HTTP service

2019-11-18 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10146  
 
 
  Add File HTTP service   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Team: 
 Coremunity  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.335807.157412377.37977.1574123880065%40Atlassian.JIRA.


Jira (PUP-10146) Add File HTTP service

2019-11-18 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10146  
 
 
  Add File HTTP service   
 

  
 
 
 
 

 
Issue Type: 
  Task  
 
 
Assignee: 
 Unassigned  
 
 
Created: 
 2019/11/18 4:36 PM  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Josh Cooper  
 

  
 
 
 
 

 
 Implement a :file service with methods for:  
 
 
 
 
 GET /puppet/v3/file_metadata  
 
 
 GET /puppet/v3/file_metadatas  
 
 
 GET /puppet/v3/file_content
  
 
 
 
  file_metadata Requires :mount_point, :path, environment arguments Optionally accepts links, checksum_type, {{source_permissions} file_metadatas Requires :mount_point, :path, environment arguments Optionally accepts recurse, ignore, links, checksum_type, {{source_permissions} file_content Require :mount_point, :path