Skip to content

Commit

Permalink
chore(branding): Rebrand SDK from OpenWorld to ExpediaGroup & Merge C…
Browse files Browse the repository at this point in the history
…ore (#294)

PR: #294
  • Loading branch information
osama-salman99 authored Sep 20, 2023
1 parent d7609d1 commit e8cd43e
Show file tree
Hide file tree
Showing 145 changed files with 1,244 additions and 1,202 deletions.
52 changes: 0 additions & 52 deletions .github/workflows/core-release.yaml

This file was deleted.

6 changes: 4 additions & 2 deletions .github/workflows/core-verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ jobs:
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- run: mvn verify -P github-verify-action-profile
distribution: 'temurin'
- name: verify core
working-directory: core
run: mvn verify -P github-verify-action-profile
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/generator-generate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
distribution: 'temurin'
- id: build
working-directory: generator
run: mvn clean install
Expand All @@ -32,7 +32,9 @@ jobs:
run: |
mvn clean install
mvn exec:java "-Dnamespace=${{ inputs.name }}" -DsdkVersion=${{ inputs.version }} "-Dspec=./specs.yaml"
cd target/sdk
- name: install sdk
working-directory: generator/openapi/target/sdk
run: |
mvn clean install
mvn dokka:dokka
- uses: actions/upload-artifact@v3
Expand Down
18 changes: 12 additions & 6 deletions .github/workflows/generator-publish-artifact.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,35 @@ jobs:
outputs:
version: ${{ steps.publish.outputs.version }}
steps:
- uses: actions/download-artifact@v3
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
name: sdk
path: generator/sdk
java-version: '11'
distribution: 'temurin'
- name: "JDK set-up"
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
distribution: 'temurin'
server-id: oss-sonatype # Value of the distributionManagement/repository/id field of the pom.xml
server-username: SONATYPE_USERNAME # env variable for username in deploy
server-password: SONATYPE_PASSWORD # env variable for token in deploy
# only signed artifacts will be released to maven central. this sets up things for the maven-gpg-plugin
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} # Value of the GPG private key to import
gpg-passphrase: GPG_PASSPHRASE # env variable for GPG private key passphrase
settings-path: ${{ github.workspace }}
- name: "Release artifacts"
- uses: actions/download-artifact@v3
with:
name: sdk
path: generator/openapi/target/sdk
- name: Release artifacts
working-directory: generator/openapi/target/sdk
env:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
GPG_PASSPHRASE: ${{ secrets.GPG_PRIVATE_KEY_PASSPHRASE }}
run: |
cd generator/sdk
if [[ "${{github.event.inputs.production_release}}" == "true" ]]; then
mvn deploy --settings $GITHUB_WORKSPACE/settings.xml -B -U -P release -DskipTests=true
else
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/generator-verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
distribution: 'temurin'
- id: build-with-maven
working-directory: generator
run: mvn clean install -P github-generate-action-profile
Expand All @@ -41,9 +41,7 @@ jobs:
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- name: Set up core
run: mvn clean install
distribution: 'temurin'
- name: verify generated sdk
working-directory: generator/openapi/target/sdk
run: mvn verify
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Open World SDK Core Change Log
# Expedia Group SDK Core Change Log

All notable changes to this project will be documented in this file.

### [0.0.1] 2022.08.xx
* Initial release
* Initial release
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Open World <sup>TM</sup> SDK for Java
# Expedia Group<sup>TM</sup> SDK for Java

The Open World SDK for Java allows Expedia Group partners to easily build Java applications that leverage the Open World<sup>TM</sup> platform.
The Expedia Group SDK for Java allows Expedia Group partners to easily build Java applications that leverage the Expedia Group<sup>TM</sup> platform.

## Contributing

Expand Down
13 changes: 13 additions & 0 deletions core/LICENSE-HEADER.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Copyright (C) 2022 Expedia, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Loading

0 comments on commit e8cd43e

Please sign in to comment.