CloudSlang/cs-actions

View on GitHub

Showing 3,994 of 4,023 total issues

Method setSecurityInputs has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public static void setSecurityInputs(@NotNull final HttpClientInputs httpClientInputs,
                                         @NotNull final String trustAllRoots,
                                         @NotNull final String x509HostnameVerifier,
                                         @NotNull final String trustKeystore,
                                         @NotNull final String trustPassword) {
Severity: Minor
Found in cs-azure/src/main/java/io/cloudslang/content/azure/utils/HttpUtils.java - About 35 mins to fix

    Method getCreateOutputStreamingJobUrl has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        private static String getCreateOutputStreamingJobUrl(String subscriptionId, String resourceGroupName, String jobName, String outputName, String apiVersion) throws Exception {

      Method createStreamingInputJobPath has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          private static String createStreamingInputJobPath(String subscriptionId, String resourceGroupName, String jobName, String inputName, String apiVersion) {

        Method setCredentials has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            public void setCredentials(String host, int port, String username, String password, String privateKeyFile)

          Method counter has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              public static Map<String, String> counter(String to, String from, String by, boolean reset, GlobalSessionObject<Map<String, Object>> globalSessionObject) {

            Method setProxy has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                public static void setProxy(@NotNull final HttpClientInputs httpClientInputs,
                                            @NotNull final String proxyHost,
                                            @NotNull final String proxyPort,
                                            @NotNull final String proxyUsername,
                                            @NotNull final String proxyPassword) {
            Severity: Minor
            Found in cs-azure/src/main/java/io/cloudslang/content/azure/utils/HttpUtils.java - About 35 mins to fix

              Method verifyStorageInputs has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                  public static List<String> verifyStorageInputs(@Nullable final String accountName, @Nullable final String key, @Nullable final String containerName, @Nullable final String proxyPort, @Nullable final String timeout) {

                Method createStreamingOutputJobPath has 5 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                    private static String createStreamingOutputJobPath(String subscriptionId, String resourceGroupName, String jobName, String outputName, String apiVersion) {

                  Method setCredentials has 5 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                      public void setCredentials(String host, int port, String username, String password, String privateKeyFile) throws UnsupportedOperationException {

                    Method getCreateInputStreamingJobUrl has 5 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                        private static String getCreateInputStreamingJobUrl(String subscriptionId, String resourceGroupName, String jobName, String inputName, String apiVersion) throws Exception {

                      Method setProxy has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                          public static void setProxy(@NotNull final HttpClientInputs httpClientInputs,
                                                      @NotNull final String proxyHost,
                                                      @NotNull final String proxyPort,
                                                      @NotNull final String proxyUsername,
                                                      @NotNull final String proxyPassword) {

                        Method counter has 5 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                            public static Map<String, String> counter(String to, String from, String by, boolean reset, GlobalSessionObject<Map<String, Object>> globalSessionObject) {

                          Method init has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                              public void init(String to, String from, String by, boolean reset, GlobalSessionObject<Map<String, Object>> session) throws CounterImplException {

                            Method setProxy has 5 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                                public static void setProxy(@NotNull final HttpClientInputs httpClientInputs,
                                                            @NotNull final String proxyHost,
                                                            @NotNull final String proxyPort,
                                                            @NotNull final String proxyUsername,
                                                            @NotNull final String proxyPassword) {

                              Method execute has 5 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                  public Map<String, String> execute(@Param(value = FROM, required = true, description = FROM_DESC) String from,
                                                                     @Param(value = TO, required = true, description = TO_DESC) String to,
                                                                     @Param(value = INCREMENT_BY, description = INCREMENT_BY_DESC) String incrementBy,
                                                                     @Param(value = RESET, description = RESET_DESC) String reset,
                                                                     @Param("globalSessionObject") GlobalSessionObject<Map<String, Object>> globalSessionObject) {

                                Method setProxy has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                    public static void setProxy(@org.jetbrains.annotations.NotNull final HttpClientInputs httpClientInputs,
                                                                @org.jetbrains.annotations.NotNull final String proxyHost,
                                                                @org.jetbrains.annotations.NotNull final String proxyPort,
                                                                @org.jetbrains.annotations.NotNull final String proxyUsername,
                                                                @org.jetbrains.annotations.NotNull final String proxyPassword) {

                                  Method setIdmAuthentication has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                      public static void setIdmAuthentication(@NotNull final HttpClientInputs httpClientInputs,
                                                                              @NotNull final String authType,
                                                                              @NotNull final String idmUsername,
                                                                              @NotNull final String idmPassword,
                                                                              @NotNull final String preemptiveAuth) {

                                    Method setSecurityInputs has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                        public static void setSecurityInputs(@NotNull final HttpClientInputs httpClientInputs,
                                                                             @NotNull final String trustAllRoots,
                                                                             @NotNull final String x509HostnameVerifier,
                                                                             @NotNull final String trustKeystore,
                                                                             @NotNull final String trustPassword) {

                                      Method verifyCommonInputs has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                          public static List<String> verifyCommonInputs(@Nullable final String proxyPort,
                                                                                        @Nullable final String trustAllRoots,
                                                                                        @Nullable final String x509HostnameVerifier,
                                                                                        @Nullable final String connectTimeout,
                                                                                        @Nullable final String socketTimeout) {

                                        Method editJson has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                            private Object editJson(String jsonPath, String action, String name, Object value, JsonContext jsonContext) {
                                        Severity: Minor
                                        Found in cs-json/src/main/java/io/cloudslang/content/json/actions/EditJson.java - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language