Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: cloudquery/plugin-sdk
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ce1389e
Choose a base ref
...
head repository: cloudquery/plugin-sdk
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: a4ac1b2
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Nov 7, 2022

  1. fix: Module parameter in logs of source-plugins (#364)

    #### Summary
    
    Before, 'module' always showed as 'cli', even for source plugins.
    destination-plugins will be done in a follow-up PR.
    
    logs before this PR:
    ```
    2022-11-07T13:13:51Z INF Table exists, auto-migrating module=pg-dest table=aws_wafv2_rule_groups
    2022-11-07T13:13:51Z INF Migrating table module=pg-dest table=aws_wafv2_web_acls
    2022-11-07T13:13:51Z INF Table exists, auto-migrating module=pg-dest table=aws_wafv2_web_acls
    2022-11-07T13:13:51Z INF Migrating table module=pg-dest table=aws_workspaces_workspaces
    2022-11-07T13:13:51Z INF Table exists, auto-migrating module=pg-dest table=aws_workspaces_workspaces
    2022-11-07T13:13:51Z INF Migrating table module=pg-dest table=aws_workspaces_directories
    2022-11-07T13:13:51Z INF Table exists, auto-migrating module=pg-dest table=aws_workspaces_directories
    2022-11-07T13:13:51Z INF Migrating table module=pg-dest table=aws_xray_encryption_config
    2022-11-07T13:13:51Z INF Table exists, auto-migrating module=pg-dest table=aws_xray_encryption_config
    2022-11-07T13:13:51Z INF Migrating table module=pg-dest table=aws_xray_groups
    2022-11-07T13:13:51Z INF Table exists, auto-migrating module=pg-dest table=aws_xray_groups
    2022-11-07T13:13:51Z INF Migrating table module=pg-dest table=aws_xray_sampling_rules
    2022-11-07T13:13:51Z INF Table exists, auto-migrating module=pg-dest table=aws_xray_sampling_rules
    2022-11-07T13:13:51Z INF finished call grpc.code=OK grpc.component=server grpc.method=Migrate grpc.method_type=unary grpc.service=proto.Destination grpc.start_time=2022-11-07T15:13:49+02:00 grpc.time_ms=1358.043 module=cli protocol=grpc
    2022-11-07T13:13:51Z INF Start fetching resources destinations=["postgresql"] module=cli source=aws
    2022-11-07T13:13:51Z INF started call grpc.code=OK grpc.component=server grpc.method=Sync2 grpc.method_type=server_stream grpc.service=proto.Source grpc.start_time=2022-11-07T15:13:51+02:00 grpc.time_ms=0.034 module=cli protocol=grpc
    2022-11-07T13:13:51Z INF started call grpc.code=OK grpc.component=server grpc.method=Write2 grpc.method_type=client_stream grpc.service=proto.Destination grpc.start_time=2022-11-07T15:13:51+02:00 grpc.time_ms=3.098 module=cli protocol=grpc
    2022-11-07T13:13:51Z INF All regions specified in `cloudquery.yml`. Assuming all regions module=cli
    2022-11-07T13:13:53Z INF table resolver started client=615713231484:eu-north-1 module=cli table=aws_ec2_vpcs
    2022-11-07T13:13:53Z INF table resolver started client=615713231484:ap-southeast-2 module=cli table=aws_ec2_vpcs
    2022-11-07T13:13:53Z INF table resolver started client=615713231484:eu-west-2 module=cli table=aws_ec2_vpcs
    2022-11-07T13:13:53Z INF table resolver started client=615713231484:us-west-2 module=cli table=aws_ec2_vpcs
    2022-11-07T13:13:53Z INF table resolver started client=615713231484:eu-central-1 module=cli table=aws_ec2_vpcs
    2022-11-07T13:13:53Z INF table resolver started client=615713231484:ap-south-1 module=cli table=aws_ec2_vpcs
    2022-11-07T13:13:53Z INF table resolver started client=615713231484:eu-west-1 module=cli table=aws_ec2_vpcs
    ```
    
    logs after this PR
    ```
    2022-11-07T13:17:17Z INF Migrating table module=pg-dest table=aws_workspaces_directories
    2022-11-07T13:17:17Z INF Table exists, auto-migrating module=pg-dest table=aws_workspaces_directories
    2022-11-07T13:17:17Z INF Migrating table module=pg-dest table=aws_xray_encryption_config
    2022-11-07T13:17:17Z INF Table exists, auto-migrating module=pg-dest table=aws_xray_encryption_config
    2022-11-07T13:17:17Z INF Migrating table module=pg-dest table=aws_xray_groups
    2022-11-07T13:17:17Z INF Table exists, auto-migrating module=pg-dest table=aws_xray_groups
    2022-11-07T13:17:17Z INF Migrating table module=pg-dest table=aws_xray_sampling_rules
    2022-11-07T13:17:17Z INF Table exists, auto-migrating module=pg-dest table=aws_xray_sampling_rules
    2022-11-07T13:17:17Z INF finished call grpc.code=OK grpc.component=server grpc.method=Migrate grpc.method_type=unary grpc.service=proto.Destination grpc.start_time=2022-11-07T15:17:16+02:00 grpc.time_ms=1127.082 module=cli protocol=grpc
    2022-11-07T13:17:17Z INF Start fetching resources destinations=["postgresql"] module=cli source=aws
    2022-11-07T13:17:17Z INF started call grpc.code=OK grpc.component=server grpc.method=Sync2 grpc.method_type=server_stream grpc.service=proto.Source grpc.start_time=2022-11-07T15:17:17+02:00 grpc.time_ms=0.037 module=cli protocol=grpc
    2022-11-07T13:17:17Z INF started call grpc.code=OK grpc.component=server grpc.method=Write2 grpc.method_type=client_stream grpc.service=proto.Destination grpc.start_time=2022-11-07T15:17:17+02:00 grpc.time_ms=3.896 module=cli protocol=grpc
    2022-11-07T13:17:17Z INF All regions specified in `cloudquery.yml`. Assuming all regions module=aws-src
    2022-11-07T13:17:19Z INF table resolver started client=615713231484:eu-central-1 module=aws-src table=aws_ec2_vpcs
    2022-11-07T13:17:19Z INF table resolver started client=615713231484:us-east-2 module=aws-src table=aws_ec2_vpcs
    2022-11-07T13:17:19Z INF table resolver started client=615713231484:ap-southeast-2 module=aws-src table=aws_ec2_vpcs
    2022-11-07T13:17:19Z INF table resolver started client=615713231484:ap-south-1 module=aws-src table=aws_ec2_vpcs
    2022-11-07T13:17:19Z INF table resolver started client=615713231484:ap-northeast-1 module=aws-src table=aws_ec2_vpcs
    2022-11-07T13:17:19Z INF table resolver started client=615713231484:eu-west-2 module=aws-src table=aws_ec2_vpcs
    2022-11-07T13:17:19Z INF table resolver started client=615713231484:eu-west-3 module=aws-src table=aws_ec2_vpcs
    ```
    shimonp21 authored Nov 7, 2022
    Configuration menu
    Copy the full SHA
    379d3e6 View commit details
    Browse the repository at this point in the history
  2. chore(main): Release v1.0.1 (#365)

    🤖 I have created a release *beep* *boop*
    ---
    
    
    ## [1.0.1](v1.0.0...v1.0.1) (2022-11-07)
    
    
    ### Bug Fixes
    
    * Module parameter in logs of source-plugins ([#364](#364)) ([379d3e6](379d3e6))
    
    ---
    This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
    cq-bot authored Nov 7, 2022
    Configuration menu
    Copy the full SHA
    a4ac1b2 View commit details
    Browse the repository at this point in the history
Loading