You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/05/05 08:44:00 UTC

[jira] [Work logged] (BEAM-14081) [CdapIO] Design and implement Context wrapper class

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

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

                Author: ASF GitHub Bot
            Created on: 05/May/22 08:43
            Start Date: 05/May/22 08:43
    Worklog Time Spent: 10m 
      Work Description: Amar3tto commented on PR #17104:
URL: https://github.com/apache/beam/pull/17104#issuecomment-1118310455

   Run Java PreCommit




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

    Worklog Id:     (was: 766513)
    Time Spent: 7.5h  (was: 7h 20m)

> [CdapIO] Design and implement Context wrapper class
> ---------------------------------------------------
>
>                 Key: BEAM-14081
>                 URL: https://issues.apache.org/jira/browse/BEAM-14081
>             Project: Beam
>          Issue Type: Task
>          Components: io-java-cdap
>            Reporter: Elizaveta Lomteva
>            Assignee: Igor Krasavin
>            Priority: P2
>              Labels: cdap-io-sprint-2
>          Time Spent: 7.5h
>  Remaining Estimate: 0h
>
> h3. Context:
> CDAP plugins use context classes (ex. {{{}io.cdap.cdap.etl.api.batch.BatchSourceContext{}}}) to provide the updates and support additional logic (ex. [FailureCollector|https://github.com/data-integrations/salesforce/blob/d0d83fd82bbdbbb7ef07168f3b1698eebdc90c3e/src/main/java/io/cdap/plugin/salesforce/plugin/source/batch/SalesforceBatchSource.java#L96] or [getting timestamp|https://github.com/data-integrations/salesforce/blob/d0d83fd82bbdbbb7ef07168f3b1698eebdc90c3e/src/main/java/io/cdap/plugin/salesforce/plugin/source/batch/SalesforceBatchSource.java#L111]) in Source or Sink class methods (ex. {{{}SalesforceBatchSink{}}}).
> h3. Task Description:
> Required to design wrapper class(es) (it could be an heir of the original class) for the CDAP context classes so that the CDAP context instance can be created in the Apache Beam connector and used when calling the Source/Sink methods that require the context as an argument (ex. {{prepareRun(BatchSinkContext context)}} [method|https://github.com/data-integrations/salesforce/blob/d0d83fd82bbdbbb7ef07168f3b1698eebdc90c3e/src/main/java/io/cdap/plugin/salesforce/plugin/sink/batch/SalesforceBatchSink.java#L67]).
> h3. Acceptance criteria:
> Class diagram and source code of CDAP context logic wrapper class(es) that will provide an original context class logic



--
This message was sent by Atlassian Jira
(v8.20.7#820007)