Skip to content

Commit 35e711c

Browse files
authored
fix(TRI): region based service url feature added
fix(TRI): region based service url feature added
2 parents b4706af + 64dd4c1 commit 35e711c

11 files changed

+880
-1098
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@ before_script:
1313
- pip3 install --editable .
1414
script:
1515
- pip3 install -U python-dotenv
16+
- curl https://us-south.functions.appdomain.cloud/api/v1/web/e6b54af6-ab44-4149-a8e4-e906dcc58136/default/secadvstg-location-shift.json
17+
- echo "${FINDINGS_ENV}" | base64 -d >> findings_v1.env
18+
- echo "${NOTIFICATIONS_ENV}" | base64 -d >> notifications_v1.env
19+
# - echo "${CONFIGURATION_GOVERNANCE_ENV}" | base64 -d >> configuration_governance_v1.env
1620
- tox
21+
- find . -name "*.env" -type f -delete
1722
before_deploy:
1823
- pip3 install bumpversion pypandoc
1924
- sudo apt-get update

ibm_scc/configuration_governance_v1.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
# IBM OpenAPI SDK Code Generator Version: 3.30.0-bd714324-20210406-200538
17+
# IBM OpenAPI SDK Code Generator Version: 3.32.0-4c6a3129-20210514-210323
1818

1919
"""
2020
API specification for the Configuration Governance service.
@@ -39,7 +39,7 @@
3939
class ConfigurationGovernanceV1(BaseService):
4040
"""The Configuration Governance V1 service."""
4141

42-
DEFAULT_SERVICE_URL = 'https://compliance.cloud.ibm.com'
42+
DEFAULT_SERVICE_URL = 'https://us.compliance.cloud.ibm.com'
4343
DEFAULT_SERVICE_NAME = 'configuration_governance'
4444

4545
@classmethod

ibm_scc/findings_v1.py

Lines changed: 60 additions & 103 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)