Jira (PUP-10440) Remove networking code from the parent REST terminus

閲覧: 0 回
最初の未読メッセージにスキップ

Josh Cooper (Jira)

未読、
2020/04/23 17:30:042020/04/23
To: puppe...@googlegroups.com
Josh Cooper created an issue
 
Puppet / Bug PUP-10440
Remove networking code from the parent REST terminus
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2020/04/23 2:29 PM
Fix Versions: PUP 7.0.0
Priority: Normal Normal
Reporter: Josh Cooper

In 6.14.0, all of puppet's rest termini for a specific model, e.g. Puppet::Indirector::Catalog::Rest, use the http client to make REST requests. However, the abstract parent Puppet::Indirector::Rest still uses the legacy http code.

This ticket is to have the parent's find, search, etc methods raise a NotImplementedError, and delete the supporting methods like headers, network, server, port, srv_service, etc

Also delete Puppet::Util::Connection

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Melissa Stone (Jira)

未読、
2020/04/30 17:21:032020/04/30
To: puppe...@googlegroups.com
Melissa Stone commented on Bug PUP-10440
 
Re: Remove networking code from the parent REST terminus

Almost everything in lib/puppet/indirector/rest.rb.

We aren't storing state, compression module goes agay, server and port settings, do_request, private methods, handle_response, etc

NotImplementedError for get, post, head, etc

maybe keep:
`use_http_client?`
`validate_key` def needs to stay

Josh Cooper (Jira)

未読、
2020/07/23 22:38:032020/07/23
To: puppe...@googlegroups.com
Josh Cooper updated an issue
 
Change By: Josh Cooper
In 6.14.0, all of puppet's rest termini for a specific model, e.g. {{Puppet::Indirector::Catalog::Rest}}, use the http client to make REST requests. However, the abstract parent {{Puppet::Indirector::Rest}} still uses the legacy http code.

This ticket is to have the parent's find, search, etc methods raise a NotImplementedError, and delete the supporting methods like headers, network, server, port, srv_service, etc

Also delete Puppet::Util::Connection

Josh Cooper (Jira)

未読、
2020/07/24 19:14:032020/07/24
To: puppe...@googlegroups.com

Josh Cooper (Jira)

未読、
2020/07/29 10:57:032020/07/29
To: puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Sprint: Platform Core KANBAN

Josh Cooper (Jira)

未読、
2020/07/29 17:24:032020/07/29
To: puppe...@googlegroups.com

Josh Cooper (Jira)

未読、
2020/08/06 13:13:032020/08/06
To: puppe...@googlegroups.com

Josh Cooper (Jira)

未読、
2020/08/06 17:29:032020/08/06
To: puppe...@googlegroups.com

Josh Cooper (Jira)

未読、
2020/08/06 18:46:042020/08/06
To: puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Release Notes: Bug Fix
Release Notes Summary: This is a breaking change for any REST terminus that relies on the parent REST terminus to perform the network request and process the response. REST termini must implement the find, search, save and destroy methods that make sense for their indirected model.

Claire Cadman (Jira)

未読、
2020/11/10 4:54:022020/11/10
To: puppe...@googlegroups.com
Claire Cadman updated an issue
Change By: Claire Cadman
Labels: doc_reviewed platform_7
全員に返信
投稿者に返信
転送
新着メール 0 件