Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#20: implement Violation SecurityRule Y2 #40

Draft
wants to merge 24 commits into
base: violations/security
Choose a base branch
from
Draft
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
6b0cff2
Merge pull request #1 from zichriste/master
moritzLanger Jan 17, 2023
db3baea
Merge pull request #2 from devonfw-sample/master
moritzLanger Jan 19, 2023
c51ba5c
implemeted PackeageRuleTest
moritzLanger Feb 6, 2023
df9194c
Merge pull request #3 from devonfw-sample/master
moritzLanger Feb 6, 2023
96b2a49
implement PackageRuleTest
moritzLanger Feb 6, 2023
6aaafd0
Merge branch 'master' of https://github.com/moritzLanger/archunit
moritzLanger Feb 6, 2023
a43473c
Merge branch 'master' into master
hohwille Feb 7, 2023
aefe838
implemented suggestions/improvements
moritzLanger Feb 9, 2023
963a40d
Merge branch 'master' of https://github.com/moritzLanger/archunit
moritzLanger Feb 9, 2023
2f0591c
removed Println
moritzLanger Feb 9, 2023
1b0cb97
removed 1 Space
moritzLanger Feb 9, 2023
cbee2e6
removed unnessary Import
moritzLanger Feb 9, 2023
fb55de0
added Spaces to message + Capitalised Constant
moritzLanger Feb 13, 2023
84573ff
Fix Point mistake in ROOT_PACKAGE
moritzLanger Feb 13, 2023
b5711fb
fixed minor mistake in DEFAULT_PATTERN
moritzLanger Feb 13, 2023
d58f047
Merge pull request #5 from devonfw-sample/master
moritzLanger Feb 13, 2023
b897be4
Merge pull request #7 from devonfw-sample/master
moritzLanger Feb 14, 2023
80e2553
Merge pull request #8 from devonfw-sample/master
moritzLanger Mar 2, 2023
e7ebcde
Merge pull request #9 from devonfw-sample/master
moritzLanger Mar 20, 2023
23b26b4
#20 Violation SecurityRuleY2
moritzLanger Mar 20, 2023
4c3edcc
improved Violation
moritzLanger Mar 20, 2023
02362d0
updated violation message
moritzLanger Mar 30, 2023
b1de710
Delete SecurityTest.java
hohwille Apr 25, 2023
4564ea4
Merge branch 'violations/security' into ViolationIssue20
hohwille Apr 25, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
package com.devonfw.sample.archunit.task.dataaccess;

import javax.persistence.Entity;
import javax.persistence.Query;
import javax.persistence.Table;
import javax.persistence.TypedQuery;
import javax.persistence.EntityManager;


import com.devonfw.sample.archunit.general.dataaccess.ApplicationPersistenceEntity;
import com.devonfw.sample.archunit.task.common.TaskList;

import io.vertx.core.impl.btc.BlockedThreadChecker.Task;

/**
* {@link TaskList} implementation as {@link ApplicationPersistenceEntity}.
*/
@Entity
@Table(name = "TASK_LIST")
public abstract class ViolationSecruityRuleY2 implements EntityManager {

TypedQuery<Task> violationCreateQueryStringClass = createQuery("test", Task.class);

Query violationCreateQueryString = createQuery("test");

Query violationCreateNativeQueryString = createNativeQuery("null");

Query violationCreateNativeQueryStringString = createNativeQuery("null", "null");

Query violationCreateNativeQueryStringClass = createNativeQuery("null", Task.class);

}