client/pkg/kn/commands/service
Navid Shaikh 746dacc47c feature(service): Implements traffic splitting and tagging targets (#345)
- Add e2e tests
 - Use '=' for traffic and tag assignment instead of ':'
 - Use --tag and --untag flags for tagging traffic targets
 - Use --traffic flag for setting traffic portions
 - Allow --traffic portion to either take revisionName or tagName
 - Uses @latest identifier for referencing latest revision of service
 - Dont throw error if requested revision=tag pair is same
 - Support having multiple tags for a revision
	 - creates a new target in traffic block if revision present in traffic block with new tag requested
	 - creates N new targets in traffic block if revision absent in traffic block with Nxnew tags requested
 - Ensure updating tag of @latest requires --untag flag
	 - streamline updating tag for latestReadyRevision
	 - adds respective tests
	 - adds tests for ensuring given traffic sum to 100 on CLI and fail fast
 - Add note about preference of order in case where tagOfOneRevision == revisionOfAnother,
   first tags are checked and assigned traffic if any, as tags are supposed to be
   unique in traffic block and should be referenced in such scenario.
 - Remove the examples from flag description, moves it to service update command example section
 - Pass only traffic block to compute trffic, makes it better to consume.
 - Cover more error cases for invalid value format for assignments, covers a=b=c, a=, =b, or variants of them
 - Separate and improves the error messages
 - Add unit tests for traffic computing
 - Add sanity checks in dedicated function verifyInputSanity
 	  - traffic perents should sum to 100
          - individual percent should be in 0-100
          - repetition of @latest or tagName or revisionRef is disallowed
 - Verify traffic percents sum to 100 on client side and fail fast
 - Add e2e tests for traffic splitting
	 - create and update service, assign tags and set traffic to make an existing state
	 - run the scenario on existing state of service
	 - form the desired state traffic block
	 - extract the traffic block and form the traffic block struct actual state
	 - assert.DeepEqual actual and desired traffic blocks
 - Use logic to generate service name in the same way as namespace, use different service name per test case
 - Run e2e test for traffic splitting in parallel
 - Use timeout duration of 30m for e2e tests, use timeout parameter for go_test_e2e library function
 - Use tagName in flag description of --untag, avoiding conflict with --tag flag
 - Update CHANGELOG
2019-08-15 10:56:08 -07:00
..
configuration_edit_flags.go Specify names on service update and generate names client-side. (#282) 2019-08-14 15:31:07 -07:00
human_readable_flags.go fix(service): Show URL (external) instead of Address (internal) when listing service (#247) 2019-07-10 09:23:09 -07:00
service.go feature(service): Wait on update for service to become ready. (#271) 2019-07-22 10:52:35 -07:00
service_create.go Add 'creator' annotation on create --force (#341) 2019-08-06 13:25:55 -07:00
service_create_mock_test.go Service and Revision labels (#342) 2019-08-13 17:07:06 -07:00
service_create_test.go Service and Revision labels (#342) 2019-08-13 17:07:06 -07:00
service_delete.go refactor(serving): KnClient interface for single point of cluster access (#134) 2019-07-08 10:08:34 -07:00
service_describe.go feature(service describe): Output of service details (#252) 2019-08-08 08:23:56 -07:00
service_describe_test.go feature(service describe): Output of service details (#252) 2019-08-08 08:23:56 -07:00
service_list.go list services sorted by alphabetical order (#330) 2019-08-09 01:00:04 -07:00
service_list_flags.go Renames service 'get' to 'list' (#179) 2019-06-13 13:56:43 -07:00
service_list_test.go list services sorted by alphabetical order (#330) 2019-08-09 01:00:04 -07:00
service_test.go feature(service describe): Output of service details (#252) 2019-08-08 08:23:56 -07:00
service_update.go feature(service): Implements traffic splitting and tagging targets (#345) 2019-08-15 10:56:08 -07:00
service_update_test.go Specify names on service update and generate names client-side. (#282) 2019-08-14 15:31:07 -07:00