Esempio n. 1
0
        public static void getAllPackage()
        {
            Organization m_organization = ConfigService.chooseCodeOrganization();

            MetadataApiService.getAllPackage(m_organization);
            ConsoleHelper.WriteDoneLine(">> Finalize the process...");
        }
Esempio n. 2
0
        public static void deployPackage(string organizationId, string organizationdeploytype, string directoryTarget)
        {
            Organization             m_organization = ConfigService.chooseCodeOrganization(organizationId);
            MetadataApiDeployRequest request        = generateDeployRequest(m_organization, organizationdeploytype, directoryTarget);

            MetadataApiService.deployMetadata(m_organization, request);
            ConsoleHelper.WriteDoneLine(">> Finalize the process...");
        }
Esempio n. 3
0
        public static void deployPackage()
        {
            Organization             m_organization = ConfigService.chooseCodeOrganization();
            MetadataApiDeployRequest request        = generateDeployRequest(m_organization);

            MetadataApiService.deployMetadata(m_organization, request);
            ConsoleHelper.WriteDoneLine(">> Finalize the process...");
        }
Esempio n. 4
0
        public static void retrieveAllPackage()
        {
            Organization m_organization = ConfigService.chooseCodeOrganization();

            ConsoleHelper.WriteQuestionLine(Constants.LANG_PLEASEENTERPATHPACKAGE);
            string pathPackage = Console.ReadLine();

            MetadataApiService.retrieveMetadata(m_organization, pathPackage);
            ConsoleHelper.WriteDoneLine(">> Finalize the process...");
        }
        public static void getAllPackageWithNameCreated()
        {
            Organization  m_organization = ConfigService.chooseCodeOrganization();
            List <string> nameuserList;
            List <string> dates;

            nameuserList = getNamesForUsers();
            dates        = getRangeDate();

            if (isHaveUsers(nameuserList) && isHaveDates(dates))
            {
                MetadataApiService.getAllPackageCreatedByName(m_organization, nameuserList, dates);
                ConsoleHelper.WriteDoneLine(">> Finalize the process...");
            }
        }