# methode-image-set-mapper **Repository Path**: mirrors_Financial-Times/methode-image-set-mapper ## Basic Information - **Project Name**: methode-image-set-mapper - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-24 - **Last Updated**: 2026-03-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [![CircleCI](https://circleci.com/gh/Financial-Times/methode-image-set-mapper.svg?style=svg)](https://circleci.com/gh/Financial-Times/methode-image-set-mapper) [![Coverage Status](https://coveralls.io/repos/github/Financial-Times/methode-image-set-mapper/badge.svg)](https://coveralls.io/github/Financial-Times/methode-image-set-mapper) # Methode Image Set Mapper This is a web application which listens to the NativeCmsPublicationEvents Kafka topic for publishing events coming from Methode and process only the messages containing an image. It extracts the image metadata, creates a set of images containing only the published image and writes it to the CmsPublicationEvents topic. ## Introduction The service listens to the NativeCmsPublicationEvents Kafka topic and ingests the image messages coming from Methode. The image messages coming from Methode have the header: `Origin-System-Id: http://cmdb.ft.com/systems/methode-web-pub` and the JSON payload has the field `"type":"Image"`. Other messages are discarded. The difference between this and methode-image-model-mapper is that this service produces a message containing a list having one image member instead of an image message. ## Mapping ### Methode XPATH to image set mapping
UPP field Methode Field - xpath
title /meta/picture/web_information/caption
description /meta/picture/web_information/alt_tag
pixelWidth /props/imageInfo/width
pixelHeight /props/imageInfo/height
mediaType /props/imageInfo/fileType
## Running locally To compile, run tests and build jar mvn clean verify To run locally, run: java -jar target/methode-image-set-mapper.jar server methode-image-set-mapper.yaml ## Healthchecks http://localhost:16080/__health ## Admin Endpoint http://localhost:16081