-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
93ccbdc
commit 1ace969
Showing
17 changed files
with
44 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
group=org.wso2.apk | ||
version=0.1.0-SNAPSHOT | ||
docker_image_name = admin-service | ||
version=0.0.1-SNAPSHOT | ||
docker_image_name = admin-domain-service | ||
jar_name = admin_service.jar | ||
dist_name = admin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
group=org.wso2.apk | ||
version=0.1.0-SNAPSHOT | ||
docker_image_name = backoffice_service | ||
version=0.0.1-SNAPSHOT | ||
docker_image_name = backoffice-domain-service | ||
jar_name = backoffice_service.jar | ||
dist_name = backoffice | ||
|
2 changes: 1 addition & 1 deletion
2
backoffice/backoffice-internal-domain-service/ballerina/Ballerina.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
backoffice/backoffice-internal-domain-service/gradle.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,20 @@ | ||
#This is a sample script to build APK. When you build project please run this script in project root level. | ||
#All relative paths etc designed from root directory. Users can customize this as per demand. Ex: If you wish to | ||
#build and run runtime domain service then can build it alone and do deployment. | ||
declare -i x=0; | ||
git pull | ||
current_dir=$PWD; | ||
#Component build sample. You can build any component with this | ||
cd apkbase;gradle build; | ||
cd common-java-libs;gradle build; | ||
cd $current_dir; | ||
cd common-go-libs/;gradle build; | ||
cd apkBase;gradle build; | ||
cd $current_dir; | ||
cd backoffice/backoffice-domain-service;gradle build; | ||
cd $current_dir; | ||
cd backoffice/backoffice-internal-domain-service;gradle build; | ||
cd $current_dir; | ||
cd runtime/runtime-domain-service;gradle build; | ||
cd $current_dir; | ||
cd helm-charts; | ||
#Undeploy already deployed setup and deploy again | ||
kubectl get pods -n apk | ||
helm uninstall apk-test -n apk | ||
#If you are use minikube implementation then you need to load images with below command. | ||
minikube image load backoffice_service:0.1.0-SNAPSHOT | ||
#minikube image load adapter:0.0.1-SNAPSHOT | ||
#minikube image load management-server:0.0.1-SNAPSHOT | ||
minikube image load runtime-api:0.0.1-SNAPSHOT | ||
#minikube image load devportal_service:0.1.0-SNAPSHOT | ||
#minikube image load admin-service:0.1.0-SNAPSHOT | ||
minikube image load apkbase:0.0.1-SNAPSHOT | ||
#Waiting for deployment to terminate. | ||
while test $x -eq 0; do | ||
getpods_output=$(kubectl get pods -n apk 2>&1) | ||
if [[ $getpods_output == *"No resources found in apk namespace."* ]]; then | ||
x=1; | ||
echo "Deployment terminated successfully..........." | ||
else | ||
echo "Terminating Cluster..............." | ||
sleep 5 | ||
fi | ||
done | ||
#Helm install APK with all components | ||
helm dependency build | ||
helm install apk-test -n apk . | ||
#List pods created for deployment. | ||
kubectl get pods -n apk | ||
cd admin/admin-domain-service;gradle build; | ||
cd $current_dir; | ||
cd devportal/devportal-domain-service;gradle build; | ||
cd $current_dir; | ||
cd adapter;gradle build; | ||
cd $current_dir; | ||
cd management-server;gradle build; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
group=org.wso2.apk | ||
version=0.1.0-SNAPSHOT | ||
docker_image_name = devportal_service | ||
version=0.0.1-SNAPSHOT | ||
docker_image_name = devportal-domain-service | ||
jar_name = devportal_service.jar | ||
dist_name = devportal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,5 +15,5 @@ | |
# | ||
|
||
group=org.wso2.apk | ||
version=0.1.0-SNAPSHOT | ||
version=0.0.1-SNAPSHOT | ||
docker_image_name=enforcer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
group=org.wso2.apk | ||
version=0.0.1-SNAPSHOT | ||
docker_image_name=router |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
group=org.wso2.apk | ||
version=0.0.1-SNAPSHOT | ||
docker_image_name=runtime-api | ||
docker_image_name=runtime-domain-service | ||
dist_name=runtime | ||
jar_name=runtime_domain_service.jar |