Skip to content

Commit

Permalink
Adding zip packaging and read only profile
Browse files Browse the repository at this point in the history
  • Loading branch information
estigma88 committed May 18, 2024
1 parent 5d25ad2 commit 08c90ec
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 27 deletions.
27 changes: 0 additions & 27 deletions src/assembly/bin.xml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package com.coderstower.socialmediapubisher.application.linkedin;

import com.coderstower.socialmediapubisher.extesion.ITestExtension;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ActiveProfiles;


@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
@ActiveProfiles("read-only")
@ExtendWith(ITestExtension.class)
public class ReadOnlyNoPublishTest {

@Test
public void testContext() {

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

import com.coderstower.socialmediapubisher.domain.security.OAuth2CredentialsManager;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Profile;
import org.springframework.http.ResponseEntity;
import org.springframework.security.oauth2.client.OAuth2AuthorizedClient;
import org.springframework.security.oauth2.client.annotation.RegisteredOAuth2AuthorizedClient;
Expand All @@ -13,6 +14,7 @@

@RestController
@Slf4j
@Profile("linkedin")
public class OAuth2CredentialsController {
private final OAuth2CredentialsManager oAuth2CredentialsManager;

Expand Down

0 comments on commit 08c90ec

Please sign in to comment.