Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ENABLE_EXTERNAL_BOOK_SERVICE (0.47 sec)

  1. samples/bookinfo/src/details/Dockerfile

    COPY Gemfile /opt/microservices/
    RUN bundle install
    
    COPY details.rb /opt/microservices/
    
    ARG service_version
    ENV SERVICE_VERSION ${service_version:-v1}
    ARG enable_external_book_service
    ENV ENABLE_EXTERNAL_BOOK_SERVICE ${enable_external_book_service:-false}
    
    EXPOSE 9080
    
    CMD ["ruby", "details.rb", "9080"]
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 23:56:37 UTC 2024
    - 958 bytes
    - Viewed (0)
  2. samples/bookinfo/src/docker-bake.hcl

        args = {
          service_version = "v1"
        }
        source = "details"
      },
      {
        name = "examples-bookinfo-details-v2"
        args = {
          service_version              = "v2"
          enable_external_book_service = true
        }
        source = "details"
      },
    
      // Reviews
      {
        name = "examples-bookinfo-reviews-v1"
        args = {
          service_version = "v1"
        }
        source = "reviews"
      },
      {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 23:56:37 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. samples/bookinfo/src/details/details.rb

            res['Content-Type'] = 'application/json'
            res.status = 400
        end
    end
    
    # TODO: provide details on different books.
    def get_book_details(id, headers)
        if ENV['ENABLE_EXTERNAL_BOOK_SERVICE'] === 'true' then
          # the ISBN of one of Comedy of Errors on the Amazon
          # that has Shakespeare as the single author
            isbn = '0486424618'
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 14:35:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top