Skip to content
Snippets Groups Projects
Commit 8e1c2a42 authored by Konrad Krasnodebski's avatar Konrad Krasnodebski
Browse files

Fix tests

parent 2d663b19
No related branches found
No related tags found
2 merge requests!620Update version of default branch to 0.27.0-SNAPSHOT,!535Extend cron to catch about to expire legal tags
Pipeline #246741 failed
......@@ -41,7 +41,7 @@ public class LegalTagStatusJob {
@Autowired
private IFeatureFlag aboutToExpireLegalTagFeatureFlag;
@Value("${LEGALTAG_EXPIRATION}")
@Value("${LEGALTAG_EXPIRATION:}")
private String legalTagExpiration;
private String aboutToExpireFeatureFlagName = "featureFlag.aboutToExpireLegalTag.enabled";
......
......@@ -9,9 +9,10 @@ import org.opengroup.osdu.core.common.model.http.DpsHeaders;
import org.opengroup.osdu.core.aws.sns.AmazonSNSConfig;
import org.opengroup.osdu.core.aws.sns.PublishRequestBuilder;
import org.opengroup.osdu.legal.provider.interfaces.IAboutToExpireLegalTagPublisher;
import org.opengroup.osdu.legal.jobs.models.AboutToExpireLegalTags;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
import org.opengroup.osdu.legal.jobs.models.AboutToExpireLegalTags;
import javax.annotation.PostConstruct;
import javax.inject.Inject;
......
package org.opengroup.osdu.legal.aws.jobs;
import org.opengroup.osdu.core.common.model.http.DpsHeaders;
import org.opengroup.osdu.legal.provider.interfaces.IAboutToExpireLegalTagPublisher;
import org.opengroup.osdu.legal.jobs.models.AboutToExpireLegalTags;
import org.springframework.stereotype.Service;
@Service
public class AboutToExpireLegalTagPublisherImpl implements IAboutToExpireLegalTagPublisher {
@Override
public void publish(String projectId, DpsHeaders headers, AboutToExpireLegalTags aboutToExpireLegalTags) {
// to be implemented
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment