Skip to content

Update the examples to use the declarative configuration #345

Description

@coryan

After adding gcf::MakeFunction() to declarative define functions, we need to update the examples. This a a tracking bug for these updates:

  • Create the v1.1.0 release
  • Update vcpkg to use v1.1.0
  • Update buildpacks to use v1.1.0
  • Automate the process to extract code into the "How-to Guides".
  • Update examples/hello_gcs/hello_gcs.cc
  • Update examples/hello_world/hello_world.cc
  • Update examples/hello_from_nested_namespace/hello_from_nested_namespace.cc
  • Update examples/hello_multiple_sources/hello_multiple_sources.cc
  • Update examples/hello_multiple_sources/greeting.cc
  • Update examples/hello_cloud_event/hello_cloud_event.cc
  • Update examples/hello_from_namespace/hello_from_namespace.cc
  • Update examples/hello_with_third_party/hello_with_third_party.cc
  • Update examples/howto_use_legacy_code/main.cc
  • Update examples/howto_use_legacy_code/howto_use_legacy_code.cc
  • Update examples/site/hello_world_get/hello_world_get.cc
  • Update examples/site/hello_world_http/hello_world_http.cc
  • Update examples/site/hello_world_error/hello_world_error.cc
  • Update examples/site/hello_world_storage/hello_world_storage.cc
  • Update examples/site/http_content/http_content.cc
  • Update examples/site/http_cors/http_cors.cc
  • Update examples/site/http_method/http_method.cc
  • Update examples/site/http_form_data/http_form_data.cc
  • Update examples/site/tutorial_cloud_spanner/tutorial_cloud_spanner.cc
  • Update examples/site/tips_lazy_globals/tips_lazy_globals.cc
  • Update examples/site/concepts_after_timeout/concepts_after_timeout.cc
  • Update examples/site/testing_http/http_unit_test.cc
  • Update examples/site/testing_http/http_integration_test.cc
  • Update examples/site/testing_http/http_integration_server.cc
  • Update examples/site/concepts_filesystem/concepts_filesystem.cc
  • Update examples/site/howto_local_development/local_server.cc
  • Update examples/site/concepts_stateless/concepts_stateless.cc
  • Update examples/site/tutorial_cloud_bigtable/tutorial_cloud_bigtable.cc
  • Update examples/site/bearer_token/bearer_token.cc
  • Update examples/site/http_cors_auth/http_cors_auth.cc
  • Update examples/site/concepts_request/concepts_request.cc
  • Update examples/site/concepts_after_response/concepts_after_response.cc
  • Update examples/site/tips_scopes/tips_scopes.cc
  • Update examples/site/tips_infinite_retries/tips_infinite_retries.cc
  • Update examples/site/hello_world_pubsub/hello_world_pubsub.cc
  • Update examples/site/log_stackdriver/log_stackdriver.cc
  • Update examples/site/log_helloworld/log_helloworld.cc
  • Update examples/site/testing_storage/storage_system_test.cc
  • Update examples/site/testing_storage/storage_integration_test.cc
  • Update examples/site/testing_storage/storage_unit_test.cc
  • Update examples/site/testing_storage/storage_integration_server.cc
  • Update examples/site/pubsub_subscribe/pubsub_subscribe.cc
  • Update examples/site/tips_gcp_apis/tips_gcp_apis.cc
  • Update examples/site/http_xml/http_xml.cc
  • Update examples/site/testing_pubsub/pubsub_unit_test.cc
  • Update examples/site/testing_pubsub/pubsub_integration_test.cc
  • Update examples/site/testing_pubsub/pubsub_system_test.cc
  • Update examples/site/testing_pubsub/pubsub_integration_server.cc
  • Update examples/site/tips_retry/tips_retry.cc
  • Update examples/site/env_vars/env_vars.cc

Activity

  1. added
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    on Mar 16, 2022
  2. self-assigned this
    on Mar 16, 2022
  3. coryan commented on Jul 6, 2023

    @coryan
    ContributorAuthor

    I am marking this as done, because all the examples now use the declarative configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions