-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
corrected dto's and updated flow to use secrets
- Loading branch information
Showing
13 changed files
with
355 additions
and
154 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,9 @@ jobs: | |
build: | ||
runs-on: ubuntu-latest | ||
|
||
env: | ||
TEST_DATA_UAT_QINQ_PORT: ${{ secrets.TEST_DATA_UAT_QINQ_PORT }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
|
@@ -22,16 +25,19 @@ jobs: | |
distribution: 'temurin' | ||
cache: maven | ||
|
||
- name: Set git user and generate files | ||
- name: Set git user | ||
run: | | ||
git config --global user.name 'equinix-labs@auto-commit-workflow' | ||
git config --global user.email '[email protected]' | ||
git config advice.addIgnoredFile false | ||
git fetch | ||
echo -e "\nThis is executing for branch: ${GITHUB_REF##*/}." | ||
git checkout ${GITHUB_REF##*/} | ||
git checkout ${GITHUB_REF##*/} | ||
- name: Setup variables and generate files | ||
run: | | ||
echo $TEST_DATA_UAT_QINQ_PORT >> "./v4/api/json/port-2-public-service-profile-connection.json" | ||
make generate | ||
echo -e "Make execution completed." | ||
- name: Tests | ||
env: | ||
|
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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package com.equinix.openapi.fabric.v4.api.dto.port; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
|
||
public class Device{ | ||
|
||
@SerializedName("name") | ||
private String name; | ||
|
||
@SerializedName("redundancy") | ||
private Redundancy redundancy; | ||
|
||
public String getName(){ | ||
return name; | ||
} | ||
|
||
public Redundancy getRedundancy(){ | ||
return redundancy; | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package com.equinix.openapi.fabric.v4.api.dto.port; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
|
||
public class Encapsulation{ | ||
|
||
@SerializedName("tagProtocolId") | ||
private String tagProtocolId; | ||
|
||
@SerializedName("type") | ||
private String type; | ||
|
||
public String getTagProtocolId(){ | ||
return tagProtocolId; | ||
} | ||
|
||
public String getType(){ | ||
return type; | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package com.equinix.openapi.fabric.v4.api.dto.port; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
|
||
public class Lag{ | ||
|
||
@SerializedName("name") | ||
private String name; | ||
|
||
@SerializedName("id") | ||
private String id; | ||
|
||
@SerializedName("enabled") | ||
private boolean enabled; | ||
|
||
public String getName(){ | ||
return name; | ||
} | ||
|
||
public String getId(){ | ||
return id; | ||
} | ||
|
||
public boolean isEnabled(){ | ||
return enabled; | ||
} | ||
} |
Oops, something went wrong.