Cask Data Application Platform - Develop Build and Test

Build: #2225 failed Child of CDAP-DRC-3883

Code commits

CDAP

  • albertshau <ashau@google.com>

    albertshau <ashau@google.com> 9c4cfa7830a161b27114f21f311d301ec4a0e22a

    Merge pull request #10243 from caskdata/feature/CDAP-13521-fix-provisioner-property-override
    CDAP-13521 fix profile property override

  • Albert Shau <ashau@desktobert.svl.corp.google.com>

    Albert Shau <ashau@desktobert.svl.corp.google.com> 4f8b451426c9dfaf73302ab432f3919261165233

    CDAP-13521 fix profile property override
    Fixed a bug where profile properties provided at runtime were not
    correctly overriding whatever currently exists in the profile.
    In addition, properties not set in the profile were being ignored
    completely.

    Added a method to ProfileService to do the property overrides and
    added a unit test for it.

    • cdap-app-fabric/src/main/java/co/cask/cdap/internal/app/services/ProgramLifecycleService.java (version 4f8b451426c9dfaf73302ab432f3919261165233)
    • cdap-app-fabric/src/main/java/co/cask/cdap/internal/profile/ProfileService.java (version 4f8b451426c9dfaf73302ab432f3919261165233)
    • cdap-app-fabric/src/test/java/co/cask/cdap/internal/app/services/http/handlers/ProfileHttpHandlerTest.java (version 4f8b451426c9dfaf73302ab432f3919261165233)
    • cdap-app-fabric/src/test/java/co/cask/cdap/internal/profile/ProfileServiceTest.java (version 4f8b451426c9dfaf73302ab432f3919261165233)
    • cdap-proto/src/main/java/co/cask/cdap/proto/profile/Profile.java (version 4f8b451426c9dfaf73302ab432f3919261165233)
    • cdap-proto/src/main/java/co/cask/cdap/proto/provisioner/ProvisionerInfo.java (version 4f8b451426c9dfaf73302ab432f3919261165233)
    • cdap-proto/src/main/java/co/cask/cdap/proto/provisioner/ProvisionerPropertyValue.java (version 4f8b451426c9dfaf73302ab432f3919261165233)
  • Ajai <1452845+ajainarayanan@users.noreply.github.com>

    Ajai <1452845+ajainarayanan@users.noreply.github.com> 043a4238eb558dc5b311ab25185bb55eb39f7880

    Merge pull request #10246 from caskdata/bugfix_develop-ui/CDAP-13613
    [CDAP-13613] Fixes bower registry to be the new one

  • Tony Bach <tonybach@google.com>

    Tony Bach <tonybach@google.com> 85ac6a6492919e2dd238f07de0b50fc566e20ae7

    Merge pull request #10225 from caskdata/feature-ui/CDAP-13562-enable-disable-profiles
    [CDAP-13562] Implements profile enabling/disabling in UI

  • Ajai Narayan

    Ajai Narayan e29856942d991918759134070dd15ae4612f90d3

    Fixes bower registry to be the new one as bower is deprecating its old registry

    • cdap-ui/.bowerrc (version e29856942d991918759134070dd15ae4612f90d3)
    • cdap-ui/pom.xml (version e29856942d991918759134070dd15ae4612f90d3)
  • tonybach <tonybach@google.com>

    tonybach <tonybach@google.com> 639cbd5b9d68b462ba909a5b07ff2b985ea5e602

    [CDAP-13562] Implements profile enabling/disabling in UI - Shows enabled/disabled status in profiles list view table - Adds status toggle widget in profile detail view using ToggleSwitch component, and modifies it to accept custom on/off labels - Adds enabled/disabled status column to profiles list view in pipelines, greys out disabled profile, and automatically switches to default when previously selected profile is disabled - Don't show enable/disable profile switch for the system 'default' profile - Shows profile status column in profile preview - Don't change selection to default in the profiles list view is disabled, and sets default profile selection to 'default' instead of showing 'Select a Profile' - Fixes the styles for angular switch directive to be within the component - Shows confirmation modal when disabling a profile, and checks profileIsEnabled inside onProfileSelectHandler - Extracts profile status toggle component

    • cdap-ui/app/cdap/api/cloud.js (version 639cbd5b9d68b462ba909a5b07ff2b985ea5e602)
    • cdap-ui/app/cdap/components/Cloud/Profiles/ActionsPopover/index.js (version 639cbd5b9d68b462ba909a5b07ff2b985ea5e602)
    • cdap-ui/app/cdap/components/Cloud/Profiles/DetailView/Content/BasicInfo/BasicInfo.scss (version 639cbd5b9d68b462ba909a5b07ff2b985ea5e602)
    • cdap-ui/app/cdap/components/Cloud/Profiles/DetailView/Content/BasicInfo/ProfileStatusToggle.js (version 639cbd5b9d68b462ba909a5b07ff2b985ea5e602)
    • cdap-ui/app/cdap/components/Cloud/Profiles/DetailView/Content/BasicInfo/index.js (version 639cbd5b9d68b462ba909a5b07ff2b985ea5e602)
    • cdap-ui/app/cdap/components/Cloud/Profiles/DetailView/index.js (version 639cbd5b9d68b462ba909a5b07ff2b985ea5e602)
    • cdap-ui/app/cdap/components/Cloud/Profiles/ListView/ListView.scss (version 639cbd5b9d68b462ba909a5b07ff2b985ea5e602)
    • cdap-ui/app/cdap/components/Cloud/Profiles/ListView/index.js (version 639cbd5b9d68b462ba909a5b07ff2b985ea5e602)
    • cdap-ui/app/cdap/components/Cloud/Profiles/Preview/Preview.scss (version 639cbd5b9d68b462ba909a5b07ff2b985ea5e602)
    • cdap-ui/app/cdap/components/Cloud/Profiles/Preview/index.js (version 639cbd5b9d68b462ba909a5b07ff2b985ea5e602)
    • cdap-ui/app/cdap/components/Cloud/Profiles/Store/index.js (version 639cbd5b9d68b462ba909a5b07ff2b985ea5e602)
    • cdap-ui/app/cdap/components/PipelineDetails/ProfilesListView/ProfilesListViewInPipeline.scss (version 639cbd5b9d68b462ba909a5b07ff2b985ea5e602)
    • cdap-ui/app/cdap/components/PipelineDetails/ProfilesListView/index.js (version 639cbd5b9d68b462ba909a5b07ff2b985ea5e602)
    • cdap-ui/app/cdap/components/PipelineDetails/RunLevelInfo/RunComputeProfile/index.js (version 639cbd5b9d68b462ba909a5b07ff2b985ea5e602)
    • cdap-ui/app/cdap/components/PipelineScheduler/ProfilesForSchedule/index.js (version 639cbd5b9d68b462ba909a5b07ff2b985ea5e602)
    • cdap-ui/app/cdap/components/PipelineScheduler/Store/index.js (version 639cbd5b9d68b462ba909a5b07ff2b985ea5e602)
    • cdap-ui/app/cdap/components/PipelineTriggers/ScheduleRuntimeArgs/Tabs/ComputeConfigTab/index.js (version 639cbd5b9d68b462ba909a5b07ff2b985ea5e602)
    • cdap-ui/app/cdap/components/PipelineTriggers/ScheduleRuntimeArgs/index.js (version 639cbd5b9d68b462ba909a5b07ff2b985ea5e602)
    • cdap-ui/app/cdap/components/ToggleSwitch/ToggleSwitch.scss (version 639cbd5b9d68b462ba909a5b07ff2b985ea5e602)
    • cdap-ui/app/cdap/components/ToggleSwitch/index.js (version 639cbd5b9d68b462ba909a5b07ff2b985ea5e602)
    • cdap-ui/app/cdap/text/text-en.yaml (version 639cbd5b9d68b462ba909a5b07ff2b985ea5e602)
    • cdap-ui/app/directives/widget-container/widget-toggle-switch/widget-toggle-switch.html (version 639cbd5b9d68b462ba909a5b07ff2b985ea5e602)
    • cdap-ui/app/directives/widget-container/widget-toggle-switch/widget-toggle-switch.less (version 639cbd5b9d68b462ba909a5b07ff2b985ea5e602)
  • albertshau <ashau@google.com>

    albertshau <ashau@google.com> ff041cc049cf64e04b942e4881b27f2768c9489b

    Merge pull request #10233 from caskdata/feature/CDAP-13358-native-profile
    CDAP-13358 rename 'default' profile to 'native'

  • Ajai Narayan

    Ajai Narayan 49f6b4f457f2c99b4b5c9c7529afc7eb9b496719 m

    Adds corresponding UI change to choose native profile when no profile is chosen in UI

    • cdap-ui/app/cdap/components/PipelineDetails/ProfilesListView/index.js (version 49f6b4f457f2c99b4b5c9c7529afc7eb9b496719)
  • Albert Shau <ashau@desktobert.svl.corp.google.com>

    Albert Shau <ashau@desktobert.svl.corp.google.com> ec78c9efba9302d6b0f0bb55bca4e450dc13fa2c m

    CDAP-13358 rename 'default' profile to 'native'
    This rename is to avoid confusion, since the word default has
    meaning about how a profile is used, but not what the profile is.
    For example, the default profile for a namespace is actually
    whatever profile is set for that namespace, which might be a user
    created profile. Changing it to 'native' so that it describes
    what the profile does.

    • cdap-app-fabric/src/main/java/co/cask/cdap/internal/app/namespace/DefaultEntityEnsurer.java (version ec78c9efba9302d6b0f0bb55bca4e450dc13fa2c)
    • cdap-app-fabric/src/main/java/co/cask/cdap/internal/app/services/ProgramLifecycleService.java (version ec78c9efba9302d6b0f0bb55bca4e450dc13fa2c)
    • cdap-app-fabric/src/test/java/co/cask/cdap/config/UserPreferencesStoreTest.java (version ec78c9efba9302d6b0f0bb55bca4e450dc13fa2c)
    • cdap-app-fabric/src/test/java/co/cask/cdap/internal/app/runtime/SystemArgumentsTest.java (version ec78c9efba9302d6b0f0bb55bca4e450dc13fa2c)
    • cdap-app-fabric/src/test/java/co/cask/cdap/internal/app/services/http/handlers/AppLifecycleHttpHandlerTest.java (version ec78c9efba9302d6b0f0bb55bca4e450dc13fa2c)
    • cdap-app-fabric/src/test/java/co/cask/cdap/internal/app/services/http/handlers/PreferencesHttpHandlerTest.java (version ec78c9efba9302d6b0f0bb55bca4e450dc13fa2c)
    • cdap-app-fabric/src/test/java/co/cask/cdap/internal/app/services/http/handlers/ProfileHttpHandlerTest.java (version ec78c9efba9302d6b0f0bb55bca4e450dc13fa2c)
    • cdap-app-fabric/src/test/java/co/cask/cdap/internal/app/services/http/handlers/ProgramLifecycleHttpHandlerTest.java (version ec78c9efba9302d6b0f0bb55bca4e450dc13fa2c)
    • cdap-app-fabric/src/test/java/co/cask/cdap/internal/profile/ProfileServiceTest.java (version ec78c9efba9302d6b0f0bb55bca4e450dc13fa2c)
    • cdap-app-fabric/src/test/java/co/cask/cdap/internal/provision/ProvisioningServiceTest.java (version ec78c9efba9302d6b0f0bb55bca4e450dc13fa2c)
    • cdap-app-fabric/src/test/java/co/cask/cdap/scheduler/CoreSchedulerServiceTest.java (version ec78c9efba9302d6b0f0bb55bca4e450dc13fa2c)
    • cdap-proto/src/main/java/co/cask/cdap/proto/id/ProfileId.java (version ec78c9efba9302d6b0f0bb55bca4e450dc13fa2c)
    • cdap-proto/src/main/java/co/cask/cdap/proto/profile/Profile.java (version ec78c9efba9302d6b0f0bb55bca4e450dc13fa2c)
    • cdap-unit-test/src/main/java/co/cask/cdap/test/TestBase.java (version ec78c9efba9302d6b0f0bb55bca4e450dc13fa2c)