-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update traling version name from v1alpha1 to v1alpha (#10)
* change v1alpha1 to v1alpha * add google timestamp to diagram generation * update workflow to only run on dev and c4t pushes and PRs
- Loading branch information
Showing
58 changed files
with
428 additions
and
417 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
18 changes: 9 additions & 9 deletions
18
...ervices/accommodation/v1alpha1/info.proto → ...services/accommodation/v1alpha/info.proto
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
14 changes: 7 additions & 7 deletions
14
...ervices/accommodation/v1alpha1/list.proto → ...services/accommodation/v1alpha/list.proto
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
32 changes: 16 additions & 16 deletions
32
...on/v1alpha1/search_parameters_types.proto → ...ion/v1alpha/search_parameters_types.proto
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,50 +1,50 @@ | ||
syntax = "proto3"; | ||
|
||
package cmp.services.accommodation.v1alpha1; | ||
package cmp.services.accommodation.v1alpha; | ||
|
||
import "cmp/types/v1alpha1/location.proto"; | ||
import "cmp/types/v1alpha1/meal_plan.proto"; | ||
import "cmp/types/v1alpha1/product_code.proto"; | ||
import "cmp/types/v1alpha1/rate.proto"; | ||
import "cmp/types/v1alpha/location.proto"; | ||
import "cmp/types/v1alpha/meal_plan.proto"; | ||
import "cmp/types/v1alpha/product_code.proto"; | ||
import "cmp/types/v1alpha/rate.proto"; | ||
|
||
// This type is used in search requests for parameters like location, meal plan | ||
// codes etc. | ||
// | ||
// ![Diagram](https://storage.googleapis.com/docs-cmp-files/diagrams/proto/cmp/services/accommodation/v1alpha1/search_parameters_types.proto.dot.xs.svg) | ||
// [Open Message Diagram](https://storage.googleapis.com/docs-cmp-files/diagrams/proto/cmp/services/accommodation/v1alpha1/search_parameters_types.proto.dot.svg) | ||
// ![Diagram](https://storage.googleapis.com/docs-cmp-files/diagrams/proto/cmp/services/accommodation/v1alpha/search_parameters_types.proto.dot.xs.svg) | ||
// [Open Message Diagram](https://storage.googleapis.com/docs-cmp-files/diagrams/proto/cmp/services/accommodation/v1alpha/search_parameters_types.proto.dot.svg) | ||
message AccommodationSearchParameters { | ||
// Geo Location for search, set only one of the fields at once. | ||
// | ||
// This "one of" field enforces only one of the fields below. They all share | ||
// memory, setting one will remove the others. | ||
oneof geo_location { | ||
// FIXME: Do we need a list of location code here? Other fields are not lists. | ||
cmp.types.v1alpha1.LocationCodes location_codes = 1; | ||
cmp.types.v1alpha.LocationCodes location_codes = 1; | ||
|
||
// Single geographic point represented by two double fields. | ||
cmp.types.v1alpha1.Coordinate location_coordinate = 2; | ||
cmp.types.v1alpha.Coordinate location_coordinate = 2; | ||
|
||
// Geo tree type, representted by Country, Region, and City_or_Resort. | ||
cmp.types.v1alpha1.GeoTree location_geo_tree = 3; | ||
cmp.types.v1alpha.GeoTree location_geo_tree = 3; | ||
|
||
// Geo circle. Represented by a coordinate and a distance for radius | ||
cmp.types.v1alpha1.GeoCircle location_geo_circle = 4; | ||
cmp.types.v1alpha.GeoCircle location_geo_circle = 4; | ||
|
||
// Geo polygon. Represented by a list of coordinate points. | ||
cmp.types.v1alpha1.GeoPolygon location_geo_polygon = 5; | ||
cmp.types.v1alpha.GeoPolygon location_geo_polygon = 5; | ||
} | ||
|
||
// Mealplan codes | ||
repeated cmp.types.v1alpha1.MealPlan meal_plan_codes = 6; | ||
repeated cmp.types.v1alpha.MealPlan meal_plan_codes = 6; | ||
|
||
// Rate plans | ||
repeated cmp.types.v1alpha1.RatePlan rate_plan = 7; | ||
repeated cmp.types.v1alpha.RatePlan rate_plan = 7; | ||
|
||
// Rate Rules | ||
// To be used when searching for specific rates like refundable or resellable offers | ||
repeated cmp.types.v1alpha1.RateRule rate_rules = 8; | ||
repeated cmp.types.v1alpha.RateRule rate_rules = 8; | ||
|
||
// Product code list | ||
// Here a list of property codes would be used | ||
repeated cmp.types.v1alpha1.ProductCode product_codes = 9; | ||
repeated cmp.types.v1alpha.ProductCode product_codes = 9; | ||
} |
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
Oops, something went wrong.