diff --git a/.github/actions/docker-build-publish/action.yml b/.github/actions/docker-build-publish/action.yml index 8631238..d26d50d 100644 --- a/.github/actions/docker-build-publish/action.yml +++ b/.github/actions/docker-build-publish/action.yml @@ -43,11 +43,11 @@ runs: if: ${{ github.ref == 'refs/heads/main' && success() }} shell: bash run: | - docker build -t ${{ inputs.registry-username }}/${{ inputs.image-name }}:v1.6.6 -f "${{ github.workspace }}/${{ inputs.dockerfile-path }}" . + docker build -t ${{ inputs.registry-username }}/${{ inputs.image-name }}:v1.6.7 -f "${{ github.workspace }}/${{ inputs.dockerfile-path }}" . - name: Publish Docker Image if: ${{ github.ref == 'refs/heads/main' && success() }} shell: bash run: | - docker push ${{ inputs.registry-username }}/${{ inputs.image-name }}:v1.6.6 + docker push ${{ inputs.registry-username }}/${{ inputs.image-name }}:v1.6.7 diff --git a/booking.rest b/booking.rest index 049a1f1..7f5728d 100644 --- a/booking.rest +++ b/booking.rest @@ -1,5 +1,9 @@ # https://github.com/Huachao/vscode-restclient -@api-gateway=https://localhost:5000 + +// for using kubernetes revers proxy uncomment this gateway +# @api-gateway=https://booking-microservices.com + +@api-gateway=https://localhost:5000 @identity-api=http://localhost:6005 @flight-api=https://localhost:5003 @passenger-api=https://localhost:5012 diff --git a/deployments/k8s/booking.yml b/deployments/k8s/booking.yml index e4c72d5..6cadfd4 100644 --- a/deployments/k8s/booking.yml +++ b/deployments/k8s/booking.yml @@ -15,7 +15,7 @@ spec: app: booking spec: containers: - - image: meysamh66/booking-microservices-booking:v1.6.5 + - image: meysamh66/booking-microservices-booking:v1.6.6 name: booking ports: - containerPort: 80 diff --git a/deployments/k8s/flight.yml b/deployments/k8s/flight.yml index 249624f..97332f1 100644 --- a/deployments/k8s/flight.yml +++ b/deployments/k8s/flight.yml @@ -15,7 +15,7 @@ spec: app: flight spec: containers: - - image: meysamh66/booking-microservices-flight:v1.6.5 + - image: meysamh66/booking-microservices-flight:v1.6.6 name: flight ports: - containerPort: 80 diff --git a/deployments/k8s/identity.yml b/deployments/k8s/identity.yml index 674432e..2599ddb 100644 --- a/deployments/k8s/identity.yml +++ b/deployments/k8s/identity.yml @@ -15,7 +15,7 @@ spec: app: identity spec: containers: - - image: meysamh66/booking-microservices-identity:v1.6.5 + - image: meysamh66/booking-microservices-identity:v1.6.6 name: identity ports: - containerPort: 80 diff --git a/deployments/k8s/passenger.yml b/deployments/k8s/passenger.yml index f291f82..6bd912f 100644 --- a/deployments/k8s/passenger.yml +++ b/deployments/k8s/passenger.yml @@ -15,7 +15,7 @@ spec: app: passenger spec: containers: - - image: meysamh66/booking-microservices-passenger:v1.6.5 + - image: meysamh66/booking-microservices-passenger:v1.6.6 name: passenger ports: - containerPort: 80 diff --git a/src/Services/Identity/src/Identity/Extensions/Infrastructure/InfrastructureExtensions.cs b/src/Services/Identity/src/Identity/Extensions/Infrastructure/InfrastructureExtensions.cs index 1e6fa90..85c2e6b 100644 --- a/src/Services/Identity/src/Identity/Extensions/Infrastructure/InfrastructureExtensions.cs +++ b/src/Services/Identity/src/Identity/Extensions/Infrastructure/InfrastructureExtensions.cs @@ -96,12 +96,6 @@ public static class InfrastructureExtensions app.UseForwardedHeaders(); - app.Use((context, next) => - { - context.Request.Scheme = "https"; - return next(); - }); - app.UseProblemDetails(); app.UseSerilogRequestLogging(options => {