diff --git a/pom.xml b/pom.xml
index bffda29..98b30a0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -8,7 +8,7 @@
jar
1.0.0-SNAPSHOT
CipherStream API
- https://cipherstream.mattrixwv.com/api
+ https://api.cipherstream.mattrixwv.com
diff --git a/src/main/java/com/mattrixwv/cipherstream/aspect/CipherStreamLoggingAspect.java b/src/main/java/com/mattrixwv/cipherstream/aspect/CipherStreamLoggingAspect.java
index a1958af..9d7c74f 100644
--- a/src/main/java/com/mattrixwv/cipherstream/aspect/CipherStreamLoggingAspect.java
+++ b/src/main/java/com/mattrixwv/cipherstream/aspect/CipherStreamLoggingAspect.java
@@ -23,12 +23,17 @@ public class CipherStreamLoggingAspect{
//Intentionally blank
}
+ @Pointcut("@annotation(org.springframework.web.bind.annotation.PostMapping)")
+ public void postFunction(){
+ //Intentionally blank
+ }
+
@Pointcut("execution(* com.mattrixwv.cipherstream.controller..*(..))")
public void cipherMethod(){
//Intentionally blank
}
- @AfterReturning(pointcut = "cipherMethod() && mappedFunction()", returning = "returnedJson")
+ @AfterReturning(pointcut = "cipherMethod() && postFunction()", returning = "returnedJson")
public void getCipherInfo(ObjectNode returnedJson){
//Print a log
log.info("CipherStream log {}", returnedJson);