File tree Expand file tree Collapse file tree
src/main/java/com/smc/connector Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4949 id : docker_build_parser
5050 uses : docker/build-push-action@v2
5151 with :
52- file : email -parser/Dockerfile
52+ file : database -parser/python /Dockerfile
5353 push : true
5454 tags : smclab/openk9-database-parser:${{ steps.prep.outputs.version }}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Build Tagged Parser Docker Images:
1616 before_script :
1717 - docker login -u $CI_REGISTRY_USERNAME -p $CI_REGISTRY_PASSWORD $CI_REGISTRY_NAME
1818 script :
19- - docker build -t database-parser:${CI_COMMIT_REF_NAME} -f database-parser/Dockerfile .
19+ - docker build -t database-parser:${CI_COMMIT_REF_NAME} -f database-parser/python/ Dockerfile .
2020 - docker tag database-parser:${CI_COMMIT_REF_NAME} $CI_REGISTRY_NAME/openk9/database-parser:${CI_COMMIT_REF_NAME}
2121 - docker push $CI_REGISTRY_NAME/openk9/database-parser:${CI_COMMIT_REF_NAME}
2222
@@ -37,6 +37,6 @@ Build Latest Parser Docker Images:
3737 before_script :
3838 - docker login -u $CI_REGISTRY_USERNAME -p $CI_REGISTRY_PASSWORD $CI_REGISTRY_NAME
3939 script :
40- - docker build -t database-parser:latest -f database-parser/Dockerfile .
40+ - docker build -t database-parser:latest -f database-parser/python/ Dockerfile .
4141 - docker tag database-parser:latest $CI_REGISTRY_NAME/openk9/database-parser:latest
4242 - docker push $CI_REGISTRY_NAME/openk9/database-parser:latest
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ repositories {
1212}
1313
1414dependencies {
15- implementation ' org.gitlab4j:gitlab4j-api:5.0.1'
1615 implementation ' org.springframework.boot:spring-boot-starter-actuator'
1716 implementation ' org.springframework.boot:spring-boot-starter-web'
1817 implementation ' org.springframework.boot:spring-boot-starter-jdbc'
Original file line number Diff line number Diff line change 44import org .springframework .boot .autoconfigure .SpringBootApplication ;
55
66@ SpringBootApplication
7- public class ConnectorGitlabApplication {
7+ public class ConnectorDatabaseApplication {
88
99 public static void main (String [] args ) {
1010 SpringApplication .run (ConnectorGitlabApplication .class , args );
Original file line number Diff line number Diff line change 1212if ingestion_url is None :
1313 ingestion_url = "http://ingestion:8080/v1/ingestion/"
1414
15- delete_url = os .environ .get ("DELETE_URL" )
16- if delete_url is None :
17- delete_url = "http://index-writer:8080/v1/delete-data-documents"
18-
1915logger = logging .getLogger ("uvicorn.access" )
2016
2117
Original file line number Diff line number Diff line change @@ -4,8 +4,7 @@ services:
44 image : database-parser:latest
55 container_name : database-parser
66 environment :
7- INGESTION_URL : " http://ingestion:8080/v1/ingestion/"
8- DELETE_URL : " http://ingestion:8080/v1/ingestion/"
7+ INGESTION_URL : " http://ingestion:8080/api/ingestion/v1/ingestion/"
98 ports :
109 - " 5000:5000"
1110 postgres :
You can’t perform that action at this time.
0 commit comments