Beispiel #1
0
    def do_2(self, line):
        print "CreateRequestComponentRevisionForImage using parameters:"
        print "  versioned_iu_name:", self.versioned_iu_name
        print "  versioned_iu_level:", self.versioned_iu_level
        print "  iu_name:", self.iu_name
        print "  iu_level:", self.iu_level
        print "  label_name:", self.label_name
        print "  label_type:", self.label_type
        print "  component_name:", self.component_name
        print "  label_level:", self.label_level
        print "  state:", self.state
        print "  label_poc:", self.label_poc
        print "  created_by:", self.created_by
        print "  predecessor:", self.predecessor
        print "  client_root:", self.client_root
        print "  is_active:", self.is_active
        print "  iu_client_id:", self.iu_client_id
        print "  image_client_id:", self.image_client_id
        print "  dependency_list:", self.dependency_list

        print "\n Press S to Submit or C to Cancel request",
        temp = raw_input()
        if temp == "s":
            self.aris = ArisExtAPI()
            self.aris.create_request_component_revision_for_image(
                self.versioned_iu_name, self.versioned_iu_level, self.iu_name,
                self.iu_level, self.label_name, self.label_type,
                self.component_name, self.label_level, self.state,
                self.label_poc, self.created_by, self.predecessor,
                self.client_root, self.is_active, self.iu_client_id,
                self.image_client_id, self.dependency_list)

        self.menu()
Beispiel #2
0
    def do_8(self, line):
        print "GetLabelDetails using parameters:"
        print "  label_name:", self.label_name

        print "\n Press S to Submit or C to Cancel request",
        temp = raw_input()
        if temp == "s":
            self.aris = ArisExtAPI()
            self.aris.get_label_details(self.label_name)

        self.menu()
Beispiel #3
0
    def do_15(self, line):
        print "SaveTestResultsV2 using parameters:"
        print "Not complete yet"

        print "\n Press S to Submit or C to Cancel request",
        temp = raw_input()
        if temp == "s":
            self.aris = ArisExtAPI()
            self.aris.save_test_results_v2(self.user_name, self.iu_name,
                                           self.iu_client_id)

        self.menu()
Beispiel #4
0
    def do_6(self, line):
        print "GetDeviceAssessmentsForCrmBuild using parameters:"
        print "  user_name:", self.user_name
        print "  crm_build_id:", self.crm_build_id

        print "\n Press S to Submit or C to Cancel request",
        temp = raw_input()
        if temp == "s":
            self.aris = ArisExtAPI()
            self.aris.get_device_assessments_for_crm_build(
                self.user_name, self.crm_build_id)

        self.menu()
Beispiel #5
0
    def do_14(self, line):
        print "SaveTestResults using parameters:"
        print "  user_name:", self.user_name
        print "  testResultsJson:", self.testResultsJson
        print "  assessment_id:", self.assessment_id

        print "\n Press S to Submit or C to Cancel request",
        temp = raw_input()
        if temp == "s":
            self.aris = ArisExtAPI()
            self.aris.save_test_results(self.user_name, self.iu_name,
                                        self.assessment_id)

        self.menu()
Beispiel #6
0
    def do_13(self, line):
        print "RunAssessment using parameters:"
        print "  user_name:", self.user_name
        print "  iu_name:", self.iu_name
        print "  iu_level:", self.iu_level
        print "  iu_client_id:", self.iu_client_id

        print "\n Press S to Submit or C to Cancel request",
        temp = raw_input()
        if temp == "s":
            self.aris = ArisExtAPI()
            self.aris.run_assessment(self.user_name, self.iu_name,
                                     self.iu_level, self.iu_client_id)

        self.menu()
Beispiel #7
0
    def do_11(self, line):
        print "RejectResubmittedLabel using parameters:"
        print "  user_name:", self.user_name

        print "\n Press S to Submit or C to Cancel request",
        temp = raw_input()
        if temp == "s":
            self.aris = ArisExtAPI()
            self.aris.reject_resubmitted_label(self.user_name, self.label_name,
                                               self.versioned_iu_name,
                                               self.versioned_iu_level,
                                               self.iu_name, self.iu_level,
                                               self.is_active,
                                               self.iu_client_id)

        self.menu()
Beispiel #8
0
    def do_7(self, line):
        print "GetIntegrationLineActiveComposition using parameters:"
        print "  user_name:", self.user_name
        print "  integration_line_name:", self.integration_line_name
        print "  integration_line_level:", self.integration_line_level
        print "  integration_line_client_id:", self.integration_line_client_id

        print "\n Press S to Submit or C to Cancel request",
        temp = raw_input()
        if temp == "s":
            self.aris = ArisExtAPI()
            self.aris.get_integration_line_active_composition(
                self.user_name, self.integration_line_name,
                self.integration_line_level, self.integration_line_client_id)

        self.menu()
Beispiel #9
0
    def do_10(self, line):
        print "GetLastLabels using parameters:"
        print "  user_name:", self.user_name
        print "  state:", self.state
        print "  iu_name:", self.iu_name
        print "  iu_level:", self.iu_level
        print "  iu_client_id:", self.iu_client_id

        print "\n Press S to Submit or C to Cancel request",
        temp = raw_input()
        if temp == "s":
            self.aris = ArisExtAPI()
            self.aris.get_latest_labels(self.user_name, self.iu_name,
                                        self.iu_level, self.iu_client_id,
                                        self.state)

        self.menu()
Beispiel #10
0
    def do_4(self, line):
        print "CreateRequest using parameters:"
        print "  versioned_iu_name:", self.versioned_iu_name
        print "  versioned_iu_level:", self.versioned_iu_level
        print "  iu_name:", self.iu_name
        print "  iu_level:", self.iu_level
        print "  label_name:", self.label_name
        print "  label_type:", self.label_type
        print "  component_name:", self.component_name
        print "  label_level:", self.label_level
        print "  state:", self.state
        print "  label_poc:", self.label_poc
        print "  created_by:", self.created_by
        print "  predecessor:", self.predecessor
        print "  client_spec:", self.client_spec
        print "  client_spec_type:", self.client_spec_type
        print "  client_spec_p4_server:", self.client_spec_p4_server
        print "  client_spec_file_location:", self.client_spec_file_location
        print "  client_spec_file_version:", self.client_spec_file_version
        print "  client_root:", self.client_root
        print "  is_active:", self.is_active
        print "  is_passed:", self.is_passed
        print "  is_static_label:", self.is_static_label
        print "  iu_client_id:", self.iu_client_id
        print "  image_client_id:", self.image_client_id
        print "  dependency_list:", self.dependency_list

        print "\n Press S to Submit or C to Cancel request",
        temp = raw_input()
        if temp == "s":
            self.aris = ArisExtAPI()
            self.aris.create_request(
                self.versioned_iu_name, self.versioned_iu_level, self.iu_name,
                self.iu_level, self.label_name, self.label_type,
                self.component_name, self.label_level, self.state,
                self.label_poc, self.created_by, self.predecessor,
                self.client_spec, self.client_spec_type,
                self.client_spec_p4_server, self.client_spec_file_location,
                self.client_spec_file_version, self.client_root,
                self.is_active, self.is_passed, self.is_static_label,
                self.iu_client_id, self.image_client_id, self.dependency_list)

        self.menu()
Beispiel #11
0
    def do_1(self, line):
        print "CreateRequestImageBuildForProducts using parameters:"
        print "  user_name:", self.user_name
        print "  iu_name:", self.iu_name
        print "  label_name:", self.label_name
        print "  component_name:", self.component_name
        print "  predecessor:", self.predecessor
        print "  iu_client_id:", self.iu_client_id
        print "  image_client_id:", self.image_client_id

        print "\n Press S to Submit or C to Cancel request",
        temp = raw_input()
        if temp == "s":
            self.aris = ArisExtAPI()
            self.aris.create_request_image_build_for_product(
                self.user_name, self.iu_name, self.label_name,
                self.component_name, self.predecessor, self.iu_client_id,
                self.image_client_id)

        self.menu()
Beispiel #12
0
    def do_16(self, line):
        print "UpdateRequestState using parameters:"
        print "  user_name:", self.user_name
        print "  label_name:", self.label_name
        print "  integration_line_level:", self.integration_line_level
        print "  integration_line_name:", self.integration_line_name
        print "  state:", self.state
        print "  integration_line_client_id:", self.integration_line_client_id

        print "\n Press S to Submit or C to Cancel request",
        temp = raw_input()
        if temp == "s":
            self.aris = ArisExtAPI()
            self.aris.update_request_state(self.user_name, self.label_name,
                                           self.integration_line_name,
                                           self.integration_line_level,
                                           self.state,
                                           self.integration_line_client_id)

        self.menu()
Beispiel #13
0
    def do_9(self, line):
        print "GetLastAssessmentDetail using parameters:"
        print "  user_name:", self.user_name
        print "  versioned_iu_name:", self.versioned_iu_name
        print "  versioned_iu_level:", self.versioned_iu_level
        print "  iu_name:", self.iu_name
        print "  iu_level:", self.iu_level
        print "  is_active:", self.is_active
        print "  is_passed:", self.is_passed
        print "  assessment_type:", self.assessment_type
        print "  iu_client_id:", self.iu_client_id

        print "\n Press S to Submit or C to Cancel request",
        temp = raw_input()
        if temp == "s":
            self.aris = ArisExtAPI()
            self.aris.get_last_assessment_detail(
                self.user_name, self.versioned_iu_name,
                self.versioned_iu_level, self.iu_name, self.iu_level,
                self.is_active, self.is_passed, self.assessment_type,
                self.iu_client_id)

        self.menu()