salvatorenovelli/redirect-check


Having fun with Spring Cloud Stream

Download


Step 1. Add the JitPack repository to your build file

Add it in your root settings.gradle at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    

Step 2. Add the dependency

	dependencies {
		implementation 'com.github.salvatorenovelli:redirect-check:1.1.1'
	}
	dependencies {
		implementation("com.github.salvatorenovelli:redirect-check:1.1.1")
	}
	<dependency>
	    <groupId>com.github.salvatorenovelli</groupId>
	    <artifactId>redirect-check</artifactId>
	    <version>1.1.1</version>
	</dependency>

                            
    libraryDependencies += "com.github.salvatorenovelli" % "redirect-check" % "1.1.1"
        
        

                            
    :dependencies [[com.github.salvatorenovelli/redirect-check "1.1.1"]]
        
        

Readme


Build Status

redirect-check

Having fun with Spring Cloud Stream solving some real problem.

The basic idea of this project is to have an horizontally scalable system to analyze huge list of redirects, periodically.

Context

In SEO, during a website structure/domain migration is common to have a very long list of URLs that need to be redirected to another location, and this list needs to be checked periodically for completion and regression.

Creating such list is already cumbersome but verifying it (periodically) is repetitive, therefore should (must!) be automated.

In this project I'll use Spring Cloud and Spring Cloud Stream concepts, and once working, I'll migrate it to Reactive Streams