[ 
https://issues.apache.org/jira/browse/BEAM-13632?focusedWorklogId=713861&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-713861
 ]

ASF GitHub Bot logged work on BEAM-13632:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 24/Jan/22 15:46
            Start Date: 24/Jan/22 15:46
    Worklog Time Spent: 10m 
      Work Description: KhaninArtur commented on a change in pull request 
#16493:
URL: https://github.com/apache/beam/pull/16493#discussion_r790873989



##########
File path: playground/backend/internal/cache/cache.go
##########
@@ -75,4 +79,10 @@ type Cache interface {
 
        // SetExpTime adds expiration time of the pipeline to cache by 
pipelineId.
        SetExpTime(ctx context.Context, pipelineId uuid.UUID, expTime 
time.Duration) error
+
+       // SetCatalog adds the given catalog to cache by ExamplesCatalog key.
+       SetCatalog(ctx context.Context, catalog []*pb.Categories) error
+
+       // GetCatalog return catalog from cache by ExamplesCatalog key.
+       GetCatalog(ctx context.Context) ([]*pb.Categories, error)

Review comment:
       Yes, we save it without the workaround with nil pipelined as It was 
before.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 713861)
    Time Spent: 1h 50m  (was: 1h 40m)

> Save catalog data to the cache
> ------------------------------
>
>                 Key: BEAM-13632
>                 URL: https://issues.apache.org/jira/browse/BEAM-13632
>             Project: Beam
>          Issue Type: Sub-task
>          Components: beam-playground
>            Reporter: Artur Khanin
>            Assignee: Artur Khanin
>            Priority: P2
>              Labels: beam-playground-backend
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to