hunk.code_window:                 .get()
                   .exchange()
                   .flatMap(response -> response.bodyToMono(new ParameterizedTypeReference<ResponseDTO<MockDataDTO>>() {}))
                   .map(result -> result.getData())
                   .map(config -> {
                       mockData = config;
                       cacheExpiryTime = Instant.now().plusSeconds(2 * 60 * 60);
                       return config;
  
hunk.labels: keep keep replace replace keep keep keep keep
hunk.after_edit:                 .flatMap(response -> {
                       if (response.statusCode().is2xxSuccessful()) {
                           return response.bodyToMono(new ParameterizedTypeReference<ResponseDTO<MockDataDTO>>() {
                           });
                       } else {
                           return Mono.error(new AppsmithException(
                                   AppsmithError.CLOUD_SERVICES_ERROR,
                                   "Unable to connect to cloud-services with error status {}", response.statusCode()));
                       }
                   })
                   .map(ResponseDTO::getData)
  
hunk.file_path: app/server/appsmith-server/src/main/java/com/appsmith/server/services/MockDataServiceImpl.java
hunk.type: replace
file: ## Goal
  - Build appsmith-ce image support multiple architecture (amd64 & arm64)
  
  ## Setup Build Environment
  - Follow docker buildx guide to setup buildx environment [https://docs.docker.com/buildx/working-with-buildx/](https://docs.docker.com/buildx/working-with-buildx/)
  - Command to setup buildx
  ```
  docker buildx create --name builder --driver docker-container --use
  docker buildx inspect --bootstrap
  ```
  
  ## Build
  - Run command below to build & push multi-arch image to docker registry
  ```
  docker buildx build --platform linux/arm64,linux/amd64 --push -t appsmith/appsmith-ce  .
  ```
  - To read more option of `buildx build`, read more at: [https://github.com/docker/buildx/blob/master/docs/reference/buildx_build.md](https://github.com/docker/buildx/blob/master/docs/reference/buildx_build.md)
  