# methode-image-model-mapper **Repository Path**: mirrors_Financial-Times/methode-image-model-mapper ## Basic Information - **Project Name**: methode-image-model-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-model-mapper.svg?style=svg)](https://circleci.com/gh/Financial-Times/methode-image-model-mapper) [![Coverage Status](https://coveralls.io/repos/github/Financial-Times/methode-image-model-mapper/badge.svg)](https://coveralls.io/github/Financial-Times/methode-image-model-mapper) # Methode Image Model 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 message with this information and writes it to the CmsPublicationEvents topic. 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. Maps Graphics types as well. External images, from custom whitelisted URLs can be mapped if the `ExternalUrl` property is set. This means that the binary from the Methode payload will not apply, it is ignored and the linked image is from the third party. ## Running locally To compile, run tests and build jar mvn clean verify To run locally, run: java -jar target/methode-image-model-mapper.jar server methode-image-model-mapper.yaml ## Healthchecks http://localhost:16080/__health ## Admin Endoint http://localhost:16081