mirror of
				https://github.com/Telecominfraproject/wlan-cloud-workspace.git
				synced 2025-10-31 18:58:04 +00:00 
			
		
		
		
	Compare commits
	
		
			319 Commits
		
	
	
		
			AJ
			...
			release/v1
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | 25a338f8ed | ||
|   | cc8cba8f4f | ||
|   | 1e08fee246 | ||
|   | cd5def7953 | ||
|   | fa0d495d00 | ||
|   | 0501405cad | ||
|   | 2023da6541 | ||
|   | 3c074906cb | ||
|   | 0950220752 | ||
|   | aaf1abf5d1 | ||
|   | ee0588ab75 | ||
|   | 0757515090 | ||
|   | c4c8f8544e | ||
|   | cccf4c663a | ||
|   | 79adbf163f | ||
|   | ae0a5082a5 | ||
|   | b48bd6ec23 | ||
|   | 5d53759d86 | ||
|   | 7628c8b1f8 | ||
|   | b8b25184be | ||
|   | 4d003ba1ba | ||
|   | c49590638e | ||
|   | 6d97c566f2 | ||
|   | 281abae90d | ||
|   | e7376ebfb0 | ||
|   | 2f9af4b3a0 | ||
|   | 9fe945aced | ||
|   | 820da7b576 | ||
|   | b218936ed1 | ||
|   | 68a3570329 | ||
|   | 2c4b6f42fd | ||
|   | 75dfee638c | ||
|   | 26be15f8bc | ||
|   | e67d5cb47c | ||
|   | 3450ef1580 | ||
|   | f6ddfdd663 | ||
|   | 4a1c9473b7 | ||
|   | 2c7ce15393 | ||
|   | 249f42d32f | ||
|   | 577e2912f0 | ||
|   | 028095e582 | ||
|   | 0056aa06b3 | ||
|   | 195040a536 | ||
|   | 7b5de4938b | ||
|   | 65291e2a42 | ||
|   | e95ff13929 | ||
|   | 95abf506ed | ||
|   | 8247d3898c | ||
|   | 3824ac3a62 | ||
|   | 0097cd31a0 | ||
|   | ce59389cc3 | ||
|   | 3f3eb2eab1 | ||
|   | 9f2cefcd63 | ||
|   | c61467890f | ||
|   | 6b0d9f60ab | ||
|   | 6b3b2f9749 | ||
|   | 7ec7193f3b | ||
|   | 07b804a429 | ||
|   | 76451dce24 | ||
|   | a4c99f7343 | ||
|   | 39bc605f8a | ||
|   | 9427f5c03f | ||
|   | 4829e010c2 | ||
|   | 3f5b9d69a5 | ||
|   | 596c8df12f | ||
|   | 206e7fa747 | ||
|   | a771ef77b1 | ||
|   | cfc04d05d0 | ||
|   | c50ee96e54 | ||
|   | c4933b994d | ||
|   | 174b7227fd | ||
|   | 216136e0f2 | ||
|   | 4e9c8ed7d8 | ||
|   | 1837ed90d2 | ||
|   | dd870caa02 | ||
|   | ca95ca4565 | ||
|   | 77bef3f8fe | ||
|   | f3ef2af325 | ||
|   | 9b7979c931 | ||
|   | 00810cdccc | ||
|   | 2dcc849d49 | ||
|   | 5893a035f0 | ||
|   | a97324435a | ||
|   | 8314f1d902 | ||
|   | 2f1f987ed9 | ||
|   | 0ce1e047a1 | ||
|   | dec071be7c | ||
|   | f71e6bdb08 | ||
|   | c7869d15d7 | ||
|   | df329e93c2 | ||
|   | 187091e203 | ||
|   | 5e5859f344 | ||
|   | 9c3a8af74d | ||
|   | 7e8313c762 | ||
|   | a559631661 | ||
|   | d6a2dd4f3d | ||
|   | 559cde346a | ||
|   | dcd76aca15 | ||
|   | f3881f545c | ||
|   | 67e006d9f4 | ||
|   | 9dad8cabfa | ||
|   | 490c1de635 | ||
|   | d2c7c236ca | ||
|   | 522e5eb455 | ||
|   | c1b35d6f44 | ||
|   | b68f8b45f3 | ||
|   | a09634f8f1 | ||
|   | 889f6d34e2 | ||
|   | cf1eabc55a | ||
|   | 0db110ada2 | ||
|   | efd257cfce | ||
|   | db21433758 | ||
|   | 62175a197b | ||
|   | 58030d44c7 | ||
|   | 21526660d5 | ||
|   | 1a75c90053 | ||
|   | d99d710ce7 | ||
|   | 1b00409d23 | ||
|   | 011fa8c22e | ||
|   | e8208b4b23 | ||
|   | 0b7f371e01 | ||
|   | 25ecbdfd63 | ||
|   | 3d7239561a | ||
|   | 6a8ec85ccc | ||
|   | cd1ccbf658 | ||
|   | 5019c58895 | ||
|   | d5a73f3a88 | ||
|   | b130d18bb9 | ||
|   | 01f7466d1c | ||
|   | 0fed2fe0a2 | ||
|   | f50d7fb6a8 | ||
|   | 6742a88d69 | ||
|   | 3d7a236ceb | ||
|   | be3777de72 | ||
|   | 4a11b0f46b | ||
|   | 180c6a71ab | ||
|   | 89f2c6dbec | ||
|   | 2eae5e14d3 | ||
|   | b4f7c6b933 | ||
|   | 7ae1d43cb4 | ||
|   | 309d00935d | ||
|   | 07074116cf | ||
|   | 624afd88af | ||
|   | 64d0cdd13e | ||
|   | cc33e2c507 | ||
|   | 3b8e390d18 | ||
|   | b168e3bc6a | ||
|   | 6ec880978c | ||
|   | 48341ac530 | ||
|   | bab0d4db84 | ||
|   | 48cbfbacd4 | ||
|   | ca1f62bd6c | ||
|   | 69009c9686 | ||
|   | c8897beb8b | ||
|   | 01af5ba9d0 | ||
|   | 19cc3abdc8 | ||
|   | 32a2ee01d1 | ||
|   | 83587cea81 | ||
|   | 2e0b3bb54b | ||
|   | c2278c0215 | ||
|   | 27a5daf3b5 | ||
|   | 878cde47b1 | ||
|   | 30da8c74a9 | ||
|   | ddb18152ad | ||
|   | 6e4584d2fe | ||
|   | 5a827125cc | ||
|   | 5fbd06d8da | ||
|   | 3151032b00 | ||
|   | 83f9801acc | ||
|   | 51273e59dc | ||
|   | f4b387d706 | ||
|   | c9518c9727 | ||
|   | 7537749483 | ||
|   | 7842bd18c8 | ||
|   | 482a6ad4bb | ||
|   | a748e3cc5a | ||
|   | ab701ec1f9 | ||
|   | 6554de47c5 | ||
|   | 34b637e28c | ||
|   | 439b49f208 | ||
|   | a404cc6976 | ||
|   | c9610f157f | ||
|   | 6ad73129d2 | ||
|   | 936e9f3ef0 | ||
|   | 4fa2e92394 | ||
|   | d33c919846 | ||
|   | 2048916ee6 | ||
|   | f4c5bcea1e | ||
|   | 76b8f2b529 | ||
|   | acea5f6b7e | ||
|   | d235a7d662 | ||
|   | 8e22958322 | ||
|   | 884c5d9d79 | ||
|   | 84fd562a0c | ||
|   | e4c7f8c1d1 | ||
|   | 2b961e5a73 | ||
|   | 09a8956605 | ||
|   | dc743244f3 | ||
|   | 718369f232 | ||
|   | 584f553171 | ||
|   | 2142fa2401 | ||
|   | 942ebe5ef9 | ||
|   | 9cc4cbf8ae | ||
|   | 943fa67a8b | ||
|   | 1ae5f8f023 | ||
|   | 0ee19153d6 | ||
|   | 94d797b059 | ||
|   | b92e26af55 | ||
|   | 74fa01e054 | ||
|   | 8861fc23b7 | ||
|   | 25479c647e | ||
|   | 26ca109d75 | ||
|   | d5ae9301f1 | ||
|   | 615072dea6 | ||
|   | 3dd9af20fb | ||
|   | 73d562e883 | ||
|   | 7a9c6487ad | ||
|   | cc0750130c | ||
|   | 39710bb13b | ||
|   | aca6cf4b40 | ||
|   | 70b0288c61 | ||
|   | e75fd79fea | ||
|   | 1554cfbb49 | ||
|   | 9d21ad9da4 | ||
|   | 2e837fa076 | ||
|   | 70539512bd | ||
|   | 4cac721548 | ||
|   | 4db20f9f65 | ||
|   | f646c3f0b3 | ||
|   | da8c3a69fb | ||
|   | 019cf0c757 | ||
|   | b1537125e9 | ||
|   | c284ee09fe | ||
|   | 0ce779ec5d | ||
|   | 58a436abe2 | ||
|   | 7880ab131f | ||
|   | 3af3bdef51 | ||
|   | e5e6ef4a6b | ||
|   | 1dfbb7858b | ||
|   | f1212c6dec | ||
|   | 070ba2eb44 | ||
|   | c4e90b072f | ||
|   | 6e6770cf05 | ||
|   | 283ee00686 | ||
|   | 0079f50cb7 | ||
|   | ecd288345a | ||
|   | e514a94d58 | ||
|   | 3ea02b9d5e | ||
|   | 22a572c466 | ||
|   | c03204abc4 | ||
|   | 6813d797c9 | ||
|   | cc6ee697f3 | ||
|   | 2f586e12d1 | ||
|   | 4a57e1b37f | ||
|   | bebb08e79a | ||
|   | 24cecd0854 | ||
|   | ad176591db | ||
|   | 82ee739845 | ||
|   | 8ab297b8e2 | ||
|   | ea6d182f18 | ||
|   | 1061d775ea | ||
|   | 565df5fbd0 | ||
|   | 45a49f2772 | ||
|   | 7877e84909 | ||
|   | 7059a67529 | ||
|   | 81ae1cc348 | ||
|   | 8ace169699 | ||
|   | 23acb583d2 | ||
|   | 42976f45be | ||
|   | 8d48e3f5c2 | ||
|   | eba4cb2e22 | ||
|   | 0582b0b8e6 | ||
|   | 04797e62b6 | ||
|   | 4005499d1f | ||
|   | 25e485fe54 | ||
|   | 8cd4ebc135 | ||
|   | 68d621a5ce | ||
|   | cf84baf74e | ||
|   | 8edce13690 | ||
|   | ec85382329 | ||
|   | 8fbc09b70c | ||
|   | 39f082823b | ||
|   | 605ba0a0aa | ||
|   | 598ac325af | ||
|   | 3f3fcadf05 | ||
|   | 378227ef97 | ||
|   | 2ab2112811 | ||
|   | d93c0cc547 | ||
|   | 6f02fc57be | ||
|   | 832abad2f0 | ||
|   | f515c31500 | ||
|   | 5ade14fe8e | ||
|   | 37be0fe5c5 | ||
|   | 4fd40116bb | ||
|   | 365f25ba1c | ||
|   | 34f1692f32 | ||
|   | 5056221787 | ||
|   | 9e723a08d7 | ||
|   | bc5f1c2efc | ||
|   | 061fe40dc2 | ||
|   | ce8792ca01 | ||
|   | 1d7497a7c6 | ||
|   | 03d0a8a6be | ||
|   | e2566e7b6d | ||
|   | 80e5cd604b | ||
|   | 883a292053 | ||
|   | 31e347345c | ||
|   | d9fef4ee74 | ||
|   | e96df2bf2d | ||
|   | 64826a083a | ||
|   | 54602a00d0 | ||
|   | 3728da780c | ||
|   | d962c53bd4 | ||
|   | 6bc7c55be7 | ||
|   | 13aa255430 | ||
|   | 0965492ce3 | ||
|   | 4837f86db0 | ||
|   | ff926c8947 | ||
|   | 2a59a3e5fd | 
							
								
								
									
										187
									
								
								.github/workflows/maven-build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										187
									
								
								.github/workflows/maven-build.yml
									
									
									
									
										vendored
									
									
								
							| @@ -2,7 +2,11 @@ name: Java Maven CI - TIP WLAN Cloud Master | ||||
|  | ||||
| on:  | ||||
|   push: | ||||
|     branches: [ master ] | ||||
|     branches: | ||||
|       - master | ||||
|       - 'release/**' | ||||
|     tags: | ||||
|       - '*' | ||||
|  | ||||
|   schedule: | ||||
|     # runs nightly build at 5AM | ||||
| @@ -10,7 +14,6 @@ on: | ||||
|        | ||||
| jobs: | ||||
|   build: | ||||
|     if: github.event_name == 'push' | ||||
|     runs-on: ubuntu-latest | ||||
|  | ||||
|     steps: | ||||
| @@ -38,236 +41,116 @@ jobs: | ||||
|           password: ${{ secrets.MAVEN_REPO_PASSWORD }} | ||||
|       - name: Configure maven settings.xml | ||||
|         run: cp .github/workflows/maven_settings_template.xml /home/runner/.m2/settings.xml | ||||
|       - name: Updating commit file | ||||
|         run: |           | ||||
|           TIMESTAMP=$(date +'%Y-%m-%d') | ||||
|           echo $TIMESTAMP | ||||
|           mvn org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -Dexpression=project.version -q -DforceStdout -f wlan-cloud-root/pom.xml | ||||
|           MVN_VERSION=$(mvn org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -Dexpression=project.version -q -DforceStdout -f wlan-cloud-root/pom.xml) | ||||
|           echo $MVN_VERSION | ||||
|           echo date=$TIMESTAMP > wlan-cloud-base/base-container/src/main/resources/commit.properties | ||||
|           echo commitId=$GITHUB_SHA >> wlan-cloud-base/base-container/src/main/resources/commit.properties | ||||
|           echo projectVersion=$MVN_VERSION>> wlan-cloud-base/base-container/src/main/resources/commit.properties | ||||
|         env: | ||||
|           MAVEN_REPO_USERNAME: build-pipeline | ||||
|           MAVEN_REPO_PASSWORD: ${{ secrets.MAVEN_REPO_PASSWORD }}            | ||||
|       - name: Build with Maven - test | ||||
|         run:  | ||||
|           mvn -B --file all-modules-build/pom.xml verify # Ensure all artifacts build successfully before we attempt deploy in order to prevent partial deploys. | ||||
|         env: | ||||
|           MAVEN_REPO_USERNAME: build-pipeline | ||||
|           MAVEN_REPO_PASSWORD: ${{ secrets.MAVEN_REPO_PASSWORD }} | ||||
|       - name: Build with Maven - deploy artifacts | ||||
|         run: | ||||
|           mvn -B --file all-modules-build/pom.xml -DskipTests deploy # Now that all builds have completed, we can deploy all the artifacts. | ||||
|         env: | ||||
|           MAVEN_REPO_USERNAME: build-pipeline | ||||
|           MAVEN_REPO_PASSWORD: ${{ secrets.MAVEN_REPO_PASSWORD }} | ||||
|       - name: Build and deploy the docker images for the static OpenSync gateway | ||||
|         run: | ||||
|           mvn -B --file wlan-cloud-opensync-controller/opensync-gateway-static-docker/pom.xml deploy | ||||
|         env: | ||||
|           MAVEN_REPO_USERNAME: build-pipeline | ||||
|           MAVEN_REPO_PASSWORD: ${{ secrets.MAVEN_REPO_PASSWORD }} | ||||
|       - name: Build and deploy the docker images for the cloud OpenSync gateway | ||||
|         run: | ||||
|           mvn -B --file wlan-cloud-opensync-controller/opensync-gateway-cloud-docker/pom.xml deploy | ||||
|         env: | ||||
|           MAVEN_REPO_USERNAME: build-pipeline | ||||
|           MAVEN_REPO_PASSWORD: ${{ secrets.MAVEN_REPO_PASSWORD }} | ||||
|       - name: Build and deploy the docker images for the all-cloud-and-opensync-gw-in-one process | ||||
|         run: | ||||
|           mvn -B --file wlan-cloud-services/all-cloud-and-opensync-gw-in-one-docker/pom.xml deploy | ||||
|         env: | ||||
|           MAVEN_REPO_USERNAME: build-pipeline | ||||
|           MAVEN_REPO_PASSWORD: ${{ secrets.MAVEN_REPO_PASSWORD }} | ||||
|       - name: Build and deploy the docker images for the all-cloud-in-one process | ||||
|         run: | ||||
|           mvn -B --file wlan-cloud-services/all-cloud-in-one-docker/pom.xml deploy | ||||
|         env: | ||||
|           MAVEN_REPO_USERNAME: build-pipeline | ||||
|           MAVEN_REPO_PASSWORD: ${{ secrets.MAVEN_REPO_PASSWORD }} | ||||
|       - name: Build and deploy the docker image for the Portal process | ||||
|         run: | ||||
|           mvn -B --file wlan-cloud-services/portal-docker/pom.xml deploy | ||||
|         env: | ||||
|           MAVEN_REPO_USERNAME: build-pipeline | ||||
|           MAVEN_REPO_PASSWORD: ${{ secrets.MAVEN_REPO_PASSWORD }} | ||||
|       - name: Build and deploy the docker images for the Provisioning process | ||||
|         run: | ||||
|           mvn -B --file wlan-cloud-services/prov-docker/pom.xml deploy | ||||
|         env: | ||||
|           MAVEN_REPO_USERNAME: build-pipeline | ||||
|           MAVEN_REPO_PASSWORD: ${{ secrets.MAVEN_REPO_PASSWORD }} | ||||
|       - name: Build and deploy the docker images for the Scalable Service Container process | ||||
|         run: | ||||
|           mvn -B --file wlan-cloud-services/ssc-docker/pom.xml deploy | ||||
|         env: | ||||
|           MAVEN_REPO_USERNAME: build-pipeline | ||||
|           MAVEN_REPO_PASSWORD: ${{ secrets.MAVEN_REPO_PASSWORD }} | ||||
|       - name: Build and deploy the docker images for the Stream Processor process | ||||
|         run: | ||||
|           mvn -B --file wlan-cloud-services/spc-docker/pom.xml deploy | ||||
|         env: | ||||
|           MAVEN_REPO_USERNAME: build-pipeline | ||||
|           MAVEN_REPO_PASSWORD: ${{ secrets.MAVEN_REPO_PASSWORD }} | ||||
|       - name: Build and deploy the docker images for the Port Forwarding Gateway process | ||||
|         run: | ||||
|           mvn -B --file wlan-cloud-services/port-forwarding-gateway-docker/pom.xml deploy | ||||
|         env: | ||||
|           MAVEN_REPO_USERNAME: build-pipeline | ||||
|           MAVEN_REPO_PASSWORD: ${{ secrets.MAVEN_REPO_PASSWORD }} | ||||
|       - name: Generate and push the cloud-sdk-schema | ||||
|         run: | ||||
|           mvn -B --file wlan-cloud-services/schema-generator/pom.xml deploy | ||||
|         env: | ||||
|           MAVEN_REPO_USERNAME: build-pipeline | ||||
|           MAVEN_REPO_PASSWORD: ${{ secrets.MAVEN_REPO_PASSWORD }} | ||||
|            | ||||
|   Nightlybuild: | ||||
|     if: github.event_name == 'schedule' | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||||
|       - uses: actions/checkout@v2 | ||||
|         with: | ||||
|           ssh-key: ${{ secrets.GH_AUTOMATION_KEY }} | ||||
|           submodules: true | ||||
|            | ||||
|       - name: Checking if the last commit was more than 24 hrs | ||||
|         id: check | ||||
|       - name: Update version in pom.xml | ||||
|         if: startsWith(github.ref, 'refs/tags/') | ||||
|         run: | | ||||
|           TimePassed=$(echo -e `git show --format="%ar" $branch | head -n 1`) | ||||
|           echo $TimePassed | ||||
|           if [[ $TimePassed == *"hour"* ]] || [[ "$TimePassed" == *"minute"* ]] || [[ $TimePassed == *"second"* ]]; then | ||||
|           echo "Last commit was less than 24 hours" | ||||
|           buildRequired=true | ||||
|           fi | ||||
|           echo ::set-output name=key::$buildRequired | ||||
|           VERSION=$(echo "${{ github.ref }}" | sed -e 's/refs\/tags\/[v]//') | ||||
|           mvn -B --file wlan-cloud-root/pom.xml versions:set -DnewVersion=$VERSION | ||||
|           mvn -B --file wlan-cloud-root/pom.xml install # put new parent version into Maven cache | ||||
|           mvn -B --file wlan-cloud-root/pom.xml versions:revert # need to revert so that child modules are able to find its parent | ||||
|           mvn -B --file all-modules-build/pom.xml versions:update-parent -DparentVersion=[$VERSION] | ||||
|           mvn -B --file wlan-cloud-opensync-controller/opensync-gateway-static-docker/pom.xml versions:update-parent -DparentVersion=[$VERSION] | ||||
|           mvn -B --file wlan-cloud-opensync-controller/opensync-gateway-cloud-docker/pom.xml versions:update-parent -DparentVersion=[$VERSION] | ||||
|           mvn -B --file wlan-cloud-services/all-cloud-and-opensync-gw-in-one-docker/pom.xml versions:update-parent -DparentVersion=[$VERSION] | ||||
|           mvn -B --file wlan-cloud-services/all-cloud-in-one-docker/pom.xml versions:update-parent -DparentVersion=[$VERSION] | ||||
|           mvn -B --file wlan-cloud-services/portal-docker/pom.xml versions:update-parent -DparentVersion=[$VERSION] | ||||
|           mvn -B --file wlan-cloud-services/prov-docker/pom.xml versions:update-parent -DparentVersion=[$VERSION] | ||||
|           mvn -B --file wlan-cloud-services/ssc-docker/pom.xml versions:update-parent -DparentVersion=[$VERSION] | ||||
|           mvn -B --file wlan-cloud-services/spc-docker/pom.xml versions:update-parent -DparentVersion=[$VERSION] | ||||
|           mvn -B --file wlan-cloud-services/port-forwarding-gateway-docker/pom.xml versions:update-parent -DparentVersion=[$VERSION] | ||||
|           mvn -B --file wlan-cloud-services/schema-generator/pom.xml versions:update-parent -DparentVersion=[$VERSION] | ||||
|           mvn -B --file wlan-cloud-root/pom.xml versions:set -DnewVersion=$VERSION | ||||
|  | ||||
|  | ||||
|       - uses: actions/checkout@v2 | ||||
|         with: | ||||
|           ssh-key: ${{ secrets.GH_AUTOMATION_KEY }} | ||||
|           submodules: true | ||||
|       - name: Set up JDK 1.14 | ||||
|         if: steps.check.outputs.key == 'true'         | ||||
|         uses: actions/setup-java@v1 | ||||
|         with: | ||||
|           java-version: 14 | ||||
|       - name: maven version | ||||
|         if: steps.check.outputs.key == 'true' | ||||
|         run: | ||||
|           mvn -v | ||||
|       - name: Cache Maven packages | ||||
|         if: steps.check.outputs.key == 'true' | ||||
|         uses: actions/cache@v1 | ||||
|         with: | ||||
|           path: ~/.m2 | ||||
|           key: ${{ runner.os }}-m2 | ||||
|       - name: Login to TIP Docker registry | ||||
|         if: steps.check.outputs.key == 'true'  | ||||
|         uses: azure/docker-login@v1 | ||||
|         with: | ||||
|           login-server: tip-tip-wlan-cloud-docker-repo.jfrog.io | ||||
|           username: build-pipeline | ||||
|           password: ${{ secrets.MAVEN_REPO_PASSWORD }} | ||||
|       - name: Configure maven settings.xml | ||||
|         if: steps.check.outputs.key == 'true' | ||||
|         run: cp .github/workflows/maven_settings_template.xml /home/runner/.m2/settings.xml | ||||
|       - name: Updating commit file | ||||
|         if: steps.check.outputs.key == 'true' | ||||
|         run: |           | ||||
|           TIMESTAMP=$(date +'%Y-%m-%d') | ||||
|           echo $TIMESTAMP | ||||
|           mvn org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -Dexpression=project.version -q -DforceStdout -f wlan-cloud-root/pom.xml | ||||
|           MVN_VERSION=$(mvn org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -Dexpression=project.version -q -DforceStdout -f wlan-cloud-root/pom.xml) | ||||
|           MVN_VERSION=$(grep "<version>" wlan-cloud-root/pom.xml |head -2|tail -1|cut -d '>' -f2|cut -d '<' -f 1) | ||||
|           echo $MVN_VERSION | ||||
|           echo date=$TIMESTAMP > wlan-cloud-base/base-container/src/main/resources/commit.properties | ||||
|           echo commitId=$GITHUB_SHA >> wlan-cloud-base/base-container/src/main/resources/commit.properties | ||||
|           echo projectVersion=$MVN_VERSION>> wlan-cloud-base/base-container/src/main/resources/commit.properties | ||||
|           cp wlan-cloud-base/base-container/src/main/resources/commit.properties wlan-cloud-opensync-controller/opensync-gateway-static-docker/src/main/docker/app/. | ||||
|           cp wlan-cloud-base/base-container/src/main/resources/commit.properties wlan-cloud-opensync-controller/opensync-gateway-static-docker/src/main/docker-opensync-gateway-and-mqtt/app/. | ||||
|           cp wlan-cloud-base/base-container/src/main/resources/commit.properties wlan-cloud-opensync-controller/opensync-gateway-cloud-docker/src/main/docker/app/. | ||||
|           cp wlan-cloud-base/base-container/src/main/resources/commit.properties wlan-cloud-services/all-cloud-and-opensync-gw-in-one-docker/src/main/docker/app/. | ||||
|           cp wlan-cloud-base/base-container/src/main/resources/commit.properties wlan-cloud-services/all-cloud-and-opensync-gw-in-one-docker/src/main/docker-with-mqtt/app/. | ||||
|           cp wlan-cloud-base/base-container/src/main/resources/commit.properties wlan-cloud-services/all-cloud-in-one-docker/src/main/docker/app/. | ||||
|           cp wlan-cloud-base/base-container/src/main/resources/commit.properties wlan-cloud-services/portal-docker/src/main/docker/app/. | ||||
|           cp wlan-cloud-base/base-container/src/main/resources/commit.properties wlan-cloud-services/prov-docker/src/main/docker/app/. | ||||
|           cp wlan-cloud-base/base-container/src/main/resources/commit.properties wlan-cloud-services/ssc-docker/src/main/docker/app/. | ||||
|           cp wlan-cloud-base/base-container/src/main/resources/commit.properties wlan-cloud-services/spc-docker/src/main/docker/app/. | ||||
|           cp wlan-cloud-base/base-container/src/main/resources/commit.properties wlan-cloud-services/port-forwarding-gateway-docker/src/main/docker/app/. | ||||
|         env: | ||||
|           MAVEN_REPO_USERNAME: build-pipeline | ||||
|           MAVEN_REPO_PASSWORD: ${{ secrets.MAVEN_REPO_PASSWORD }}            | ||||
|       - name: Build with Maven - test | ||||
|         if: steps.check.outputs.key == 'true' | ||||
|         run:  | ||||
|           mvn -B --file all-modules-build/pom.xml verify # Ensure all artifacts build successfully before we attempt deploy in order to prevent partial deploys. | ||||
|         env: | ||||
|           MAVEN_REPO_USERNAME: build-pipeline | ||||
|           MAVEN_REPO_PASSWORD: ${{ secrets.MAVEN_REPO_PASSWORD }} | ||||
|       - name: Build with Maven - deploy artifacts | ||||
|         if: steps.check.outputs.key == 'true' | ||||
|         run: | ||||
|           mvn -B --file all-modules-build/pom.xml -DskipTests deploy # Now that all builds have completed, we can deploy all the artifacts. | ||||
|         env: | ||||
|           MAVEN_REPO_USERNAME: build-pipeline | ||||
|           MAVEN_REPO_PASSWORD: ${{ secrets.MAVEN_REPO_PASSWORD }} | ||||
|       - name: Build and deploy the docker images for the static OpenSync gateway | ||||
|         if: steps.check.outputs.key == 'true' | ||||
|         run: | ||||
|           mvn -B --file wlan-cloud-opensync-controller/opensync-gateway-static-docker/pom.xml deploy | ||||
|         env: | ||||
|           MAVEN_REPO_USERNAME: build-pipeline | ||||
|           MAVEN_REPO_PASSWORD: ${{ secrets.MAVEN_REPO_PASSWORD }} | ||||
|       - name: Build and deploy the docker images for the cloud OpenSync gateway | ||||
|         if: steps.check.outputs.key == 'true' | ||||
|         run: | ||||
|           mvn -B --file wlan-cloud-opensync-controller/opensync-gateway-cloud-docker/pom.xml deploy | ||||
|         env: | ||||
|           MAVEN_REPO_USERNAME: build-pipeline | ||||
|           MAVEN_REPO_PASSWORD: ${{ secrets.MAVEN_REPO_PASSWORD }} | ||||
|       - name: Build and deploy the docker images for the all-cloud-and-opensync-gw-in-one process | ||||
|         if: steps.check.outputs.key == 'true' | ||||
|         run: | ||||
|           mvn -B --file wlan-cloud-services/all-cloud-and-opensync-gw-in-one-docker/pom.xml deploy | ||||
|         env: | ||||
|           MAVEN_REPO_USERNAME: build-pipeline | ||||
|           MAVEN_REPO_PASSWORD: ${{ secrets.MAVEN_REPO_PASSWORD }} | ||||
|       - name: Build and deploy the docker images for the all-cloud-in-one process | ||||
|         if: steps.check.outputs.key == 'true' | ||||
|         run: | ||||
|           mvn -B --file wlan-cloud-services/all-cloud-in-one-docker/pom.xml deploy | ||||
|         env: | ||||
|           MAVEN_REPO_USERNAME: build-pipeline | ||||
|           MAVEN_REPO_PASSWORD: ${{ secrets.MAVEN_REPO_PASSWORD }} | ||||
|       - name: Build and deploy the docker image for the Portal process | ||||
|         if: steps.check.outputs.key == 'true' | ||||
|         run: | ||||
|           mvn -B --file wlan-cloud-services/portal-docker/pom.xml deploy | ||||
|         env: | ||||
|           MAVEN_REPO_USERNAME: build-pipeline | ||||
|           MAVEN_REPO_PASSWORD: ${{ secrets.MAVEN_REPO_PASSWORD }} | ||||
|       - name: Build and deploy the docker images for the Provisioning process | ||||
|         if: steps.check.outputs.key == 'true' | ||||
|         run: | ||||
|           mvn -B --file wlan-cloud-services/prov-docker/pom.xml deploy | ||||
|         env: | ||||
|           MAVEN_REPO_USERNAME: build-pipeline | ||||
|           MAVEN_REPO_PASSWORD: ${{ secrets.MAVEN_REPO_PASSWORD }} | ||||
|       - name: Build and deploy the docker images for the Scalable Service Container process | ||||
|         if: steps.check.outputs.key == 'true' | ||||
|         run: | ||||
|           mvn -B --file wlan-cloud-services/ssc-docker/pom.xml deploy | ||||
|         env: | ||||
|           MAVEN_REPO_USERNAME: build-pipeline | ||||
|           MAVEN_REPO_PASSWORD: ${{ secrets.MAVEN_REPO_PASSWORD }} | ||||
|       - name: Build and deploy the docker images for the Stream Processor process | ||||
|         if: steps.check.outputs.key == 'true' | ||||
|         run: | ||||
|           mvn -B --file wlan-cloud-services/spc-docker/pom.xml deploy | ||||
|         env: | ||||
|           MAVEN_REPO_USERNAME: build-pipeline | ||||
|           MAVEN_REPO_PASSWORD: ${{ secrets.MAVEN_REPO_PASSWORD }} | ||||
|       - name: Build and deploy the docker images for the Port Forwarding Gateway process | ||||
|         if: steps.check.outputs.key == 'true' | ||||
|         run: | ||||
|           mvn -B --file wlan-cloud-services/port-forwarding-gateway-docker/pom.xml deploy | ||||
|         env: | ||||
|           MAVEN_REPO_USERNAME: build-pipeline | ||||
|           MAVEN_REPO_PASSWORD: ${{ secrets.MAVEN_REPO_PASSWORD }} | ||||
|       - name: Generate and push the cloud-sdk-schema | ||||
|         if: steps.check.outputs.key == 'true' | ||||
|         run: | ||||
|           mvn -B --file wlan-cloud-services/schema-generator/pom.xml deploy | ||||
|         env: | ||||
|   | ||||
| @@ -4,7 +4,8 @@ Aggregation of repositories to simplify development environment. | ||||
| Build instructions: | ||||
| * make sure that java SDK 13+ is installed | ||||
| * make sure maven is installed | ||||
| * configure maven settings.xml with repository credentials | ||||
| * configure maven settings.xml with repository credentials: | ||||
|   copy [maven_settings_template.xml](https://github.com/Telecominfraproject/wlan-cloud-workspace/blob/master/.github/workflows/maven_settings_template.xml) into ~/.m2/settings.xml and replace ${env.MAVEN_REPO_USERNAME} / ${env.MAVEN_REPO_PASSWORD} with **tip-read** | ||||
| * $ git submodule update --init | ||||
| * $ mvn -B --file all-modules-build/pom.xml clean install | ||||
|  | ||||
|   | ||||
| @@ -1,10 +1,9 @@ | ||||
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||||
|         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||||
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||||
|         <modelVersion>4.0.0</modelVersion> | ||||
| 	<parent> | ||||
| 		<groupId>com.telecominfraproject.wlan</groupId> | ||||
| 		<artifactId>tip-wlan-cloud-root-pom</artifactId> | ||||
| 		<version>0.0.1-SNAPSHOT</version> | ||||
| 		<version>1.0.0-SNAPSHOT</version> | ||||
| 		<relativePath>../wlan-cloud-root</relativePath> | ||||
| 	</parent> | ||||
|  | ||||
| @@ -22,7 +21,6 @@ | ||||
|                                 <activeByDefault>true</activeByDefault> | ||||
|                         </activation> | ||||
|                         <modules> | ||||
|                                 <module>../wlan-cloud-root</module> | ||||
|                                 <module>../wlan-cloud-base/base-build</module> | ||||
|                                 <module>../wlan-cloud-services/cloud-services-build</module> | ||||
|                                 <module>../wlan-cloud-opensync-controller/opensync-gateway-build</module> | ||||
|   | ||||
							
								
								
									
										24
									
								
								all-modules-release/make_release.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								all-modules-release/make_release.sh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,24 @@ | ||||
| #!/bin/bash | ||||
|  | ||||
| if [ "x$1" == "x" ] | ||||
| then | ||||
|   echo Usage: make_release.sh new_version | ||||
|   exit 1 | ||||
| fi | ||||
|  | ||||
| new_version=$1 | ||||
|  | ||||
| PREVIOUS_VERSION=$(grep "<version>" ../wlan-cloud-root/pom.xml |head -2|tail -1|cut -d '>' -f2|cut -d '<' -f 1) | ||||
| echo "Updating TIP pom.xml files from $PREVIOUS_VERSION to version $new_version " | ||||
|  | ||||
| # update versions on TIP modules using special all-modules-release | ||||
| mvn  --batch-mode release:update-versions -DdevelopmentVersion="$new_version" -DautoVersionSubmodules=true | ||||
|  | ||||
|  | ||||
| # update version that are not automatically updated  | ||||
| sed -i '' "s/<tip-wlan-cloud.release.version>$PREVIOUS_VERSION<\/tip-wlan-cloud.release.version>/<tip-wlan-cloud.release.version>$new_version<\/tip-wlan-cloud.release.version>/g" ../wlan-cloud-root/pom.xml | ||||
|  | ||||
| #update protobuff dependency under opensync-ext-interface | ||||
| sed -i '' "s/<version>$PREVIOUS_VERSION<\/version>/<version>$new_version<\/version>/g" ../wlan-cloud-opensync-controller/opensync-ext-interface/pom.xml | ||||
|  | ||||
| echo "Updated TIP pom.xml files to version $new_version" | ||||
							
								
								
									
										40
									
								
								all-modules-release/pom.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										40
									
								
								all-modules-release/pom.xml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,40 @@ | ||||
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||||
|         <modelVersion>4.0.0</modelVersion> | ||||
|         <parent> | ||||
| 			<groupId>com.telecominfraproject.wlan</groupId> | ||||
| 			<artifactId>tip-wlan-cloud-root-pom</artifactId> | ||||
| 			<version>1.0.0-SNAPSHOT</version> | ||||
| 			<relativePath>../wlan-cloud-root</relativePath> | ||||
|         </parent> | ||||
|  | ||||
|         <artifactId>tip-wlan-workspace-all-modules-release</artifactId> | ||||
|         <packaging>pom</packaging> | ||||
|         <description>Aggregation of all TIP modules - to release them in one shot.</description> | ||||
|  | ||||
|         <profiles> | ||||
|                 <profile> | ||||
|                         <id>full-build</id> | ||||
|                         <activation> | ||||
|                                 <property> | ||||
|                                         <name>full-build</name> | ||||
|                                 </property> | ||||
|                                 <activeByDefault>true</activeByDefault> | ||||
|                         </activation> | ||||
|                         <modules> | ||||
|                                 <module>../all-modules-build</module> | ||||
|                                 <module>../wlan-cloud-services/all-cloud-and-opensync-gw-in-one-docker</module> | ||||
|                                 <module>../wlan-cloud-services/all-cloud-in-one-docker</module> | ||||
|                                 <module>../wlan-cloud-services/all-cloud-in-one-docker-with-persistence</module> | ||||
|                                 <module>../wlan-cloud-services/port-forwarding-gateway-docker</module> | ||||
|                                 <module>../wlan-cloud-services/portal-docker</module>                                 | ||||
|                                 <module>../wlan-cloud-services/prov-docker</module> | ||||
|                                 <module>../wlan-cloud-services/spc-docker</module> | ||||
|                                 <module>../wlan-cloud-services/ssc-docker</module> | ||||
|                                 <module>../wlan-cloud-opensync-controller/opensync-gateway-cloud-docker</module> | ||||
|                                 <module>../wlan-cloud-opensync-controller/opensync-gateway-static-docker</module> | ||||
|                         </modules> | ||||
|                 </profile> | ||||
|         </profiles> | ||||
| </project> | ||||
|  | ||||
|  | ||||
 Submodule wlan-cloud-base updated: 236cf4f9c2...c94a81114a
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										3
									
								
								wlan-cloud-devtools/postman-collections/passpoint/README
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								wlan-cloud-devtools/postman-collections/passpoint/README
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| This collection comes with the required variables defined as it's environment. It is recommended that any variable alterations or settings are performed in the Variables section of the collection, and that no other environment is used simulataneously, as this can cause confusing errors. | ||||
|  | ||||
| Primary purpose of this collection is to facilitate creation of Hotspot profiles for application to an AP. Additional required configuration profiles are included. | ||||
 Submodule wlan-cloud-opensync-controller updated: b04d71e75a...0ae03ac239
									
								
							 Submodule wlan-cloud-root updated: 88001eb119...cbfda90e34
									
								
							 Submodule wlan-cloud-services updated: efd934b883...a66ac7ff8a
									
								
							
		Reference in New Issue
	
	Block a user